00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
#ifndef CalPrimaryBeamRow_CLASS
00035
#define CalPrimaryBeamRow_CLASS
00036
00037
#include <vector>
00038
#include <string>
00039
#include <set>
00040
using std::vector;
00041
using std::string;
00042
using std::set;
00043
00044
#ifndef WITHOUT_ACS
00045
#include <asdmIDLC.h>
00046
using asdmIDL::CalPrimaryBeamRowIDL;
00047
#endif
00048
00049
#include <Angle.h>
00050
#include <AngularRate.h>
00051
#include <ArrayTime.h>
00052
#include <ArrayTimeInterval.h>
00053
#include <Complex.h>
00054
#include <Entity.h>
00055
#include <EntityId.h>
00056
#include <EntityRef.h>
00057
#include <Flux.h>
00058
#include <Frequency.h>
00059
#include <Humidity.h>
00060
#include <Interval.h>
00061
#include <Length.h>
00062
#include <Pressure.h>
00063
#include <Speed.h>
00064
#include <Tag.h>
00065
#include <Temperature.h>
00066
#include <ConversionException.h>
00067
#include <NoSuchRow.h>
00068
#include <IllegalAccessException.h>
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
#include "CAntennaMake.h"
00082
using namespace AntennaMakeMod;
00083
00084
00085
00086
00087
00088
#include "CPolarizationType.h"
00089
using namespace PolarizationTypeMod;
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
#include "CReceiverBand.h"
00100
using namespace ReceiverBandMod;
00101
00102
00103
00104
00105
00106
00107
00108
00109
using asdm::Angle;
00110
using asdm::AngularRate;
00111
using asdm::ArrayTime;
00112
using asdm::Complex;
00113
using asdm::Entity;
00114
using asdm::EntityId;
00115
using asdm::EntityRef;
00116
using asdm::Flux;
00117
using asdm::Frequency;
00118
using asdm::Humidity;
00119
using asdm::Interval;
00120
using asdm::Length;
00121
using asdm::Pressure;
00122
using asdm::Speed;
00123
using asdm::Tag;
00124
using asdm::Temperature;
00125
using asdm::ConversionException;
00126
using asdm::NoSuchRow;
00127
using asdm::IllegalAccessException;
00128
00129
00130
00131
00132
00133
namespace asdm {
00134
00135
00136
00137
00138
00139
class CalReductionRow;
00140
00141
00142
class CalDataRow;
00143
00144
00151 class CalPrimaryBeamRow {
00152
friend class asdm::CalPrimaryBeamTable;
00153
00154
public:
00155
00156
virtual ~
CalPrimaryBeamRow();
00157
00161
CalPrimaryBeamTable &
getTable()
const;
00162
00163
#ifndef WITHOUT_ACS
00164
00168 CalPrimaryBeamRowIDL *
toIDL()
const;
00169
#endif
00170
00171
#ifndef WITHOUT_ACS
00172
00176
void setFromIDL (CalPrimaryBeamRowIDL x)
throw(
ConversionException);
00177
#endif
00178
00183 string
toXML()
const;
00184
00190
void setFromXML (string rowDoc)
throw(
ConversionException);
00191
00193
00195
00196
00197
00198
00199
00200
00201
00202
00207 string
getAntennaName()
const;
00208
00209
00210
00211
00221
void setAntennaName (string antennaName);
00222
00223
00224
00225
00226
00227
00228
00229
00230
00231
00232
00233
00234
00239 AntennaMakeMod::AntennaMake
getAntennaMake()
const;
00240
00241
00242
00243
00251
void setAntennaMake (AntennaMakeMod::AntennaMake antennaMake);
00252
00253
00254
00255
00256
00257
00258
00259
00260
00261
00262
00263
00264
00269
int getNumReceptor()
const;
00270
00271
00272
00273
00281
void setNumReceptor (
int numReceptor);
00282
00283
00284
00285
00286
00287
00288
00289
00290
00291
00292
00293
00294
00299 vector<PolarizationTypeMod::PolarizationType >
getPolarizationTypes()
const;
00300
00301
00302
00303
00311
void setPolarizationTypes (vector<PolarizationTypeMod::PolarizationType > polarizationTypes);
00312
00313
00314
00315
00316
00317
00318
00319
00320
00321
00322
00323
00324
00329
ArrayTime getStartValidTime()
const;
00330
00331
00332
00333
00341
void setStartValidTime (
ArrayTime startValidTime);
00342
00343
00344
00345
00346
00347
00348
00349
00350
00351
00352
00353
00354
00359
ArrayTime getEndValidTime()
const;
00360
00361
00362
00363
00371
void setEndValidTime (
ArrayTime endValidTime);
00372
00373
00374
00375
00376
00377
00378
00379
00380
00381
00382
00383
00384
00389 vector<Frequency >
getFrequencyRange()
const;
00390
00391
00392
00393
00401
void setFrequencyRange (vector<Frequency > frequencyRange);
00402
00403
00404
00405
00406
00407
00408
00409
00410
00411
00412
00413
00414
00419 ReceiverBandMod::ReceiverBand
getReceiverBand()
const;
00420
00421
00422
00423
00431
void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand);
00432
00433
00434
00435
00436
00437
00438
00439
00440
00441
00442
00443
00444
00449
EntityRef getBeamMapUID()
const;
00450
00451
00452
00453
00461
void setBeamMapUID (
EntityRef beamMapUID);
00462
00463
00464
00465
00466
00467
00468
00469
00470
00471
00472
00473
00474
00479
float getRelativeAmplitudeRms()
const;
00480
00481
00482
00483
00491
void setRelativeAmplitudeRms (
float relativeAmplitudeRms);
00492
00493
00494
00495
00496
00497
00499
00501
00502
00503
00504
00505
00506
00507
00508
00513
Tag getCalDataId()
const;
00514
00515
00516
00517
00527
void setCalDataId (
Tag calDataId);
00528
00529
00530
00531
00532
00533
00534
00535
00536
00537
00538
00539
00540
00545
Tag getCalReductionId()
const;
00546
00547
00548
00549
00559
void setCalReductionId (
Tag calReductionId);
00560
00561
00562
00563
00564
00565
00567
00569
00570
00571
00572
00573
00580
CalReductionRow*
getCalReductionUsingCalReductionId();
00581
00582
00583
00584
00585
00586
00587
00588
00595
CalDataRow*
getCalDataUsingCalDataId();
00596
00597
00598
00599
00600
00601
00602
00607
bool compareNoAutoInc(
Tag calDataId,
Tag calReductionId, string antennaName, AntennaMakeMod::AntennaMake antennaMake,
int numReceptor, vector<PolarizationTypeMod::PolarizationType > polarizationTypes,
ArrayTime startValidTime,
ArrayTime endValidTime, vector<Frequency > frequencyRange, ReceiverBandMod::ReceiverBand receiverBand,
EntityRef beamMapUID,
float relativeAmplitudeRms);
00608
00609
00610
00611
00612
bool compareRequiredValue(AntennaMakeMod::AntennaMake antennaMake,
int numReceptor, vector<PolarizationTypeMod::PolarizationType > polarizationTypes,
ArrayTime startValidTime,
ArrayTime endValidTime, vector<Frequency > frequencyRange, ReceiverBandMod::ReceiverBand receiverBand,
EntityRef beamMapUID,
float relativeAmplitudeRms);
00613
00614
00623
bool equalByRequiredValue(
CalPrimaryBeamRow* x) ;
00624
00625
private:
00629
CalPrimaryBeamTable &table;
00633
bool hasBeenAdded;
00634
00635
00636
void isAdded();
00637
00638
00647
CalPrimaryBeamRow (
CalPrimaryBeamTable &table);
00648
00666
CalPrimaryBeamRow (
CalPrimaryBeamTable &table,
CalPrimaryBeamRow &row);
00667
00669
00671
00672
00673
00674
00675
00676
00677 string antennaName;
00678
00679
00680
00681
00682
00683
00684
00685
00686
00687
00688 AntennaMakeMod::AntennaMake antennaMake;
00689
00690
00691
00692
00693
00694
00695
00696
00697
00698
00699
int numReceptor;
00700
00701
00702
00703
00704
00705
00706
00707
00708
00709
00710 vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
00711
00712
00713
00714
00715
00716
00717
00718
00719
00720
00721
ArrayTime startValidTime;
00722
00723
00724
00725
00726
00727
00728
00729
00730
00731
00732
ArrayTime endValidTime;
00733
00734
00735
00736
00737
00738
00739
00740
00741
00742
00743 vector<Frequency > frequencyRange;
00744
00745
00746
00747
00748
00749
00750
00751
00752
00753
00754 ReceiverBandMod::ReceiverBand receiverBand;
00755
00756
00757
00758
00759
00760
00761
00762
00763
00764
00765
EntityRef beamMapUID;
00766
00767
00768
00769
00770
00771
00772
00773
00774
00775
00776
float relativeAmplitudeRms;
00777
00778
00779
00780
00781
00783
00785
00786
00787
00788
00789
00790
00791
Tag calDataId;
00792
00793
00794
00795
00796
00797
00798
00799
00800
00801
00802
Tag calReductionId;
00803
00804
00805
00806
00807
00809
00811
00812
00813
00814
00815
00816
00817
00818
00819
00820
00821
00822
00823
00824
00825
00826
00827 };
00828
00829 }
00830
00831
#endif