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 DopplerRow_CLASS
00035
#define DopplerRow_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::DopplerRowIDL;
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
using asdm::Angle;
00087
using asdm::AngularRate;
00088
using asdm::ArrayTime;
00089
using asdm::Complex;
00090
using asdm::Entity;
00091
using asdm::EntityId;
00092
using asdm::EntityRef;
00093
using asdm::Flux;
00094
using asdm::Frequency;
00095
using asdm::Humidity;
00096
using asdm::Interval;
00097
using asdm::Length;
00098
using asdm::Pressure;
00099
using asdm::Speed;
00100
using asdm::Tag;
00101
using asdm::Temperature;
00102
using asdm::ConversionException;
00103
using asdm::NoSuchRow;
00104
using asdm::IllegalAccessException;
00105
00106
00107
00108
00109
00110
namespace asdm {
00111
00112
00113
00114
00115
00116
class SourceRow;
00117
00118
00125 class DopplerRow {
00126
friend class asdm::DopplerTable;
00127
00128
public:
00129
00130
virtual ~
DopplerRow();
00131
00135
DopplerTable &
getTable()
const;
00136
00137
#ifndef WITHOUT_ACS
00138
00142 DopplerRowIDL *
toIDL()
const;
00143
#endif
00144
00145
#ifndef WITHOUT_ACS
00146
00150
void setFromIDL (DopplerRowIDL x)
throw(
ConversionException);
00151
#endif
00152
00157 string
toXML()
const;
00158
00164
void setFromXML (string rowDoc)
throw(
ConversionException);
00165
00167
00169
00170
00171
00172
00173
00174
00175
00176
00181
int getDopplerId()
const;
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194
00195
00196
00201
int getTransitionIndex()
const;
00202
00203
00204
00205
00213
void setTransitionIndex (
int transitionIndex);
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223
00224
00225
00226
00231
Speed getVelDef()
const;
00232
00233
00234
00235
00243
void setVelDef (
Speed velDef);
00244
00245
00246
00247
00248
00249
00251
00253
00254
00255
00256
00257
00258
00259
00260
00265
int getSourceId()
const;
00266
00267
00268
00269
00279
void setSourceId (
int sourceId);
00280
00281
00282
00283
00284
00285
00287
00289
00290
00291
00292
00293
00294
00295
00301 vector <SourceRow *>
getSources();
00302
00303
00304
00305
00306
00307
00308
00309
00314
bool compareNoAutoInc(
int sourceId,
int transitionIndex,
Speed velDef);
00315
00316
00317
00318
00319
bool compareRequiredValue(
int transitionIndex,
Speed velDef);
00320
00321
00330
bool equalByRequiredValue(
DopplerRow* x) ;
00331
00332
private:
00336
DopplerTable &table;
00340
bool hasBeenAdded;
00341
00342
00343
void isAdded();
00344
00345
00354
DopplerRow (
DopplerTable &table);
00355
00373
DopplerRow (
DopplerTable &table,
DopplerRow &row);
00374
00376
00378
00379
00380
00381
00382
00383
00384
int dopplerId;
00385
00386
00387
00388
00398
void setDopplerId (
int dopplerId);
00399
00400
00401
00402
00403
00404
00405
00406
00407
int transitionIndex;
00408
00409
00410
00411
00412
00413
00414
00415
00416
00417
00418
Speed velDef;
00419
00420
00421
00422
00423
00425
00427
00428
00429
00430
00431
00432
00433
int sourceId;
00434
00435
00436
00437
00438
00440
00442
00443
00444
00445
00446
00447
00448
00449
00450 };
00451
00452 }
00453
00454
#endif