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 HolographyRow_CLASS
00035
#define HolographyRow_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::HolographyRowIDL;
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 "CHolographyChannelType.h"
00084
using namespace HolographyChannelTypeMod;
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
using asdm::Angle;
00096
using asdm::AngularRate;
00097
using asdm::ArrayTime;
00098
using asdm::Complex;
00099
using asdm::Entity;
00100
using asdm::EntityId;
00101
using asdm::EntityRef;
00102
using asdm::Flux;
00103
using asdm::Frequency;
00104
using asdm::Humidity;
00105
using asdm::Interval;
00106
using asdm::Length;
00107
using asdm::Pressure;
00108
using asdm::Speed;
00109
using asdm::Tag;
00110
using asdm::Temperature;
00111
using asdm::ConversionException;
00112
using asdm::NoSuchRow;
00113
using asdm::IllegalAccessException;
00114
00115
00116
00117
00118
00119
namespace asdm {
00120
00121
00122
00123
00124
00131 class HolographyRow {
00132
friend class asdm::HolographyTable;
00133
00134
public:
00135
00136
virtual ~
HolographyRow();
00137
00141
HolographyTable &
getTable()
const;
00142
00143
#ifndef WITHOUT_ACS
00144
00148 HolographyRowIDL *
toIDL()
const;
00149
#endif
00150
00151
#ifndef WITHOUT_ACS
00152
00156
void setFromIDL (HolographyRowIDL x)
throw(
ConversionException);
00157
#endif
00158
00163 string
toXML()
const;
00164
00170
void setFromXML (string rowDoc)
throw(
ConversionException);
00171
00173
00175
00176
00177
00178
00179
00180
00181
00182
00187
Tag getHolographyId()
const;
00188
00189
00190
00191
00192
00193
00194
00195
00196
00197
00198
00199
00200
00201
00202
00207
int getNumCorr()
const;
00208
00209
00210
00211
00219
void setNumCorr (
int numCorr);
00220
00221
00222
00223
00224
00225
00226
00227
00228
00229
00230
00231
00232
00237 vector<HolographyChannelTypeMod::HolographyChannelType >
getType()
const;
00238
00239
00240
00241
00249
void setType (vector<HolographyChannelTypeMod::HolographyChannelType > type);
00250
00251
00252
00253
00254
00255
00256
00257
00258
00259
00260
00261
00262
00267
Length getDistance()
const;
00268
00269
00270
00271
00279
void setDistance (
Length distance);
00280
00281
00282
00283
00284
00285
00286
00287
00288
00289
00290
00291
00292
00297
Length getFocus()
const;
00298
00299
00300
00301
00309
void setFocus (
Length focus);
00310
00311
00312
00313
00314
00315
00316
00317
00318
00319
00320
00321
00322
00327
bool getFlagRow()
const;
00328
00329
00330
00331
00339
void setFlagRow (
bool flagRow);
00340
00341
00342
00343
00344
00345
00347
00349
00351
00353
00354
00355
00356
00361
bool compareNoAutoInc(
int numCorr, vector<HolographyChannelTypeMod::HolographyChannelType > type,
Length distance,
Length focus,
bool flagRow);
00362
00363
00364
00365
00366
bool compareRequiredValue(
int numCorr, vector<HolographyChannelTypeMod::HolographyChannelType > type,
Length distance,
Length focus,
bool flagRow);
00367
00368
00377
bool equalByRequiredValue(
HolographyRow* x) ;
00378
00379
private:
00383
HolographyTable &table;
00387
bool hasBeenAdded;
00388
00389
00390
void isAdded();
00391
00392
00401
HolographyRow (
HolographyTable &table);
00402
00420
HolographyRow (
HolographyTable &table,
HolographyRow &row);
00421
00423
00425
00426
00427
00428
00429
00430
00431
Tag holographyId;
00432
00433
00434
00435
00445
void setHolographyId (
Tag holographyId);
00446
00447
00448
00449
00450
00451
00452
00453
00454
int numCorr;
00455
00456
00457
00458
00459
00460
00461
00462
00463
00464
00465 vector<HolographyChannelTypeMod::HolographyChannelType > type;
00466
00467
00468
00469
00470
00471
00472
00473
00474
00475
00476
Length distance;
00477
00478
00479
00480
00481
00482
00483
00484
00485
00486
00487
Length focus;
00488
00489
00490
00491
00492
00493
00494
00495
00496
00497
00498
bool flagRow;
00499
00500
00501
00502
00503
00505
00507
00509
00511
00512
00513 };
00514
00515 }
00516
00517
#endif