casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CalFluxRow.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 CalFluxRow.h
32  */
33 
34 #ifndef CalFluxRow_CLASS
35 #define CalFluxRow_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 
51 #include <alma/ASDM/Angle.h>
52 
53 
54 
55 #include <alma/ASDM/ArrayTime.h>
56 
57 
58 
59 #include <alma/ASDM/Frequency.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 
83 
84 
85 
86 
87 
88 
89 
91 
92 
93 
94 
95 
97 
98 
99 
100 
101 
102 
103 
104 
105 
106 
107 
108 
109 
111 
112 
113 
114 
116 #include <alma/ASDM/NoSuchRow.h>
118 
120 //#include <alma/ASDM/TableStreamReader.h>
121 
122 /*\file CalFlux.h
123  \brief Generated from model's revision "-1", branch ""
124 */
125 
126 namespace asdm {
127 
128 //class asdm::CalFluxTable;
129 
130 
131 // class asdm::CalDataRow;
132 class CalDataRow;
133 
134 // class asdm::CalReductionRow;
135 class CalReductionRow;
136 
137 
138 class CalFluxRow;
140 typedef void (CalFluxRow::*CalFluxAttributeFromText) (const std::string& s);
141 
148 class CalFluxRow {
149 friend class asdm::CalFluxTable;
151 //friend class asdm::TableStreamReader<CalFluxTable, CalFluxRow>;
152 
153 public:
154 
155  virtual ~CalFluxRow();
156 
160  CalFluxTable &getTable() const;
161 
166  bool isAdded() const;
167 
169  // Intrinsic Table Attributes //
171 
172 
173  // ===> Attribute sourceName
174 
175 
176 
177 
178 
183  std::string getSourceName() const;
184 
185 
186 
187 
197  void setSourceName (std::string sourceName);
198 
199 
200 
201 
202 
203 
204 
205  // ===> Attribute startValidTime
206 
207 
208 
209 
210 
216 
217 
218 
219 
228 
229 
230 
231 
232 
233 
234 
235  // ===> Attribute endValidTime
236 
237 
238 
239 
240 
245  ArrayTime getEndValidTime() const;
246 
247 
248 
249 
258 
259 
260 
261 
262 
263 
264 
265  // ===> Attribute numFrequencyRanges
266 
267 
268 
269 
270 
275  int getNumFrequencyRanges() const;
276 
277 
278 
279 
288 
289 
290 
291 
292 
293 
294 
295  // ===> Attribute numStokes
296 
297 
298 
299 
300 
305  int getNumStokes() const;
306 
307 
308 
309 
317  void setNumStokes (int numStokes);
318 
319 
320 
321 
322 
323 
324 
325  // ===> Attribute frequencyRanges
326 
327 
328 
329 
330 
335  std::vector<std::vector<Frequency > > getFrequencyRanges() const;
336 
337 
338 
339 
347  void setFrequencyRanges (std::vector<std::vector<Frequency > > frequencyRanges);
348 
349 
350 
351 
352 
353 
354 
355  // ===> Attribute fluxMethod
356 
357 
358 
359 
360 
365  FluxCalibrationMethodMod::FluxCalibrationMethod getFluxMethod() const;
366 
367 
368 
369 
377  void setFluxMethod (FluxCalibrationMethodMod::FluxCalibrationMethod fluxMethod);
378 
379 
380 
381 
382 
383 
384 
385  // ===> Attribute flux
386 
387 
388 
389 
390 
395  std::vector<std::vector<double > > getFlux() const;
396 
397 
398 
399 
407  void setFlux (std::vector<std::vector<double > > flux);
408 
409 
410 
411 
412 
413 
414 
415  // ===> Attribute fluxError
416 
417 
418 
419 
420 
425  std::vector<std::vector<double > > getFluxError() const;
426 
427 
428 
429 
437  void setFluxError (std::vector<std::vector<double > > fluxError);
438 
439 
440 
441 
442 
443 
444 
445  // ===> Attribute stokes
446 
447 
448 
449 
450 
455  std::vector<StokesParameterMod::StokesParameter > getStokes() const;
456 
457 
458 
459 
467  void setStokes (std::vector<StokesParameterMod::StokesParameter > stokes);
468 
469 
470 
471 
472 
473 
474 
475  // ===> Attribute direction, which is optional
476 
477 
478 
483  bool isDirectionExists() const;
484 
485 
486 
492  std::vector<Angle > getDirection() const;
493 
494 
495 
496 
503  void setDirection (std::vector<Angle > direction);
504 
505 
506 
507 
511  void clearDirection ();
512 
513 
514 
515 
516  // ===> Attribute directionCode, which is optional
517 
518 
519 
524  bool isDirectionCodeExists() const;
525 
526 
527 
533  DirectionReferenceCodeMod::DirectionReferenceCode getDirectionCode() const;
534 
535 
536 
537 
544  void setDirectionCode (DirectionReferenceCodeMod::DirectionReferenceCode directionCode);
545 
546 
547 
548 
552  void clearDirectionCode ();
553 
554 
555 
556 
557  // ===> Attribute directionEquinox, which is optional
558 
559 
560 
565  bool isDirectionEquinoxExists() const;
566 
567 
568 
574  Angle getDirectionEquinox() const;
575 
576 
577 
578 
586 
587 
588 
589 
593  void clearDirectionEquinox ();
594 
595 
596 
597 
598  // ===> Attribute PA, which is optional
599 
600 
601 
606  bool isPAExists() const;
607 
608 
609 
615  std::vector<std::vector<Angle > > getPA() const;
616 
617 
618 
619 
626  void setPA (std::vector<std::vector<Angle > > PA);
627 
628 
629 
630 
634  void clearPA ();
635 
636 
637 
638 
639  // ===> Attribute PAError, which is optional
640 
641 
642 
647  bool isPAErrorExists() const;
648 
649 
650 
656  std::vector<std::vector<Angle > > getPAError() const;
657 
658 
659 
660 
667  void setPAError (std::vector<std::vector<Angle > > PAError);
668 
669 
670 
671 
675  void clearPAError ();
676 
677 
678 
679 
680  // ===> Attribute size, which is optional
681 
682 
683 
688  bool isSizeExists() const;
689 
690 
691 
697  std::vector<std::vector<std::vector<Angle > > > getSize() const;
698 
699 
700 
701 
708  void setSize (std::vector<std::vector<std::vector<Angle > > > size);
709 
710 
711 
712 
716  void clearSize ();
717 
718 
719 
720 
721  // ===> Attribute sizeError, which is optional
722 
723 
724 
729  bool isSizeErrorExists() const;
730 
731 
732 
738  std::vector<std::vector<std::vector<Angle > > > getSizeError() const;
739 
740 
741 
742 
749  void setSizeError (std::vector<std::vector<std::vector<Angle > > > sizeError);
750 
751 
752 
753 
757  void clearSizeError ();
758 
759 
760 
761 
762  // ===> Attribute sourceModel, which is optional
763 
764 
765 
770  bool isSourceModelExists() const;
771 
772 
773 
779  SourceModelMod::SourceModel getSourceModel() const;
780 
781 
782 
783 
790  void setSourceModel (SourceModelMod::SourceModel sourceModel);
791 
792 
793 
794 
798  void clearSourceModel ();
799 
800 
801 
803  // Extrinsic Table Attributes //
805 
806 
807  // ===> Attribute calDataId
808 
809 
810 
811 
812 
817  Tag getCalDataId() const;
818 
819 
820 
821 
831  void setCalDataId (Tag calDataId);
832 
833 
834 
835 
836 
837 
838 
839  // ===> Attribute calReductionId
840 
841 
842 
843 
844 
849  Tag getCalReductionId() const;
850 
851 
852 
853 
864 
865 
866 
867 
868 
869 
871  // Links //
873 
874 
875 
876 
877 
885 
886 
887 
888 
889 
890 
891 
892 
900 
901 
902 
903 
904 
905 
906 
936  bool compareNoAutoInc(std::string sourceName, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, int numFrequencyRanges, int numStokes, std::vector<std::vector<Frequency > > frequencyRanges, FluxCalibrationMethodMod::FluxCalibrationMethod fluxMethod, std::vector<std::vector<double > > flux, std::vector<std::vector<double > > fluxError, std::vector<StokesParameterMod::StokesParameter > stokes);
937 
938 
939 
940 
964  bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, int numFrequencyRanges, int numStokes, std::vector<std::vector<Frequency > > frequencyRanges, FluxCalibrationMethodMod::FluxCalibrationMethod fluxMethod, std::vector<std::vector<double > > flux, std::vector<std::vector<double > > fluxError, std::vector<StokesParameterMod::StokesParameter > stokes);
965 
966 
976 
977 #ifndef WITHOUT_ACS
978 
982  asdmIDL::CalFluxRowIDL *toIDL() const;
983 
991  void toIDL(asdmIDL::CalFluxRowIDL& x) const;
992 #endif
993 
994 #ifndef WITHOUT_ACS
995 
1000  void setFromIDL (asdmIDL::CalFluxRowIDL x) ;
1001 #endif
1002 
1007  std::string toXML() const;
1008 
1015  void setFromXML (std::string rowDoc) ;
1016 
1019  // binary-deserialization material from an EndianIStream //
1021 
1022  std::map<std::string, CalFluxAttributeFromBin> fromBinMethods;
1023 void sourceNameFromBin( EndianIStream& eis);
1024 void calDataIdFromBin( EndianIStream& eis);
1029 void numStokesFromBin( EndianIStream& eis);
1031 void fluxMethodFromBin( EndianIStream& eis);
1032 void fluxFromBin( EndianIStream& eis);
1033 void fluxErrorFromBin( EndianIStream& eis);
1034 void stokesFromBin( EndianIStream& eis);
1035 
1036 void directionFromBin( EndianIStream& eis);
1039 void PAFromBin( EndianIStream& eis);
1040 void PAErrorFromBin( EndianIStream& eis);
1041 void sizeFromBin( EndianIStream& eis);
1042 void sizeErrorFromBin( EndianIStream& eis);
1043 void sourceModelFromBin( EndianIStream& eis);
1044 
1045 
1053  static CalFluxRow* fromBin(EndianIStream& eis, CalFluxTable& table, const std::vector<std::string>& attributesSeq);
1054 
1061  void fromText(const std::string& attributeName, const std::string& t);
1063 
1064 private:
1073 
1074  // This method is used by the Table class when this row is added to the table.
1075  void isAdded(bool added);
1076 
1077 
1087 
1106 
1108  // Intrinsic Table Attributes //
1110 
1111 
1112  // ===> Attribute sourceName
1113 
1114 
1115 
1116  std::string sourceName;
1117 
1118 
1119 
1120 
1121 
1122 
1123  // ===> Attribute startValidTime
1124 
1125 
1126 
1128 
1129 
1130 
1131 
1132 
1133 
1134  // ===> Attribute endValidTime
1135 
1136 
1137 
1139 
1140 
1141 
1142 
1143 
1144 
1145  // ===> Attribute numFrequencyRanges
1146 
1147 
1148 
1150 
1151 
1152 
1153 
1154 
1155 
1156  // ===> Attribute numStokes
1157 
1158 
1159 
1161 
1162 
1163 
1164 
1165 
1166 
1167  // ===> Attribute frequencyRanges
1168 
1169 
1170 
1171  std::vector<std::vector<Frequency > > frequencyRanges;
1172 
1173 
1174 
1175 
1176 
1177 
1178  // ===> Attribute fluxMethod
1179 
1180 
1181 
1182  FluxCalibrationMethodMod::FluxCalibrationMethod fluxMethod;
1183 
1184 
1185 
1186 
1187 
1188 
1189  // ===> Attribute flux
1190 
1191 
1192 
1193  std::vector<std::vector<double > > flux;
1194 
1195 
1196 
1197 
1198 
1199 
1200  // ===> Attribute fluxError
1201 
1202 
1203 
1204  std::vector<std::vector<double > > fluxError;
1205 
1206 
1207 
1208 
1209 
1210 
1211  // ===> Attribute stokes
1212 
1213 
1214 
1215  std::vector<StokesParameterMod::StokesParameter > stokes;
1216 
1217 
1218 
1219 
1220 
1221 
1222  // ===> Attribute direction, which is optional
1223 
1224 
1226 
1227 
1228  std::vector<Angle > direction;
1229 
1230 
1231 
1232 
1233 
1234 
1235  // ===> Attribute directionCode, which is optional
1236 
1237 
1239 
1240 
1241  DirectionReferenceCodeMod::DirectionReferenceCode directionCode;
1242 
1243 
1244 
1245 
1246 
1247 
1248  // ===> Attribute directionEquinox, which is optional
1249 
1250 
1252 
1253 
1255 
1256 
1257 
1258 
1259 
1260 
1261  // ===> Attribute PA, which is optional
1262 
1263 
1264  bool PAExists;
1265 
1266 
1267  std::vector<std::vector<Angle > > PA;
1268 
1269 
1270 
1271 
1272 
1273 
1274  // ===> Attribute PAError, which is optional
1275 
1276 
1278 
1279 
1280  std::vector<std::vector<Angle > > PAError;
1281 
1282 
1283 
1284 
1285 
1286 
1287  // ===> Attribute size, which is optional
1288 
1289 
1291 
1292 
1293  std::vector<std::vector<std::vector<Angle > > > size;
1294 
1295 
1296 
1297 
1298 
1299 
1300  // ===> Attribute sizeError, which is optional
1301 
1302 
1304 
1305 
1306  std::vector<std::vector<std::vector<Angle > > > sizeError;
1307 
1308 
1309 
1310 
1311 
1312 
1313  // ===> Attribute sourceModel, which is optional
1314 
1315 
1317 
1318 
1319  SourceModelMod::SourceModel sourceModel;
1320 
1321 
1322 
1323 
1324 
1326  // Extrinsic Table Attributes //
1328 
1329 
1330  // ===> Attribute calDataId
1331 
1332 
1333 
1334  Tag calDataId;
1335 
1336 
1337 
1338 
1339 
1340 
1341  // ===> Attribute calReductionId
1342 
1343 
1344 
1346 
1347 
1348 
1349 
1350 
1352  // Links //
1354 
1355 
1356 
1357 
1358 
1359 
1360 
1361 
1362 
1363 
1364 
1365 
1366 
1367 
1368 
1369 
1370 /*
1372  // binary-deserialization material from an EndianIStream //
1374  std::map<std::string, CalFluxAttributeFromBin> fromBinMethods;
1375 void sourceNameFromBin( EndianIStream& eis);
1376 void calDataIdFromBin( EndianIStream& eis);
1377 void calReductionIdFromBin( EndianIStream& eis);
1378 void startValidTimeFromBin( EndianIStream& eis);
1379 void endValidTimeFromBin( EndianIStream& eis);
1380 void numFrequencyRangesFromBin( EndianIStream& eis);
1381 void numStokesFromBin( EndianIStream& eis);
1382 void frequencyRangesFromBin( EndianIStream& eis);
1383 void fluxMethodFromBin( EndianIStream& eis);
1384 void fluxFromBin( EndianIStream& eis);
1385 void fluxErrorFromBin( EndianIStream& eis);
1386 void stokesFromBin( EndianIStream& eis);
1387 
1388 void directionFromBin( EndianIStream& eis);
1389 void directionCodeFromBin( EndianIStream& eis);
1390 void directionEquinoxFromBin( EndianIStream& eis);
1391 void PAFromBin( EndianIStream& eis);
1392 void PAErrorFromBin( EndianIStream& eis);
1393 void sizeFromBin( EndianIStream& eis);
1394 void sizeErrorFromBin( EndianIStream& eis);
1395 void sourceModelFromBin( EndianIStream& eis);
1396 
1397 */
1398 
1400  // text-deserialization material //
1402  std::map<std::string, CalFluxAttributeFromText> fromTextMethods;
1403 
1404 void sourceNameFromText (const std::string & s);
1405 
1406 
1407 void calDataIdFromText (const std::string & s);
1408 
1409 
1410 void calReductionIdFromText (const std::string & s);
1411 
1412 
1413 void startValidTimeFromText (const std::string & s);
1414 
1415 
1416 void endValidTimeFromText (const std::string & s);
1417 
1418 
1419 void numFrequencyRangesFromText (const std::string & s);
1420 
1421 
1422 void numStokesFromText (const std::string & s);
1423 
1424 
1425 void frequencyRangesFromText (const std::string & s);
1426 
1427 
1428 void fluxMethodFromText (const std::string & s);
1429 
1430 
1431 void fluxFromText (const std::string & s);
1432 
1433 
1434 void fluxErrorFromText (const std::string & s);
1435 
1436 
1437 void stokesFromText (const std::string & s);
1438 
1439 
1440 
1441 void directionFromText (const std::string & s);
1442 
1443 
1444 void directionCodeFromText (const std::string & s);
1445 
1446 
1447 void directionEquinoxFromText (const std::string & s);
1448 
1449 
1450 void PAFromText (const std::string & s);
1451 
1452 
1453 void PAErrorFromText (const std::string & s);
1454 
1455 
1456 void sizeFromText (const std::string & s);
1457 
1458 
1459 void sizeErrorFromText (const std::string & s);
1460 
1461 
1462 void sourceModelFromText (const std::string & s);
1463 
1464 
1465 
1470  void toBin(EndianOSStream& eoss);
1471 
1481 };
1482 
1483 } // End namespace asdm
1484 
1485 #endif /* CalFlux_CLASS */
void startValidTimeFromBin(EndianIStream &eis)
void clearDirection()
Mark direction, which is an optional field, as non-existent.
void numStokesFromText(const std::string &s)
void sourceModelFromBin(EndianIStream &eis)
CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void sizeErrorFromText(const std::string &s)
CalFluxRow(CalFluxTable &table)
Create a CalFluxRow.
void frequencyRangesFromText(const std::string &s)
void setFlux(std::vector< std::vector< double > > flux)
Set flux with the specified std::vector&lt;std::vector&lt;double &gt; &gt;.
void PAErrorFromText(const std::string &s)
void stokesFromText(const std::string &s)
Tag getCalReductionId() const
===&gt; Attribute calReductionId
void sourceNameFromBin(EndianIStream &eis)
SourceModelMod::SourceModel getSourceModel() const
Get sourceModel, which is optional.
bool directionEquinoxExists
===&gt; Attribute directionEquinox, which is optional
Definition: CalFluxRow.h:1251
void numFrequencyRangesFromText(const std::string &s)
std::vector< Angle > direction
Definition: CalFluxRow.h:1228
std::vector< StokesParameterMod::StokesParameter > stokes
===&gt; Attribute stokes
Definition: CalFluxRow.h:1215
bool hasBeenAdded
Whether this row has been added to the table or not.
Definition: CalFluxRow.h:1072
bool PAErrorExists
===&gt; Attribute PAError, which is optional
Definition: CalFluxRow.h:1277
void clearSize()
Mark size, which is an optional field, as non-existent.
void endValidTimeFromBin(EndianIStream &eis)
bool directionCodeExists
===&gt; Attribute directionCode, which is optional
Definition: CalFluxRow.h:1238
void sizeErrorFromBin(EndianIStream &eis)
void setNumStokes(int numStokes)
Set numStokes with the specified int.
int getNumStokes() const
===&gt; Attribute numStokes
bool isSourceModelExists() const
===&gt; Attribute sourceModel, which is optional
void setDirectionEquinox(Angle directionEquinox)
Set directionEquinox with the specified Angle.
void setPA(std::vector< std::vector< Angle > > PA)
Set PA with the specified std::vector&lt;std::vector&lt;Angle &gt; &gt;.
void sourceNameFromText(const std::string &s)
int numFrequencyRanges
===&gt; Attribute numFrequencyRanges
Definition: CalFluxRow.h:1149
bool sourceModelExists
===&gt; Attribute sourceModel, which is optional
Definition: CalFluxRow.h:1316
void directionFromText(const std::string &s)
void fluxErrorFromText(const std::string &s)
DirectionReferenceCodeMod::DirectionReferenceCode getDirectionCode() const
Get directionCode, which is optional.
void setSizeError(std::vector< std::vector< std::vector< Angle > > > sizeError)
Set sizeError with the specified std::vector&lt;std::vector&lt;std::vector&lt;Angle &gt; &gt; &gt;. ...
Links *CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
bool isSizeExists() const
===&gt; Attribute size, which is optional
bool equalByRequiredValue(CalFluxRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
DirectionReferenceCodeMod::DirectionReferenceCode directionCode
Definition: CalFluxRow.h:1241
std::vector< std::vector< Angle > > getPA() const
Get PA, which is optional.
std::vector< std::vector< Angle > > PA
Definition: CalFluxRow.h:1267
void(CalFluxRow::* CalFluxAttributeFromText)(const std::string &s)
Definition: CalFluxRow.h:140
CalFluxTable & table
The table to which this row belongs.
Definition: CalFluxRow.h:1068
void directionFromBin(EndianIStream &eis)
void frequencyRangesFromBin(EndianIStream &eis)
void calReductionIdFromBin(EndianIStream &eis)
std::vector< std::vector< std::vector< Angle > > > getSize() const
Get size, which is optional.
void setStokes(std::vector< StokesParameterMod::StokesParameter > stokes)
Set stokes with the specified std::vector&lt;StokesParameterMod::StokesParameter &gt;.
void fluxFromBin(EndianIStream &eis)
void clearPA()
Mark PA, which is an optional field, as non-existent.
FluxCalibrationMethodMod::FluxCalibrationMethod fluxMethod
===&gt; Attribute fluxMethod
Definition: CalFluxRow.h:1182
void setFluxError(std::vector< std::vector< double > > fluxError)
Set fluxError with the specified std::vector&lt;std::vector&lt;double &gt; &gt;.
void directionCodeFromText(const std::string &s)
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
std::vector< std::vector< double > > fluxError
===&gt; Attribute fluxError
Definition: CalFluxRow.h:1204
std::vector< std::vector< double > > flux
===&gt; Attribute flux
Definition: CalFluxRow.h:1193
Tag calReductionId
===&gt; Attribute calReductionId
Definition: CalFluxRow.h:1345
void PAErrorFromBin(EndianIStream &eis)
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, int numFrequencyRanges, int numStokes, std::vector< std::vector< Frequency > > frequencyRanges, FluxCalibrationMethodMod::FluxCalibrationMethod fluxMethod, std::vector< std::vector< double > > flux, std::vector< std::vector< double > > fluxError, std::vector< StokesParameterMod::StokesParameter > stokes)
Compare each mandatory value (i.e.
void sizeFromBin(EndianIStream &eis)
void fluxFromText(const std::string &s)
void PAFromText(const std::string &s)
bool isPAErrorExists() const
===&gt; Attribute PAError, which is optional
The Angle class implements a quantity of angle in radians.
Definition: Angle.h:53
virtual ~CalFluxRow()
friend class asdm::TableStreamReader&lt;CalFluxTable, CalFluxRow&gt;;
void PAFromBin(EndianIStream &eis)
bool isDirectionEquinoxExists() const
===&gt; Attribute directionEquinox, which is optional
void setSourceModel(SourceModelMod::SourceModel sourceModel)
Set sourceModel with the specified SourceModelMod::SourceModel.
void setSize(std::vector< std::vector< std::vector< Angle > > > size)
Set size with the specified std::vector&lt;std::vector&lt;std::vector&lt;Angle &gt; &gt; &gt;.
std::vector< std::vector< Frequency > > frequencyRanges
===&gt; Attribute frequencyRanges
Definition: CalFluxRow.h:1171
std::vector< std::vector< std::vector< Angle > > > sizeError
Definition: CalFluxRow.h:1306
void setDirection(std::vector< Angle > direction)
Set direction with the specified std::vector&lt;Angle &gt;.
void numFrequencyRangesFromBin(EndianIStream &eis)
void directionEquinoxFromBin(EndianIStream &eis)
int numStokes
===&gt; Attribute numStokes
Definition: CalFluxRow.h:1160
void setFromIDL(asdmIDL::CalFluxRowIDL x)
Fill the values of this row from the IDL struct CalFluxRowIDL.
void setDirectionCode(DirectionReferenceCodeMod::DirectionReferenceCode directionCode)
Set directionCode with the specified DirectionReferenceCodeMod::DirectionReferenceCode.
The CalReductionRow class is a row of a CalReductionTable.
void setPAError(std::vector< std::vector< Angle > > PAError)
Set PAError with the specified std::vector&lt;std::vector&lt;Angle &gt; &gt;.
std::vector< std::vector< std::vector< Angle > > > size
Definition: CalFluxRow.h:1293
std::vector< std::vector< Frequency > > getFrequencyRanges() const
===&gt; Attribute frequencyRanges
void(CalFluxRow::* CalFluxAttributeFromBin)(EndianIStream &eis)
Definition: CalFluxRow.h:139
bool isDirectionExists() const
===&gt; Attribute direction, which is optional
std::vector< Angle > getDirection() const
Get direction, which is optional.
The CalFluxRow class is a row of a CalFluxTable.
Definition: CalFluxRow.h:148
bool isPAExists() const
===&gt; Attribute PA, which is optional
CalFluxTable & getTable() const
Return the table to which this row belongs.
void clearDirectionEquinox()
Mark directionEquinox, which is an optional field, as non-existent.
bool PAExists
===&gt; Attribute PA, which is optional
Definition: CalFluxRow.h:1264
void endValidTimeFromText(const std::string &s)
asdmIDL::CalFluxRowIDL * toIDL() const
Return this row in the form of an IDL struct.
FluxCalibrationMethodMod::FluxCalibrationMethod getFluxMethod() const
===&gt; Attribute fluxMethod
bool compareNoAutoInc(std::string sourceName, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, int numFrequencyRanges, int numStokes, std::vector< std::vector< Frequency > > frequencyRanges, FluxCalibrationMethodMod::FluxCalibrationMethod fluxMethod, std::vector< std::vector< double > > flux, std::vector< std::vector< double > > fluxError, std::vector< StokesParameterMod::StokesParameter > stokes)
Compare each mandatory attribute except the autoincrementable one of this CalFluxRow with the corresp...
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
void setFrequencyRanges(std::vector< std::vector< Frequency > > frequencyRanges)
Set frequencyRanges with the specified std::vector&lt;std::vector&lt;Frequency &gt; &gt;.
void stokesFromBin(EndianIStream &eis)
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
Definition: ArrayTime.h:89
void sizeFromText(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
void directionEquinoxFromText(const std::string &s)
void calDataIdFromBin(EndianIStream &eis)
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
ArrayTime startValidTime
===&gt; Attribute startValidTime
Definition: CalFluxRow.h:1127
std::vector< std::vector< double > > getFlux() const
===&gt; Attribute flux
Links *binary deserialization material from an EndianIStream std::map< std::string, CalFluxAttributeFromBin > fromBinMethods
Definition: CalFluxRow.h:1374
void clearSizeError()
Mark sizeError, which is an optional field, as non-existent.
void numStokesFromBin(EndianIStream &eis)
Angle getDirectionEquinox() const
Get directionEquinox, which is optional.
The CalFluxTable class is an Alma table.
Definition: CalFluxTable.h:303
void calReductionIdFromText(const std::string &s)
void setSourceName(std::string sourceName)
Set sourceName with the specified std::string.
void startValidTimeFromText(const std::string &s)
void clearPAError()
Mark PAError, which is an optional field, as non-existent.
std::vector< std::vector< Angle > > getPAError() const
Get PAError, which is optional.
bool isDirectionCodeExists() const
===&gt; Attribute directionCode, which is optional
void clearSourceModel()
Mark sourceModel, which is an optional field, as non-existent.
ArrayTime getEndValidTime() const
===&gt; Attribute endValidTime
*text deserialization material std::map< std::string, CalFluxAttributeFromText > fromTextMethods
Definition: CalFluxRow.h:1402
ArrayTime getStartValidTime() const
===&gt; Attribute startValidTime
void calDataIdFromText(const std::string &s)
SourceModelMod::SourceModel sourceModel
Definition: CalFluxRow.h:1319
std::vector< std::vector< std::vector< Angle > > > getSizeError() const
Get sizeError, which is optional.
bool directionExists
===&gt; Attribute direction, which is optional
Definition: CalFluxRow.h:1225
void clearDirectionCode()
Mark directionCode, which is an optional field, as non-existent.
std::vector< std::vector< double > > getFluxError() const
===&gt; Attribute fluxError
bool isAdded() const
Has this row been added to its table ?
void fluxErrorFromBin(EndianIStream &eis)
void setFluxMethod(FluxCalibrationMethodMod::FluxCalibrationMethod fluxMethod)
Set fluxMethod with the specified FluxCalibrationMethodMod::FluxCalibrationMethod.
The CalDataRow class is a row of a CalDataTable.
Definition: CalDataRow.h:130
int getNumFrequencyRanges() const
===&gt; Attribute numFrequencyRanges
bool sizeErrorExists
===&gt; Attribute sizeError, which is optional
Definition: CalFluxRow.h:1303
bool sizeExists
===&gt; Attribute size, which is optional
Definition: CalFluxRow.h:1290
std::string toXML() const
Return this row in the form of an XML string.
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void directionCodeFromBin(EndianIStream &eis)
void fluxMethodFromText(const std::string &s)
bool isSizeErrorExists() const
===&gt; Attribute sizeError, which is optional
std::vector< std::vector< Angle > > PAError
Definition: CalFluxRow.h:1280
void fluxMethodFromBin(EndianIStream &eis)
std::vector< StokesParameterMod::StokesParameter > getStokes() const
===&gt; Attribute stokes
Angle directionEquinox
Definition: CalFluxRow.h:1254
ArrayTime endValidTime
===&gt; Attribute endValidTime
Definition: CalFluxRow.h:1138
void setNumFrequencyRanges(int numFrequencyRanges)
Set numFrequencyRanges with the specified int.
void sourceModelFromText(const std::string &s)