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 CalSeeingRow_CLASS
00035
#define CalSeeingRow_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::CalSeeingRowIDL;
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
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
using asdm::Angle;
00103
using asdm::AngularRate;
00104
using asdm::ArrayTime;
00105
using asdm::Complex;
00106
using asdm::Entity;
00107
using asdm::EntityId;
00108
using asdm::EntityRef;
00109
using asdm::Flux;
00110
using asdm::Frequency;
00111
using asdm::Humidity;
00112
using asdm::Interval;
00113
using asdm::Length;
00114
using asdm::Pressure;
00115
using asdm::Speed;
00116
using asdm::Tag;
00117
using asdm::Temperature;
00118
using asdm::ConversionException;
00119
using asdm::NoSuchRow;
00120
using asdm::IllegalAccessException;
00121
00122
00123
00124
00125
00126
namespace asdm {
00127
00128
00129
00130
00131
00132
class CalReductionRow;
00133
00134
00135
class CalDataRow;
00136
00137
00144 class CalSeeingRow {
00145
friend class asdm::CalSeeingTable;
00146
00147
public:
00148
00149
virtual ~
CalSeeingRow();
00150
00154
CalSeeingTable &
getTable()
const;
00155
00156
#ifndef WITHOUT_ACS
00157
00161 CalSeeingRowIDL *
toIDL()
const;
00162
#endif
00163
00164
#ifndef WITHOUT_ACS
00165
00169
void setFromIDL (CalSeeingRowIDL x)
throw(
ConversionException);
00170
#endif
00171
00176 string
toXML()
const;
00177
00183
void setFromXML (string rowDoc)
throw(
ConversionException);
00184
00186
00188
00189
00190
00191
00192
00193
00194
00195
00200
int getNumBaseLength()
const;
00201
00202
00203
00204
00212
void setNumBaseLength (
int numBaseLength);
00213
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223
00224
00225
00230
ArrayTime getStartValidTime()
const;
00231
00232
00233
00234
00242
void setStartValidTime (
ArrayTime startValidTime);
00243
00244
00245
00246
00247
00248
00249
00250
00251
00252
00253
00254
00255
00260
ArrayTime getEndValidTime()
const;
00261
00262
00263
00264
00272
void setEndValidTime (
ArrayTime endValidTime);
00273
00274
00275
00276
00277
00278
00279
00280
00281
00282
00283
00284
00285
00290 vector<Frequency >
getFrequencyRange()
const;
00291
00292
00293
00294
00302
void setFrequencyRange (vector<Frequency > frequencyRange);
00303
00304
00305
00306
00307
00308
00309
00310
00311
00312
00313
00314
00315
00320 vector<Length >
getBaseLength()
const;
00321
00322
00323
00324
00332
void setBaseLength (vector<Length > baseLength);
00333
00334
00335
00336
00337
00338
00339
00340
00341
00342
00343
00344
00345
00350 vector<Angle >
getCorrPhaseRms()
const;
00351
00352
00353
00354
00362
void setCorrPhaseRms (vector<Angle > corrPhaseRms);
00363
00364
00365
00366
00367
00368
00369
00370
00371
00372
00373
00374
00375
00380 vector<Angle >
getUncorrPhaseRms()
const;
00381
00382
00383
00384
00392
void setUncorrPhaseRms (vector<Angle > uncorrPhaseRms);
00393
00394
00395
00396
00397
00398
00399
00400
00401
00402
00403
00404
00405
00410
Angle getSeeing()
const;
00411
00412
00413
00414
00422
void setSeeing (
Angle seeing);
00423
00424
00425
00426
00427
00428
00429
00430
00431
00432
00433
00434
00435
00440
Frequency getSeeingFrequency()
const;
00441
00442
00443
00444
00452
void setSeeingFrequency (
Frequency seeingFrequency);
00453
00454
00455
00456
00457
00458
00459
00460
00461
00462
00463
00464
00465
00470
Frequency getSeeingFreqBandwidth()
const;
00471
00472
00473
00474
00482
void setSeeingFreqBandwidth (
Frequency seeingFreqBandwidth);
00483
00484
00485
00486
00487
00488
00489
00490
00491
00492
00493
00498
bool isExponentExists()
const;
00499
00500
00501
00507
float getExponent()
const throw(
IllegalAccessException);
00508
00509
00510
00511
00518
void setExponent (
float exponent);
00519
00520
00521
00522
00526
void clearExponent ();
00527
00528
00529
00531
00533
00534
00535
00536
00537
00538
00539
00540
00545
Tag getCalDataId()
const;
00546
00547
00548
00549
00559
void setCalDataId (
Tag calDataId);
00560
00561
00562
00563
00564
00565
00566
00567
00568
00569
00570
00571
00572
00577
Tag getCalReductionId()
const;
00578
00579
00580
00581
00591
void setCalReductionId (
Tag calReductionId);
00592
00593
00594
00595
00596
00597
00599
00601
00602
00603
00604
00605
00612
CalReductionRow*
getCalReductionUsingCalReductionId();
00613
00614
00615
00616
00617
00618
00619
00620
00627
CalDataRow*
getCalDataUsingCalDataId();
00628
00629
00630
00631
00632
00633
00634
00639
bool compareNoAutoInc(
Tag calDataId,
Tag calReductionId,
int numBaseLength,
ArrayTime startValidTime,
ArrayTime endValidTime, vector<Frequency > frequencyRange, vector<Length > baseLength, vector<Angle > corrPhaseRms, vector<Angle > uncorrPhaseRms,
Angle seeing,
Frequency seeingFrequency,
Frequency seeingFreqBandwidth);
00640
00641
00642
00643
00644
bool compareRequiredValue(
int numBaseLength,
ArrayTime startValidTime,
ArrayTime endValidTime, vector<Frequency > frequencyRange, vector<Length > baseLength, vector<Angle > corrPhaseRms, vector<Angle > uncorrPhaseRms,
Angle seeing,
Frequency seeingFrequency,
Frequency seeingFreqBandwidth);
00645
00646
00655
bool equalByRequiredValue(
CalSeeingRow* x) ;
00656
00657
private:
00661
CalSeeingTable &table;
00665
bool hasBeenAdded;
00666
00667
00668
void isAdded();
00669
00670
00679
CalSeeingRow (
CalSeeingTable &table);
00680
00698
CalSeeingRow (
CalSeeingTable &table,
CalSeeingRow &row);
00699
00701
00703
00704
00705
00706
00707
00708
00709
int numBaseLength;
00710
00711
00712
00713
00714
00715
00716
00717
00718
00719
00720
ArrayTime startValidTime;
00721
00722
00723
00724
00725
00726
00727
00728
00729
00730
00731
ArrayTime endValidTime;
00732
00733
00734
00735
00736
00737
00738
00739
00740
00741
00742 vector<Frequency > frequencyRange;
00743
00744
00745
00746
00747
00748
00749
00750
00751
00752
00753 vector<Length > baseLength;
00754
00755
00756
00757
00758
00759
00760
00761
00762
00763
00764 vector<Angle > corrPhaseRms;
00765
00766
00767
00768
00769
00770
00771
00772
00773
00774
00775 vector<Angle > uncorrPhaseRms;
00776
00777
00778
00779
00780
00781
00782
00783
00784
00785
00786
Angle seeing;
00787
00788
00789
00790
00791
00792
00793
00794
00795
00796
00797
Frequency seeingFrequency;
00798
00799
00800
00801
00802
00803
00804
00805
00806
00807
00808
Frequency seeingFreqBandwidth;
00809
00810
00811
00812
00813
00814
00815
00816
00817
00818
bool exponentExists;
00819
00820
00821
float exponent;
00822
00823
00824
00825
00826
00828
00830
00831
00832
00833
00834
00835
00836
Tag calDataId;
00837
00838
00839
00840
00841
00842
00843
00844
00845
00846
00847
Tag calReductionId;
00848
00849
00850
00851
00852
00854
00856
00857
00858
00859
00860
00861
00862
00863
00864
00865
00866
00867
00868
00869
00870
00871
00872 };
00873
00874 }
00875
00876
#endif