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 AlmaRadiometerRow_CLASS
00035
#define AlmaRadiometerRow_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::AlmaRadiometerRowIDL;
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
using asdm::Angle;
00085
using asdm::AngularRate;
00086
using asdm::ArrayTime;
00087
using asdm::Complex;
00088
using asdm::Entity;
00089
using asdm::EntityId;
00090
using asdm::EntityRef;
00091
using asdm::Flux;
00092
using asdm::Frequency;
00093
using asdm::Humidity;
00094
using asdm::Interval;
00095
using asdm::Length;
00096
using asdm::Pressure;
00097
using asdm::Speed;
00098
using asdm::Tag;
00099
using asdm::Temperature;
00100
using asdm::ConversionException;
00101
using asdm::NoSuchRow;
00102
using asdm::IllegalAccessException;
00103
00104
00105
00106
00107
00108 namespace asdm {
00109
00110
00111
00112
00113
00120 class AlmaRadiometerRow {
00121
friend class asdm::AlmaRadiometerTable;
00122
00123
public:
00124
00125
virtual ~
AlmaRadiometerRow();
00126
00130
AlmaRadiometerTable &
getTable()
const;
00131
00132
#ifndef WITHOUT_ACS
00133
00137 AlmaRadiometerRowIDL *
toIDL()
const;
00138
#endif
00139
00140
#ifndef WITHOUT_ACS
00141
00145
void setFromIDL (AlmaRadiometerRowIDL x)
throw(
ConversionException);
00146
#endif
00147
00152 string
toXML()
const;
00153
00159
void setFromXML (string rowDoc)
throw(
ConversionException);
00160
00162
00164
00165
00166
00167
00168
00169
00170
00171
00176
Tag getModeId()
const;
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00196
int getNumBand()
const;
00197
00198
00199
00200
00208
void setNumBand (
int numBand);
00209
00210
00211
00212
00213
00214
00216
00218
00220
00222
00223
00224
00225
00230
bool compareNoAutoInc(
int numBand);
00231
00232
00233
00234
00235
bool compareRequiredValue(
int numBand);
00236
00237
00246
bool equalByRequiredValue(
AlmaRadiometerRow* x) ;
00247
00248
private:
00252
AlmaRadiometerTable &table;
00256
bool hasBeenAdded;
00257
00258
00259
void isAdded();
00260
00261
00270
AlmaRadiometerRow (
AlmaRadiometerTable &table);
00271
00289
AlmaRadiometerRow (
AlmaRadiometerTable &table,
AlmaRadiometerRow &row);
00290
00292
00294
00295
00296
00297
00298
00299
00300
Tag modeId;
00301
00302
00303
00304
00314
void setModeId (
Tag modeId);
00315
00316
00317
00318
00319
00320
00321
00322
00323
int numBand;
00324
00325
00326
00327
00328
00330
00332
00334
00336
00337
00338 };
00339
00340 }
00341
00342
#endif