casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PointingRow.h
Go to the documentation of this file.
1 
2 /*
3  * ALMA - Atacama Large Millimeter Array
4  * (c) European Southern Observatory, 2002
5  * (c) Associated Universities Inc., 2002
6  * Copyright by ESO (in the framework of the ALMA collaboration),
7  * Copyright by AUI (in the framework of the ALMA collaboration),
8  * All rights reserved.
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free software Foundation; either
13  * version 2.1 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY, without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with this library; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23  * MA 02111-1307 USA
24  *
25  * Warning!
26  * --------------------------------------------------------------------
27  * | This is generated code! Do not modify this file. |
28  * | If you do, all changes will be lost when the file is re-generated. |
29  * --------------------------------------------------------------------
30  *
31  * File PointingRow.h
32  */
33 
34 #ifndef PointingRow_CLASS
35 #define PointingRow_CLASS
36 
37 #include <vector>
38 #include <string>
39 #include <set>
40 
41 #ifndef WITHOUT_ACS
42 #include <asdmIDLC.h>
43 #endif
44 
45 
46 
47 
48 
49 
50 
52 
53 
54 
55 #include <alma/ASDM/Angle.h>
56 
57 
58 
59 #include <alma/ASDM/ArrayTime.h>
60 
61 
62 
63 #include <alma/ASDM/Tag.h>
64 
65 
66 
67 
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 
78 
79 
80 
81 
82 
83 
84 
85 
86 
87 
88 
89 
90 
91 
92 
93 
95 
96 
97 
98 
99 
100 
101 
102 
103 
104 
106 #include <alma/ASDM/NoSuchRow.h>
108 
110 //#include <alma/ASDM/TableStreamReader.h>
111 
112 /*\file Pointing.h
113  \brief Generated from model's revision "-1", branch ""
114 */
115 
116 namespace asdm {
117 
118 //class asdm::PointingTable;
119 
120 
121 // class asdm::PointingModelRow;
122 class PointingModelRow;
123 
124 // class asdm::AntennaRow;
125 class AntennaRow;
126 
127 
128 class PointingRow;
130 typedef void (PointingRow::*PointingAttributeFromText) (const std::string& s);
131 
138 class PointingRow {
139 friend class asdm::PointingTable;
141 //friend class asdm::TableStreamReader<PointingTable, PointingRow>;
142 
143 public:
144 
145  virtual ~PointingRow();
146 
150  PointingTable &getTable() const;
151 
156  bool isAdded() const;
157 
159  // Intrinsic Table Attributes //
161 
162 
163  // ===> Attribute timeInterval
164 
165 
166 
167 
168 
173  ArrayTimeInterval getTimeInterval() const;
174 
175 
176 
177 
187  void setTimeInterval (ArrayTimeInterval timeInterval);
188 
189 
190 
191 
192 
193 
194 
195  // ===> Attribute numSample
196 
197 
198 
199 
200 
205  int getNumSample() const;
206 
207 
208 
209 
217  void setNumSample (int numSample);
218 
219 
220 
221 
222 
223 
224 
225  // ===> Attribute encoder
226 
227 
228 
229 
230 
235  std::vector<std::vector<Angle > > getEncoder() const;
236 
237 
238 
239 
247  void setEncoder (std::vector<std::vector<Angle > > encoder);
248 
249 
250 
251 
252 
253 
254 
255  // ===> Attribute pointingTracking
256 
257 
258 
259 
260 
265  bool getPointingTracking() const;
266 
267 
268 
269 
278 
279 
280 
281 
282 
283 
284 
285  // ===> Attribute usePolynomials
286 
287 
288 
289 
290 
295  bool getUsePolynomials() const;
296 
297 
298 
299 
307  void setUsePolynomials (bool usePolynomials);
308 
309 
310 
311 
312 
313 
314 
315  // ===> Attribute timeOrigin
316 
317 
318 
319 
320 
325  ArrayTime getTimeOrigin() const;
326 
327 
328 
329 
338 
339 
340 
341 
342 
343 
344 
345  // ===> Attribute numTerm
346 
347 
348 
349 
350 
355  int getNumTerm() const;
356 
357 
358 
359 
367  void setNumTerm (int numTerm);
368 
369 
370 
371 
372 
373 
374 
375  // ===> Attribute pointingDirection
376 
377 
378 
379 
380 
385  std::vector<std::vector<Angle > > getPointingDirection() const;
386 
387 
388 
389 
397  void setPointingDirection (std::vector<std::vector<Angle > > pointingDirection);
398 
399 
400 
401 
402 
403 
404 
405  // ===> Attribute target
406 
407 
408 
409 
410 
415  std::vector<std::vector<Angle > > getTarget() const;
416 
417 
418 
419 
427  void setTarget (std::vector<std::vector<Angle > > target);
428 
429 
430 
431 
432 
433 
434 
435  // ===> Attribute offset
436 
437 
438 
439 
440 
445  std::vector<std::vector<Angle > > getOffset() const;
446 
447 
448 
449 
457  void setOffset (std::vector<std::vector<Angle > > offset);
458 
459 
460 
461 
462 
463 
464 
465  // ===> Attribute overTheTop, which is optional
466 
467 
468 
473  bool isOverTheTopExists() const;
474 
475 
476 
482  bool getOverTheTop() const;
483 
484 
485 
486 
493  void setOverTheTop (bool overTheTop);
494 
495 
496 
497 
501  void clearOverTheTop ();
502 
503 
504 
505 
506  // ===> Attribute sourceOffset, which is optional
507 
508 
509 
514  bool isSourceOffsetExists() const;
515 
516 
517 
523  std::vector<std::vector<Angle > > getSourceOffset() const;
524 
525 
526 
527 
534  void setSourceOffset (std::vector<std::vector<Angle > > sourceOffset);
535 
536 
537 
538 
542  void clearSourceOffset ();
543 
544 
545 
546 
547  // ===> Attribute sourceOffsetReferenceCode, which is optional
548 
549 
550 
556 
557 
558 
564  DirectionReferenceCodeMod::DirectionReferenceCode getSourceOffsetReferenceCode() const;
565 
566 
567 
568 
575  void setSourceOffsetReferenceCode (DirectionReferenceCodeMod::DirectionReferenceCode sourceOffsetReferenceCode);
576 
577 
578 
579 
584 
585 
586 
587 
588  // ===> Attribute sourceOffsetEquinox, which is optional
589 
590 
591 
596  bool isSourceOffsetEquinoxExists() const;
597 
598 
599 
606 
607 
608 
609 
617 
618 
619 
620 
624  void clearSourceOffsetEquinox ();
625 
626 
627 
628 
629  // ===> Attribute sampledTimeInterval, which is optional
630 
631 
632 
637  bool isSampledTimeIntervalExists() const;
638 
639 
640 
646  std::vector<ArrayTimeInterval > getSampledTimeInterval() const;
647 
648 
649 
650 
657  void setSampledTimeInterval (std::vector<ArrayTimeInterval > sampledTimeInterval);
658 
659 
660 
661 
665  void clearSampledTimeInterval ();
666 
667 
668 
669 
670  // ===> Attribute atmosphericCorrection, which is optional
671 
672 
673 
678  bool isAtmosphericCorrectionExists() const;
679 
680 
681 
687  std::vector<std::vector<Angle > > getAtmosphericCorrection() const;
688 
689 
690 
691 
698  void setAtmosphericCorrection (std::vector<std::vector<Angle > > atmosphericCorrection);
699 
700 
701 
702 
707 
708 
709 
711  // Extrinsic Table Attributes //
713 
714 
715  // ===> Attribute antennaId
716 
717 
718 
719 
720 
725  Tag getAntennaId() const;
726 
727 
728 
729 
739  void setAntennaId (Tag antennaId);
740 
741 
742 
743 
744 
745 
746 
747  // ===> Attribute pointingModelId
748 
749 
750 
751 
752 
757  int getPointingModelId() const;
758 
759 
760 
761 
770 
771 
772 
773 
774 
775 
777  // Links //
779 
780 
781 
782 
783 
784  // ===> Slice link from a row of Pointing table to a collection of row of PointingModel table.
785 
791  std::vector <PointingModelRow *> getPointingModels();
792 
793 
794 
795 
796 
797 
798 
799 
800 
808 
809 
810 
811 
812 
813 
814 
844  bool compareNoAutoInc(Tag antennaId, ArrayTimeInterval timeInterval, int numSample, std::vector<std::vector<Angle > > encoder, bool pointingTracking, bool usePolynomials, ArrayTime timeOrigin, int numTerm, std::vector<std::vector<Angle > > pointingDirection, std::vector<std::vector<Angle > > target, std::vector<std::vector<Angle > > offset, int pointingModelId);
845 
846 
847 
848 
874  bool compareRequiredValue(int numSample, std::vector<std::vector<Angle > > encoder, bool pointingTracking, bool usePolynomials, ArrayTime timeOrigin, int numTerm, std::vector<std::vector<Angle > > pointingDirection, std::vector<std::vector<Angle > > target, std::vector<std::vector<Angle > > offset, int pointingModelId);
875 
876 
886 
887 #ifndef WITHOUT_ACS
888 
892  asdmIDL::PointingRowIDL *toIDL() const;
893 
901  void toIDL(asdmIDL::PointingRowIDL& x) const;
902 #endif
903 
904 #ifndef WITHOUT_ACS
905 
910  void setFromIDL (asdmIDL::PointingRowIDL x) ;
911 #endif
912 
917  std::string toXML() const;
918 
925  void setFromXML (std::string rowDoc) ;
926 
929  // binary-deserialization material from an EndianIStream //
931 
932  std::map<std::string, PointingAttributeFromBin> fromBinMethods;
933 void antennaIdFromBin( EndianIStream& eis);
935 void numSampleFromBin( EndianIStream& eis);
936 void encoderFromBin( EndianIStream& eis);
939 void timeOriginFromBin( EndianIStream& eis);
940 void numTermFromBin( EndianIStream& eis);
942 void targetFromBin( EndianIStream& eis);
943 void offsetFromBin( EndianIStream& eis);
945 
946 void overTheTopFromBin( EndianIStream& eis);
952 
953 
961  static PointingRow* fromBin(EndianIStream& eis, PointingTable& table, const std::vector<std::string>& attributesSeq);
962 
969  void fromText(const std::string& attributeName, const std::string& t);
971 
972 private:
981 
982  // This method is used by the Table class when this row is added to the table.
983  void isAdded(bool added);
984 
985 
995 
1014 
1016  // Intrinsic Table Attributes //
1018 
1019 
1020  // ===> Attribute timeInterval
1021 
1022 
1023 
1024  ArrayTimeInterval timeInterval;
1025 
1026 
1027 
1028 
1029 
1030 
1031  // ===> Attribute numSample
1032 
1033 
1034 
1036 
1037 
1038 
1039 
1040 
1041 
1042  // ===> Attribute encoder
1043 
1044 
1045 
1046  std::vector<std::vector<Angle > > encoder;
1047 
1048 
1049 
1050 
1051 
1052 
1053  // ===> Attribute pointingTracking
1054 
1055 
1056 
1058 
1059 
1060 
1061 
1062 
1063 
1064  // ===> Attribute usePolynomials
1065 
1066 
1067 
1069 
1070 
1071 
1072 
1073 
1074 
1075  // ===> Attribute timeOrigin
1076 
1077 
1078 
1080 
1081 
1082 
1083 
1084 
1085 
1086  // ===> Attribute numTerm
1087 
1088 
1089 
1090  int numTerm;
1091 
1092 
1093 
1094 
1095 
1096 
1097  // ===> Attribute pointingDirection
1098 
1099 
1100 
1101  std::vector<std::vector<Angle > > pointingDirection;
1102 
1103 
1104 
1105 
1106 
1107 
1108  // ===> Attribute target
1109 
1110 
1111 
1112  std::vector<std::vector<Angle > > target;
1113 
1114 
1115 
1116 
1117 
1118 
1119  // ===> Attribute offset
1120 
1121 
1122 
1123  std::vector<std::vector<Angle > > offset;
1124 
1125 
1126 
1127 
1128 
1129 
1130  // ===> Attribute overTheTop, which is optional
1131 
1132 
1134 
1135 
1137 
1138 
1139 
1140 
1141 
1142 
1143  // ===> Attribute sourceOffset, which is optional
1144 
1145 
1147 
1148 
1149  std::vector<std::vector<Angle > > sourceOffset;
1150 
1151 
1152 
1153 
1154 
1155 
1156  // ===> Attribute sourceOffsetReferenceCode, which is optional
1157 
1158 
1160 
1161 
1162  DirectionReferenceCodeMod::DirectionReferenceCode sourceOffsetReferenceCode;
1163 
1164 
1165 
1166 
1167 
1168 
1169  // ===> Attribute sourceOffsetEquinox, which is optional
1170 
1171 
1173 
1174 
1176 
1177 
1178 
1179 
1180 
1181 
1182  // ===> Attribute sampledTimeInterval, which is optional
1183 
1184 
1186 
1187 
1188  std::vector<ArrayTimeInterval > sampledTimeInterval;
1189 
1190 
1191 
1192 
1193 
1194 
1195  // ===> Attribute atmosphericCorrection, which is optional
1196 
1197 
1199 
1200 
1201  std::vector<std::vector<Angle > > atmosphericCorrection;
1202 
1203 
1204 
1205 
1206 
1208  // Extrinsic Table Attributes //
1210 
1211 
1212  // ===> Attribute antennaId
1213 
1214 
1215 
1216  Tag antennaId;
1217 
1218 
1219 
1220 
1221 
1222 
1223  // ===> Attribute pointingModelId
1224 
1225 
1226 
1228 
1229 
1230 
1231 
1232 
1234  // Links //
1236 
1237 
1238 
1239 
1240 
1241 
1242 
1243 
1244 
1245 
1246 
1247 
1248 
1249 
1250 
1251 /*
1253  // binary-deserialization material from an EndianIStream //
1255  std::map<std::string, PointingAttributeFromBin> fromBinMethods;
1256 void antennaIdFromBin( EndianIStream& eis);
1257 void timeIntervalFromBin( EndianIStream& eis);
1258 void numSampleFromBin( EndianIStream& eis);
1259 void encoderFromBin( EndianIStream& eis);
1260 void pointingTrackingFromBin( EndianIStream& eis);
1261 void usePolynomialsFromBin( EndianIStream& eis);
1262 void timeOriginFromBin( EndianIStream& eis);
1263 void numTermFromBin( EndianIStream& eis);
1264 void pointingDirectionFromBin( EndianIStream& eis);
1265 void targetFromBin( EndianIStream& eis);
1266 void offsetFromBin( EndianIStream& eis);
1267 void pointingModelIdFromBin( EndianIStream& eis);
1268 
1269 void overTheTopFromBin( EndianIStream& eis);
1270 void sourceOffsetFromBin( EndianIStream& eis);
1271 void sourceOffsetReferenceCodeFromBin( EndianIStream& eis);
1272 void sourceOffsetEquinoxFromBin( EndianIStream& eis);
1273 void sampledTimeIntervalFromBin( EndianIStream& eis);
1274 void atmosphericCorrectionFromBin( EndianIStream& eis);
1275 
1276 */
1277 
1279  // text-deserialization material //
1281  std::map<std::string, PointingAttributeFromText> fromTextMethods;
1282 
1283 void antennaIdFromText (const std::string & s);
1284 
1285 
1286 void timeIntervalFromText (const std::string & s);
1287 
1288 
1289 void numSampleFromText (const std::string & s);
1290 
1291 
1292 void encoderFromText (const std::string & s);
1293 
1294 
1295 void pointingTrackingFromText (const std::string & s);
1296 
1297 
1298 void usePolynomialsFromText (const std::string & s);
1299 
1300 
1301 void timeOriginFromText (const std::string & s);
1302 
1303 
1304 void numTermFromText (const std::string & s);
1305 
1306 
1307 void pointingDirectionFromText (const std::string & s);
1308 
1309 
1310 void targetFromText (const std::string & s);
1311 
1312 
1313 void offsetFromText (const std::string & s);
1314 
1315 
1316 void pointingModelIdFromText (const std::string & s);
1317 
1318 
1319 
1320 void overTheTopFromText (const std::string & s);
1321 
1322 
1323 void sourceOffsetFromText (const std::string & s);
1324 
1325 
1326 void sourceOffsetReferenceCodeFromText (const std::string & s);
1327 
1328 
1329 void sourceOffsetEquinoxFromText (const std::string & s);
1330 
1331 
1332 void sampledTimeIntervalFromText (const std::string & s);
1333 
1334 
1335 void atmosphericCorrectionFromText (const std::string & s);
1336 
1337 
1338 
1343  void toBin(EndianOSStream& eoss);
1344 
1354 };
1355 
1356 } // End namespace asdm
1357 
1358 #endif /* Pointing_CLASS */
void overTheTopFromBin(EndianIStream &eis)
PointingTable & getTable() const
Return the table to which this row belongs.
std::vector< std::vector< Angle > > getTarget() const
===&gt; Attribute target
std::vector< std::vector< Angle > > getEncoder() const
===&gt; Attribute encoder
void clearSampledTimeInterval()
Mark sampledTimeInterval, which is an optional field, as non-existent.
DirectionReferenceCodeMod::DirectionReferenceCode getSourceOffsetReferenceCode() const
Get sourceOffsetReferenceCode, which is optional.
void targetFromText(const std::string &s)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
int getNumTerm() const
===&gt; Attribute numTerm
void clearSourceOffset()
Mark sourceOffset, which is an optional field, as non-existent.
The PointingTable class is an Alma table.
bool compareRequiredValue(int numSample, std::vector< std::vector< Angle > > encoder, bool pointingTracking, bool usePolynomials, ArrayTime timeOrigin, int numTerm, std::vector< std::vector< Angle > > pointingDirection, std::vector< std::vector< Angle > > target, std::vector< std::vector< Angle > > offset, int pointingModelId)
Compare each mandatory value (i.e.
void setOffset(std::vector< std::vector< Angle > > offset)
Set offset with the specified std::vector&lt;std::vector&lt;Angle &gt; &gt;.
void pointingModelIdFromText(const std::string &s)
std::vector< std::vector< Angle > > getAtmosphericCorrection() const
Get atmosphericCorrection, which is optional.
*text deserialization material std::map< std::string, PointingAttributeFromText > fromTextMethods
Definition: PointingRow.h:1281
void setSourceOffset(std::vector< std::vector< Angle > > sourceOffset)
Set sourceOffset with the specified std::vector&lt;std::vector&lt;Angle &gt; &gt;.
void encoderFromBin(EndianIStream &eis)
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
std::vector< std::vector< Angle > > getPointingDirection() const
===&gt; Attribute pointingDirection
bool isAdded() const
Has this row been added to its table ?
void timeOriginFromText(const std::string &s)
bool isAtmosphericCorrectionExists() const
===&gt; Attribute atmosphericCorrection, which is optional
void setTimeOrigin(ArrayTime timeOrigin)
Set timeOrigin with the specified ArrayTime.
void setOverTheTop(bool overTheTop)
Set overTheTop with the specified bool.
bool overTheTopExists
===&gt; Attribute overTheTop, which is optional
Definition: PointingRow.h:1133
int getNumSample() const
===&gt; Attribute numSample
bool sourceOffsetExists
===&gt; Attribute sourceOffset, which is optional
Definition: PointingRow.h:1146
void setTarget(std::vector< std::vector< Angle > > target)
Set target with the specified std::vector&lt;std::vector&lt;Angle &gt; &gt;.
bool getUsePolynomials() const
===&gt; Attribute usePolynomials
std::vector< std::vector< Angle > > getSourceOffset() const
Get sourceOffset, which is optional.
The PointingRow class is a row of a PointingTable.
Definition: PointingRow.h:138
void(PointingRow::* PointingAttributeFromText)(const std::string &s)
Definition: PointingRow.h:130
std::vector< ArrayTimeInterval > sampledTimeInterval
Definition: PointingRow.h:1188
std::vector< std::vector< Angle > > offset
===&gt; Attribute offset
Definition: PointingRow.h:1123
void setPointingTracking(bool pointingTracking)
Set pointingTracking with the specified bool.
bool hasBeenAdded
Whether this row has been added to the table or not.
Definition: PointingRow.h:980
bool atmosphericCorrectionExists
===&gt; Attribute atmosphericCorrection, which is optional
Definition: PointingRow.h:1198
AntennaRow * getAntennaUsingAntennaId()
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId ...
bool isOverTheTopExists() const
===&gt; Attribute overTheTop, which is optional
void pointingModelIdFromBin(EndianIStream &eis)
void antennaIdFromBin(EndianIStream &eis)
bool getOverTheTop() const
Get overTheTop, which is optional.
void clearSourceOffsetReferenceCode()
Mark sourceOffsetReferenceCode, which is an optional field, as non-existent.
void sourceOffsetEquinoxFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, PointingAttributeFromBin > fromBinMethods
Definition: PointingRow.h:1255
void pointingTrackingFromBin(EndianIStream &eis)
bool pointingTracking
===&gt; Attribute pointingTracking
Definition: PointingRow.h:1057
ArrayTime sourceOffsetEquinox
Definition: PointingRow.h:1175
void numSampleFromText(const std::string &s)
void atmosphericCorrectionFromText(const std::string &s)
void sourceOffsetEquinoxFromText(const std::string &s)
void sampledTimeIntervalFromBin(EndianIStream &eis)
bool usePolynomials
===&gt; Attribute usePolynomials
Definition: PointingRow.h:1068
void setPointingModelId(int pointingModelId)
Set pointingModelId with the specified int.
void sourceOffsetReferenceCodeFromBin(EndianIStream &eis)
void setFromIDL(asdmIDL::PointingRowIDL x)
Fill the values of this row from the IDL struct PointingRowIDL.
asdmIDL::PointingRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void overTheTopFromText(const std::string &s)
int getPointingModelId() const
===&gt; Attribute pointingModelId
bool isSourceOffsetEquinoxExists() const
===&gt; Attribute sourceOffsetEquinox, which is optional
void encoderFromText(const std::string &s)
void setPointingDirection(std::vector< std::vector< Angle > > pointingDirection)
Set pointingDirection with the specified std::vector&lt;std::vector&lt;Angle &gt; &gt;.
void targetFromBin(EndianIStream &eis)
PointingRow(PointingTable &table)
Create a PointingRow.
void setEncoder(std::vector< std::vector< Angle > > encoder)
Set encoder with the specified std::vector&lt;std::vector&lt;Angle &gt; &gt;.
void timeIntervalFromBin(EndianIStream &eis)
std::vector< ArrayTimeInterval > getSampledTimeInterval() const
Get sampledTimeInterval, which is optional.
bool sourceOffsetReferenceCodeExists
===&gt; Attribute sourceOffsetReferenceCode, which is optional
Definition: PointingRow.h:1159
The AntennaRow class is a row of a AntennaTable.
Definition: AntennaRow.h:120
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
void numTermFromBin(EndianIStream &eis)
void atmosphericCorrectionFromBin(EndianIStream &eis)
void timeOriginFromBin(EndianIStream &eis)
void setSampledTimeInterval(std::vector< ArrayTimeInterval > sampledTimeInterval)
Set sampledTimeInterval with the specified std::vector&lt;ArrayTimeInterval &gt;.
void setSourceOffsetEquinox(ArrayTime sourceOffsetEquinox)
Set sourceOffsetEquinox with the specified ArrayTime.
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
Definition: ArrayTime.h:89
bool getPointingTracking() const
===&gt; Attribute pointingTracking
void setNumSample(int numSample)
Set numSample with the specified int.
virtual ~PointingRow()
friend class asdm::TableStreamReader&lt;PointingTable, PointingRow&gt;;
void setSourceOffsetReferenceCode(DirectionReferenceCodeMod::DirectionReferenceCode sourceOffsetReferenceCode)
Set sourceOffsetReferenceCode with the specified DirectionReferenceCodeMod::DirectionReferenceCode.
void clearSourceOffsetEquinox()
Mark sourceOffsetEquinox, which is an optional field, as non-existent.
void usePolynomialsFromText(const std::string &s)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
Definition: Tag.h:73
bool sampledTimeIntervalExists
===&gt; Attribute sampledTimeInterval, which is optional
Definition: PointingRow.h:1185
bool isSourceOffsetReferenceCodeExists() const
===&gt; Attribute sourceOffsetReferenceCode, which is optional
void sourceOffsetFromText(const std::string &s)
void sourceOffsetFromBin(EndianIStream &eis)
void clearAtmosphericCorrection()
Mark atmosphericCorrection, which is an optional field, as non-existent.
void setUsePolynomials(bool usePolynomials)
Set usePolynomials with the specified bool.
int pointingModelId
===&gt; Attribute pointingModelId
Definition: PointingRow.h:1227
void offsetFromText(const std::string &s)
void setAtmosphericCorrection(std::vector< std::vector< Angle > > atmosphericCorrection)
Set atmosphericCorrection with the specified std::vector&lt;std::vector&lt;Angle &gt; &gt;.
bool isSourceOffsetExists() const
===&gt; Attribute sourceOffset, which is optional
DirectionReferenceCodeMod::DirectionReferenceCode sourceOffsetReferenceCode
Definition: PointingRow.h:1162
void clearOverTheTop()
Mark overTheTop, which is an optional field, as non-existent.
ArrayTime getSourceOffsetEquinox() const
Get sourceOffsetEquinox, which is optional.
void sourceOffsetReferenceCodeFromText(const std::string &s)
bool compareNoAutoInc(Tag antennaId, ArrayTimeInterval timeInterval, int numSample, std::vector< std::vector< Angle > > encoder, bool pointingTracking, bool usePolynomials, ArrayTime timeOrigin, int numTerm, std::vector< std::vector< Angle > > pointingDirection, std::vector< std::vector< Angle > > target, std::vector< std::vector< Angle > > offset, int pointingModelId)
Compare each mandatory attribute except the autoincrementable one of this PointingRow with the corres...
std::vector< std::vector< Angle > > pointingDirection
===&gt; Attribute pointingDirection
Definition: PointingRow.h:1101
void numTermFromText(const std::string &s)
void pointingDirectionFromText(const std::string &s)
ArrayTime timeOrigin
===&gt; Attribute timeOrigin
Definition: PointingRow.h:1079
bool sourceOffsetEquinoxExists
===&gt; Attribute sourceOffsetEquinox, which is optional
Definition: PointingRow.h:1172
std::vector< std::vector< Angle > > encoder
===&gt; Attribute encoder
Definition: PointingRow.h:1046
void usePolynomialsFromBin(EndianIStream &eis)
std::vector< std::vector< Angle > > getOffset() const
===&gt; Attribute offset
std::vector< std::vector< Angle > > atmosphericCorrection
Definition: PointingRow.h:1201
ArrayTime getTimeOrigin() const
===&gt; Attribute timeOrigin
void numSampleFromBin(EndianIStream &eis)
std::string toXML() const
Return this row in the form of an XML string.
int numSample
===&gt; Attribute numSample
Definition: PointingRow.h:1035
void antennaIdFromText(const std::string &s)
void offsetFromBin(EndianIStream &eis)
std::vector< std::vector< Angle > > sourceOffset
Definition: PointingRow.h:1149
void sampledTimeIntervalFromText(const std::string &s)
int numTerm
===&gt; Attribute numTerm
Definition: PointingRow.h:1090
void pointingDirectionFromBin(EndianIStream &eis)
bool equalByRequiredValue(PointingRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void setNumTerm(int numTerm)
Set numTerm with the specified int.
void setAntennaId(Tag antennaId)
Set antennaId with the specified Tag.
std::vector< std::vector< Angle > > target
===&gt; Attribute target
Definition: PointingRow.h:1112
void(PointingRow::* PointingAttributeFromBin)(EndianIStream &eis)
Definition: PointingRow.h:129
void timeIntervalFromText(const std::string &s)
void pointingTrackingFromText(const std::string &s)
PointingTable & table
The table to which this row belongs.
Definition: PointingRow.h:976
bool isSampledTimeIntervalExists() const
===&gt; Attribute sampledTimeInterval, which is optional