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 FocusModelRow_CLASS
00035
#define FocusModelRow_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::FocusModelRowIDL;
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
using asdm::Angle;
00083
using asdm::AngularRate;
00084
using asdm::ArrayTime;
00085
using asdm::Complex;
00086
using asdm::Entity;
00087
using asdm::EntityId;
00088
using asdm::EntityRef;
00089
using asdm::Flux;
00090
using asdm::Frequency;
00091
using asdm::Humidity;
00092
using asdm::Interval;
00093
using asdm::Length;
00094
using asdm::Pressure;
00095
using asdm::Speed;
00096
using asdm::Tag;
00097
using asdm::Temperature;
00098
using asdm::ConversionException;
00099
using asdm::NoSuchRow;
00100
using asdm::IllegalAccessException;
00101
00102
00103
00104
00105
00106
namespace asdm {
00107
00108
00109
00110
00111
00118 class FocusModelRow {
00119
friend class asdm::FocusModelTable;
00120
00121
public:
00122
00123
virtual ~
FocusModelRow();
00124
00128
FocusModelTable &
getTable()
const;
00129
00130
#ifndef WITHOUT_ACS
00131
00135 FocusModelRowIDL *
toIDL()
const;
00136
#endif
00137
00138
#ifndef WITHOUT_ACS
00139
00143
void setFromIDL (FocusModelRowIDL x)
throw(
ConversionException);
00144
#endif
00145
00150 string
toXML()
const;
00151
00157
void setFromXML (string rowDoc)
throw(
ConversionException);
00158
00160
00162
00163
00164
00165
00166
00167
00168
00169
00174
Tag getFocusModelId()
const;
00175
00176
00177
00178
00179
00180
00181
00182
00184
00186
00188
00190
00191
00192
00193
00194
00195
00196
00205
bool equalByRequiredValue(
FocusModelRow* x) ;
00206
00207
private:
00211
FocusModelTable &table;
00215
bool hasBeenAdded;
00216
00217
00218
void isAdded();
00219
00220
00229
FocusModelRow (
FocusModelTable &table);
00230
00248
FocusModelRow (
FocusModelTable &table,
FocusModelRow &row);
00249
00251
00253
00254
00255
00256
00257
00258
00259
Tag focusModelId;
00260
00261
00262
00263
00273
void setFocusModelId (
Tag focusModelId);
00274
00275
00276
00278
00280
00282
00284
00285
00286 };
00287
00288 }
00289
00290
#endif