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 CalAmpliRow_CLASS
00035
#define CalAmpliRow_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::CalAmpliRowIDL;
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
#include "CReceiverBand.h"
00084
using namespace ReceiverBandMod;
00085
00086
00087
00088
00089
00090
#include "CAtmPhaseCorrection.h"
00091
using namespace AtmPhaseCorrectionMod;
00092
00093
00094
00095
#include "CPolarizationType.h"
00096
using namespace PolarizationTypeMod;
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
using asdm::Angle;
00114
using asdm::AngularRate;
00115
using asdm::ArrayTime;
00116
using asdm::Complex;
00117
using asdm::Entity;
00118
using asdm::EntityId;
00119
using asdm::EntityRef;
00120
using asdm::Flux;
00121
using asdm::Frequency;
00122
using asdm::Humidity;
00123
using asdm::Interval;
00124
using asdm::Length;
00125
using asdm::Pressure;
00126
using asdm::Speed;
00127
using asdm::Tag;
00128
using asdm::Temperature;
00129
using asdm::ConversionException;
00130
using asdm::NoSuchRow;
00131
using asdm::IllegalAccessException;
00132
00133
00134
00135
00136
00137
namespace asdm {
00138
00139
00140
00141
00142
00143
class CalDataRow;
00144
00145
00146
class CalReductionRow;
00147
00148
00155 class CalAmpliRow {
00156
friend class asdm::CalAmpliTable;
00157
00158
public:
00159
00160
virtual ~
CalAmpliRow();
00161
00165
CalAmpliTable &
getTable()
const;
00166
00167
#ifndef WITHOUT_ACS
00168
00172 CalAmpliRowIDL *
toIDL()
const;
00173
#endif
00174
00175
#ifndef WITHOUT_ACS
00176
00180
void setFromIDL (CalAmpliRowIDL x)
throw(
ConversionException);
00181
#endif
00182
00187 string
toXML()
const;
00188
00194
void setFromXML (string rowDoc)
throw(
ConversionException);
00195
00197
00199
00200
00201
00202
00203
00204
00205
00206
00211
int getNumAPC()
const;
00212
00213
00214
00215
00223
void setNumAPC (
int numAPC);
00224
00225
00226
00227
00228
00229
00230
00231
00232
00233
00234
00235
00236
00241
int getNumReceptor()
const;
00242
00243
00244
00245
00253
void setNumReceptor (
int numReceptor);
00254
00255
00256
00257
00258
00259
00260
00261
00262
00263
00264
00265
00266
00271 ReceiverBandMod::ReceiverBand
getReceiverBand()
const;
00272
00273
00274
00275
00283
void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand);
00284
00285
00286
00287
00288
00289
00290
00291
00292
00293
00294
00295
00296
00301 string
getAntennaName()
const;
00302
00303
00304
00305
00315
void setAntennaName (string antennaName);
00316
00317
00318
00319
00320
00321
00322
00323
00324
00325
00326
00327
00328
00333 vector<AtmPhaseCorrectionMod::AtmPhaseCorrection >
getAtmPhaseCorrections()
const;
00334
00335
00336
00337
00345
void setAtmPhaseCorrections (vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections);
00346
00347
00348
00349
00350
00351
00352
00353
00354
00355
00356
00357
00358
00363 vector<PolarizationTypeMod::PolarizationType >
getPolarizationTypes()
const;
00364
00365
00366
00367
00375
void setPolarizationTypes (vector<PolarizationTypeMod::PolarizationType > polarizationTypes);
00376
00377
00378
00379
00380
00381
00382
00383
00384
00385
00386
00387
00388
00393
ArrayTime getStartValidTime()
const;
00394
00395
00396
00397
00405
void setStartValidTime (
ArrayTime startValidTime);
00406
00407
00408
00409
00410
00411
00412
00413
00414
00415
00416
00417
00418
00423
ArrayTime getEndValidTime()
const;
00424
00425
00426
00427
00435
void setEndValidTime (
ArrayTime endValidTime);
00436
00437
00438
00439
00440
00441
00442
00443
00444
00445
00446
00447
00448
00453 vector<Frequency >
getFrequencyRange()
const;
00454
00455
00456
00457
00465
void setFrequencyRange (vector<Frequency > frequencyRange);
00466
00467
00468
00469
00470
00471
00472
00473
00474
00475
00476
00481
bool isApertureEfficiencyExists()
const;
00482
00483
00484
00490 vector<vector<float > >
getApertureEfficiency()
const throw(
IllegalAccessException);
00491
00492
00493
00494
00501
void setApertureEfficiency (vector<vector<float > > apertureEfficiency);
00502
00503
00504
00505
00509
void clearApertureEfficiency ();
00510
00511
00512
00513
00514
00515
00516
00517
00522
bool isApertureEfficiencyErrorExists()
const;
00523
00524
00525
00531 vector<vector<float > >
getApertureEfficiencyError()
const throw(
IllegalAccessException);
00532
00533
00534
00535
00542
void setApertureEfficiencyError (vector<vector<float > > apertureEfficiencyError);
00543
00544
00545
00546
00550
void clearApertureEfficiencyError ();
00551
00552
00553
00554
00555
00556
00557
00558
00563
bool isCorrectionValidityExists()
const;
00564
00565
00566
00572
bool getCorrectionValidity()
const throw(
IllegalAccessException);
00573
00574
00575
00576
00583
void setCorrectionValidity (
bool correctionValidity);
00584
00585
00586
00587
00591
void clearCorrectionValidity ();
00592
00593
00594
00596
00598
00599
00600
00601
00602
00603
00604
00605
00610
Tag getCalDataId()
const;
00611
00612
00613
00614
00624
void setCalDataId (
Tag calDataId);
00625
00626
00627
00628
00629
00630
00631
00632
00633
00634
00635
00636
00637
00642
Tag getCalReductionId()
const;
00643
00644
00645
00646
00656
void setCalReductionId (
Tag calReductionId);
00657
00658
00659
00660
00661
00662
00664
00666
00667
00668
00669
00670
00677
CalDataRow*
getCalDataUsingCalDataId();
00678
00679
00680
00681
00682
00683
00684
00685
00692
CalReductionRow*
getCalReductionUsingCalReductionId();
00693
00694
00695
00696
00697
00698
00699
00704
bool compareNoAutoInc(
Tag calDataId,
Tag calReductionId, string antennaName,
int numAPC,
int numReceptor, ReceiverBandMod::ReceiverBand receiverBand, vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections, vector<PolarizationTypeMod::PolarizationType > polarizationTypes,
ArrayTime startValidTime,
ArrayTime endValidTime, vector<Frequency > frequencyRange);
00705
00706
00707
00708
00709
bool compareRequiredValue(
int numAPC,
int numReceptor, ReceiverBandMod::ReceiverBand receiverBand, vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections, vector<PolarizationTypeMod::PolarizationType > polarizationTypes,
ArrayTime startValidTime,
ArrayTime endValidTime, vector<Frequency > frequencyRange);
00710
00711
00720
bool equalByRequiredValue(
CalAmpliRow* x) ;
00721
00722
private:
00726
CalAmpliTable &table;
00730
bool hasBeenAdded;
00731
00732
00733
void isAdded();
00734
00735
00744
CalAmpliRow (
CalAmpliTable &table);
00745
00763
CalAmpliRow (
CalAmpliTable &table,
CalAmpliRow &row);
00764
00766
00768
00769
00770
00771
00772
00773
00774
int numAPC;
00775
00776
00777
00778
00779
00780
00781
00782
00783
00784
00785
int numReceptor;
00786
00787
00788
00789
00790
00791
00792
00793
00794
00795
00796 ReceiverBandMod::ReceiverBand receiverBand;
00797
00798
00799
00800
00801
00802
00803
00804
00805
00806
00807 string antennaName;
00808
00809
00810
00811
00812
00813
00814
00815
00816
00817
00818 vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections;
00819
00820
00821
00822
00823
00824
00825
00826
00827
00828
00829 vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
00830
00831
00832
00833
00834
00835
00836
00837
00838
00839
00840
ArrayTime startValidTime;
00841
00842
00843
00844
00845
00846
00847
00848
00849
00850
00851
ArrayTime endValidTime;
00852
00853
00854
00855
00856
00857
00858
00859
00860
00861
00862 vector<Frequency > frequencyRange;
00863
00864
00865
00866
00867
00868
00869
00870
00871
00872
bool apertureEfficiencyExists;
00873
00874
00875 vector<vector<float > > apertureEfficiency;
00876
00877
00878
00879
00880
00881
00882
00883
00884
00885
bool apertureEfficiencyErrorExists;
00886
00887
00888 vector<vector<float > > apertureEfficiencyError;
00889
00890
00891
00892
00893
00894
00895
00896
00897
00898
bool correctionValidityExists;
00899
00900
00901
bool correctionValidity;
00902
00903
00904
00905
00906
00908
00910
00911
00912
00913
00914
00915
00916
Tag calDataId;
00917
00918
00919
00920
00921
00922
00923
00924
00925
00926
00927
Tag calReductionId;
00928
00929
00930
00931
00932
00934
00936
00937
00938
00939
00940
00941
00942
00943
00944
00945
00946
00947
00948
00949
00950
00951
00952 };
00953
00954 }
00955
00956
#endif