casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SysCalRow.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 SysCalRow.h
32  */
33 
34 #ifndef SysCalRow_CLASS
35 #define SysCalRow_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/Temperature.h>
56 
57 
58 
59 #include <alma/ASDM/Tag.h>
60 
61 
62 
63 
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 
94 
95 
96 
97 
98 
99 
100 
102 #include <alma/ASDM/NoSuchRow.h>
104 
106 //#include <alma/ASDM/TableStreamReader.h>
107 
108 /*\file SysCal.h
109  \brief Generated from model's revision "-1", branch ""
110 */
111 
112 namespace asdm {
113 
114 //class asdm::SysCalTable;
115 
116 
117 // class asdm::AntennaRow;
118 class AntennaRow;
119 
120 // class asdm::FeedRow;
121 class FeedRow;
122 
123 // class asdm::SpectralWindowRow;
124 class SpectralWindowRow;
125 
126 
127 class SysCalRow;
129 typedef void (SysCalRow::*SysCalAttributeFromText) (const std::string& s);
130 
137 class SysCalRow {
138 friend class asdm::SysCalTable;
140 //friend class asdm::TableStreamReader<SysCalTable, SysCalRow>;
141 
142 public:
143 
144  virtual ~SysCalRow();
145 
149  SysCalTable &getTable() const;
150 
155  bool isAdded() const;
156 
158  // Intrinsic Table Attributes //
160 
161 
162  // ===> Attribute timeInterval
163 
164 
165 
166 
167 
172  ArrayTimeInterval getTimeInterval() const;
173 
174 
175 
176 
186  void setTimeInterval (ArrayTimeInterval timeInterval);
187 
188 
189 
190 
191 
192 
193 
194  // ===> Attribute numReceptor
195 
196 
197 
198 
199 
204  int getNumReceptor() const;
205 
206 
207 
208 
216  void setNumReceptor (int numReceptor);
217 
218 
219 
220 
221 
222 
223 
224  // ===> Attribute numChan
225 
226 
227 
228 
229 
234  int getNumChan() const;
235 
236 
237 
238 
246  void setNumChan (int numChan);
247 
248 
249 
250 
251 
252 
253 
254  // ===> Attribute tcalFlag, which is optional
255 
256 
257 
262  bool isTcalFlagExists() const;
263 
264 
265 
271  bool getTcalFlag() const;
272 
273 
274 
275 
282  void setTcalFlag (bool tcalFlag);
283 
284 
285 
286 
290  void clearTcalFlag ();
291 
292 
293 
294 
295  // ===> Attribute tcalSpectrum, which is optional
296 
297 
298 
303  bool isTcalSpectrumExists() const;
304 
305 
306 
312  std::vector<std::vector<Temperature > > getTcalSpectrum() const;
313 
314 
315 
316 
323  void setTcalSpectrum (std::vector<std::vector<Temperature > > tcalSpectrum);
324 
325 
326 
327 
331  void clearTcalSpectrum ();
332 
333 
334 
335 
336  // ===> Attribute trxFlag, which is optional
337 
338 
339 
344  bool isTrxFlagExists() const;
345 
346 
347 
353  bool getTrxFlag() const;
354 
355 
356 
357 
364  void setTrxFlag (bool trxFlag);
365 
366 
367 
368 
372  void clearTrxFlag ();
373 
374 
375 
376 
377  // ===> Attribute trxSpectrum, which is optional
378 
379 
380 
385  bool isTrxSpectrumExists() const;
386 
387 
388 
394  std::vector<std::vector<Temperature > > getTrxSpectrum() const;
395 
396 
397 
398 
405  void setTrxSpectrum (std::vector<std::vector<Temperature > > trxSpectrum);
406 
407 
408 
409 
413  void clearTrxSpectrum ();
414 
415 
416 
417 
418  // ===> Attribute tskyFlag, which is optional
419 
420 
421 
426  bool isTskyFlagExists() const;
427 
428 
429 
435  bool getTskyFlag() const;
436 
437 
438 
439 
446  void setTskyFlag (bool tskyFlag);
447 
448 
449 
450 
454  void clearTskyFlag ();
455 
456 
457 
458 
459  // ===> Attribute tskySpectrum, which is optional
460 
461 
462 
467  bool isTskySpectrumExists() const;
468 
469 
470 
476  std::vector<std::vector<Temperature > > getTskySpectrum() const;
477 
478 
479 
480 
487  void setTskySpectrum (std::vector<std::vector<Temperature > > tskySpectrum);
488 
489 
490 
491 
495  void clearTskySpectrum ();
496 
497 
498 
499 
500  // ===> Attribute tsysFlag, which is optional
501 
502 
503 
508  bool isTsysFlagExists() const;
509 
510 
511 
517  bool getTsysFlag() const;
518 
519 
520 
521 
528  void setTsysFlag (bool tsysFlag);
529 
530 
531 
532 
536  void clearTsysFlag ();
537 
538 
539 
540 
541  // ===> Attribute tsysSpectrum, which is optional
542 
543 
544 
549  bool isTsysSpectrumExists() const;
550 
551 
552 
558  std::vector<std::vector<Temperature > > getTsysSpectrum() const;
559 
560 
561 
562 
569  void setTsysSpectrum (std::vector<std::vector<Temperature > > tsysSpectrum);
570 
571 
572 
573 
577  void clearTsysSpectrum ();
578 
579 
580 
581 
582  // ===> Attribute tantFlag, which is optional
583 
584 
585 
590  bool isTantFlagExists() const;
591 
592 
593 
599  bool getTantFlag() const;
600 
601 
602 
603 
610  void setTantFlag (bool tantFlag);
611 
612 
613 
614 
618  void clearTantFlag ();
619 
620 
621 
622 
623  // ===> Attribute tantSpectrum, which is optional
624 
625 
626 
631  bool isTantSpectrumExists() const;
632 
633 
634 
640  std::vector<std::vector<float > > getTantSpectrum() const;
641 
642 
643 
644 
651  void setTantSpectrum (std::vector<std::vector<float > > tantSpectrum);
652 
653 
654 
655 
659  void clearTantSpectrum ();
660 
661 
662 
663 
664  // ===> Attribute tantTsysFlag, which is optional
665 
666 
667 
672  bool isTantTsysFlagExists() const;
673 
674 
675 
681  bool getTantTsysFlag() const;
682 
683 
684 
685 
692  void setTantTsysFlag (bool tantTsysFlag);
693 
694 
695 
696 
700  void clearTantTsysFlag ();
701 
702 
703 
704 
705  // ===> Attribute tantTsysSpectrum, which is optional
706 
707 
708 
713  bool isTantTsysSpectrumExists() const;
714 
715 
716 
722  std::vector<std::vector<float > > getTantTsysSpectrum() const;
723 
724 
725 
726 
733  void setTantTsysSpectrum (std::vector<std::vector<float > > tantTsysSpectrum);
734 
735 
736 
737 
741  void clearTantTsysSpectrum ();
742 
743 
744 
745 
746  // ===> Attribute phaseDiffFlag, which is optional
747 
748 
749 
754  bool isPhaseDiffFlagExists() const;
755 
756 
757 
763  bool getPhaseDiffFlag() const;
764 
765 
766 
767 
774  void setPhaseDiffFlag (bool phaseDiffFlag);
775 
776 
777 
778 
782  void clearPhaseDiffFlag ();
783 
784 
785 
786 
787  // ===> Attribute phaseDiffSpectrum, which is optional
788 
789 
790 
795  bool isPhaseDiffSpectrumExists() const;
796 
797 
798 
804  std::vector<std::vector<float > > getPhaseDiffSpectrum() const;
805 
806 
807 
808 
815  void setPhaseDiffSpectrum (std::vector<std::vector<float > > phaseDiffSpectrum);
816 
817 
818 
819 
823  void clearPhaseDiffSpectrum ();
824 
825 
826 
828  // Extrinsic Table Attributes //
830 
831 
832  // ===> Attribute antennaId
833 
834 
835 
836 
837 
842  Tag getAntennaId() const;
843 
844 
845 
846 
856  void setAntennaId (Tag antennaId);
857 
858 
859 
860 
861 
862 
863 
864  // ===> Attribute feedId
865 
866 
867 
868 
869 
874  int getFeedId() const;
875 
876 
877 
878 
888  void setFeedId (int feedId);
889 
890 
891 
892 
893 
894 
895 
896  // ===> Attribute spectralWindowId
897 
898 
899 
900 
901 
906  Tag getSpectralWindowId() const;
907 
908 
909 
910 
921 
922 
923 
924 
925 
926 
928  // Links //
930 
931 
932 
933 
934 
942 
943 
944 
945 
946 
947 
948 
949 
950  // ===> Slice link from a row of SysCal table to a collection of row of Feed table.
951 
957  std::vector <FeedRow *> getFeeds();
958 
959 
960 
961 
962 
963 
964 
965 
966 
974 
975 
976 
977 
978 
979 
980 
998  bool compareNoAutoInc(Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int feedId, int numReceptor, int numChan);
999 
1000 
1001 
1002 
1012  bool compareRequiredValue(int numReceptor, int numChan);
1013 
1014 
1023  bool equalByRequiredValue(SysCalRow* x) ;
1024 
1025 #ifndef WITHOUT_ACS
1026 
1030  asdmIDL::SysCalRowIDL *toIDL() const;
1031 
1039  void toIDL(asdmIDL::SysCalRowIDL& x) const;
1040 #endif
1041 
1042 #ifndef WITHOUT_ACS
1043 
1048  void setFromIDL (asdmIDL::SysCalRowIDL x) ;
1049 #endif
1050 
1055  std::string toXML() const;
1056 
1063  void setFromXML (std::string rowDoc) ;
1064 
1067  // binary-deserialization material from an EndianIStream //
1069 
1070  std::map<std::string, SysCalAttributeFromBin> fromBinMethods;
1071 void antennaIdFromBin( EndianIStream& eis);
1074 void feedIdFromBin( EndianIStream& eis);
1075 void numReceptorFromBin( EndianIStream& eis);
1076 void numChanFromBin( EndianIStream& eis);
1077 
1078 void tcalFlagFromBin( EndianIStream& eis);
1080 void trxFlagFromBin( EndianIStream& eis);
1081 void trxSpectrumFromBin( EndianIStream& eis);
1082 void tskyFlagFromBin( EndianIStream& eis);
1084 void tsysFlagFromBin( EndianIStream& eis);
1086 void tantFlagFromBin( EndianIStream& eis);
1092 
1093 
1101  static SysCalRow* fromBin(EndianIStream& eis, SysCalTable& table, const std::vector<std::string>& attributesSeq);
1102 
1109  void fromText(const std::string& attributeName, const std::string& t);
1111 
1112 private:
1121 
1122  // This method is used by the Table class when this row is added to the table.
1123  void isAdded(bool added);
1124 
1125 
1135 
1154 
1156  // Intrinsic Table Attributes //
1158 
1159 
1160  // ===> Attribute timeInterval
1161 
1162 
1163 
1164  ArrayTimeInterval timeInterval;
1165 
1166 
1167 
1168 
1169 
1170 
1171  // ===> Attribute numReceptor
1172 
1173 
1174 
1176 
1177 
1178 
1179 
1180 
1181 
1182  // ===> Attribute numChan
1183 
1184 
1185 
1186  int numChan;
1187 
1188 
1189 
1190 
1191 
1192 
1193  // ===> Attribute tcalFlag, which is optional
1194 
1195 
1197 
1198 
1199  bool tcalFlag;
1200 
1201 
1202 
1203 
1204 
1205 
1206  // ===> Attribute tcalSpectrum, which is optional
1207 
1208 
1210 
1211 
1212  std::vector<std::vector<Temperature > > tcalSpectrum;
1213 
1214 
1215 
1216 
1217 
1218 
1219  // ===> Attribute trxFlag, which is optional
1220 
1221 
1223 
1224 
1225  bool trxFlag;
1226 
1227 
1228 
1229 
1230 
1231 
1232  // ===> Attribute trxSpectrum, which is optional
1233 
1234 
1236 
1237 
1238  std::vector<std::vector<Temperature > > trxSpectrum;
1239 
1240 
1241 
1242 
1243 
1244 
1245  // ===> Attribute tskyFlag, which is optional
1246 
1247 
1249 
1250 
1251  bool tskyFlag;
1252 
1253 
1254 
1255 
1256 
1257 
1258  // ===> Attribute tskySpectrum, which is optional
1259 
1260 
1262 
1263 
1264  std::vector<std::vector<Temperature > > tskySpectrum;
1265 
1266 
1267 
1268 
1269 
1270 
1271  // ===> Attribute tsysFlag, which is optional
1272 
1273 
1275 
1276 
1277  bool tsysFlag;
1278 
1279 
1280 
1281 
1282 
1283 
1284  // ===> Attribute tsysSpectrum, which is optional
1285 
1286 
1288 
1289 
1290  std::vector<std::vector<Temperature > > tsysSpectrum;
1291 
1292 
1293 
1294 
1295 
1296 
1297  // ===> Attribute tantFlag, which is optional
1298 
1299 
1301 
1302 
1303  bool tantFlag;
1304 
1305 
1306 
1307 
1308 
1309 
1310  // ===> Attribute tantSpectrum, which is optional
1311 
1312 
1314 
1315 
1316  std::vector<std::vector<float > > tantSpectrum;
1317 
1318 
1319 
1320 
1321 
1322 
1323  // ===> Attribute tantTsysFlag, which is optional
1324 
1325 
1327 
1328 
1330 
1331 
1332 
1333 
1334 
1335 
1336  // ===> Attribute tantTsysSpectrum, which is optional
1337 
1338 
1340 
1341 
1342  std::vector<std::vector<float > > tantTsysSpectrum;
1343 
1344 
1345 
1346 
1347 
1348 
1349  // ===> Attribute phaseDiffFlag, which is optional
1350 
1351 
1353 
1354 
1356 
1357 
1358 
1359 
1360 
1361 
1362  // ===> Attribute phaseDiffSpectrum, which is optional
1363 
1364 
1366 
1367 
1368  std::vector<std::vector<float > > phaseDiffSpectrum;
1369 
1370 
1371 
1372 
1373 
1375  // Extrinsic Table Attributes //
1377 
1378 
1379  // ===> Attribute antennaId
1380 
1381 
1382 
1383  Tag antennaId;
1384 
1385 
1386 
1387 
1388 
1389 
1390  // ===> Attribute feedId
1391 
1392 
1393 
1394  int feedId;
1395 
1396 
1397 
1398 
1399 
1400 
1401  // ===> Attribute spectralWindowId
1402 
1403 
1404 
1406 
1407 
1408 
1409 
1410 
1412  // Links //
1414 
1415 
1416 
1417 
1418 
1419 
1420 
1421 
1422 
1423 
1424 
1425 
1426 
1427 
1428 
1429 
1430 
1431 
1432 
1433 
1434 
1435 
1436 /*
1438  // binary-deserialization material from an EndianIStream //
1440  std::map<std::string, SysCalAttributeFromBin> fromBinMethods;
1441 void antennaIdFromBin( EndianIStream& eis);
1442 void spectralWindowIdFromBin( EndianIStream& eis);
1443 void timeIntervalFromBin( EndianIStream& eis);
1444 void feedIdFromBin( EndianIStream& eis);
1445 void numReceptorFromBin( EndianIStream& eis);
1446 void numChanFromBin( EndianIStream& eis);
1447 
1448 void tcalFlagFromBin( EndianIStream& eis);
1449 void tcalSpectrumFromBin( EndianIStream& eis);
1450 void trxFlagFromBin( EndianIStream& eis);
1451 void trxSpectrumFromBin( EndianIStream& eis);
1452 void tskyFlagFromBin( EndianIStream& eis);
1453 void tskySpectrumFromBin( EndianIStream& eis);
1454 void tsysFlagFromBin( EndianIStream& eis);
1455 void tsysSpectrumFromBin( EndianIStream& eis);
1456 void tantFlagFromBin( EndianIStream& eis);
1457 void tantSpectrumFromBin( EndianIStream& eis);
1458 void tantTsysFlagFromBin( EndianIStream& eis);
1459 void tantTsysSpectrumFromBin( EndianIStream& eis);
1460 void phaseDiffFlagFromBin( EndianIStream& eis);
1461 void phaseDiffSpectrumFromBin( EndianIStream& eis);
1462 
1463 */
1464 
1466  // text-deserialization material //
1468  std::map<std::string, SysCalAttributeFromText> fromTextMethods;
1469 
1470 void antennaIdFromText (const std::string & s);
1471 
1472 
1473 void spectralWindowIdFromText (const std::string & s);
1474 
1475 
1476 void timeIntervalFromText (const std::string & s);
1477 
1478 
1479 void feedIdFromText (const std::string & s);
1480 
1481 
1482 void numReceptorFromText (const std::string & s);
1483 
1484 
1485 void numChanFromText (const std::string & s);
1486 
1487 
1488 
1489 void tcalFlagFromText (const std::string & s);
1490 
1491 
1492 void tcalSpectrumFromText (const std::string & s);
1493 
1494 
1495 void trxFlagFromText (const std::string & s);
1496 
1497 
1498 void trxSpectrumFromText (const std::string & s);
1499 
1500 
1501 void tskyFlagFromText (const std::string & s);
1502 
1503 
1504 void tskySpectrumFromText (const std::string & s);
1505 
1506 
1507 void tsysFlagFromText (const std::string & s);
1508 
1509 
1510 void tsysSpectrumFromText (const std::string & s);
1511 
1512 
1513 void tantFlagFromText (const std::string & s);
1514 
1515 
1516 void tantSpectrumFromText (const std::string & s);
1517 
1518 
1519 void tantTsysFlagFromText (const std::string & s);
1520 
1521 
1522 void tantTsysSpectrumFromText (const std::string & s);
1523 
1524 
1525 void phaseDiffFlagFromText (const std::string & s);
1526 
1527 
1528 void phaseDiffSpectrumFromText (const std::string & s);
1529 
1530 
1531 
1536  void toBin(EndianOSStream& eoss);
1537 
1547 };
1548 
1549 } // End namespace asdm
1550 
1551 #endif /* SysCal_CLASS */
bool tantTsysFlagExists
===&gt; Attribute tantTsysFlag, which is optional
Definition: SysCalRow.h:1326
void setSpectralWindowId(Tag spectralWindowId)
Set spectralWindowId with the specified Tag.
int numReceptor
===&gt; Attribute numReceptor
Definition: SysCalRow.h:1175
void setTantFlag(bool tantFlag)
Set tantFlag with the specified bool.
void clearTcalFlag()
Mark tcalFlag, which is an optional field, as non-existent.
std::vector< std::vector< float > > tantTsysSpectrum
Definition: SysCalRow.h:1342
bool isTcalSpectrumExists() const
===&gt; Attribute tcalSpectrum, which is optional
bool isTantFlagExists() const
===&gt; Attribute tantFlag, which is optional
void tskySpectrumFromText(const std::string &s)
std::vector< std::vector< float > > getTantTsysSpectrum() const
Get tantTsysSpectrum, which is optional.
bool isTcalFlagExists() const
===&gt; Attribute tcalFlag, which is optional
void setPhaseDiffSpectrum(std::vector< std::vector< float > > phaseDiffSpectrum)
Set phaseDiffSpectrum with the specified std::vector&lt;std::vector&lt;float &gt; &gt;.
SysCalTable & getTable() const
Return the table to which this row belongs.
bool tantSpectrumExists
===&gt; Attribute tantSpectrum, which is optional
Definition: SysCalRow.h:1313
std::vector< std::vector< Temperature > > getTrxSpectrum() const
Get trxSpectrum, which is optional.
bool isTantTsysFlagExists() const
===&gt; Attribute tantTsysFlag, which is optional
SpectralWindowRow * getSpectralWindowUsingSpectralWindowId()
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
*text deserialization material std::map< std::string, SysCalAttributeFromText > fromTextMethods
Definition: SysCalRow.h:1468
bool equalByRequiredValue(SysCalRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void clearTskyFlag()
Mark tskyFlag, which is an optional field, as non-existent.
void feedIdFromText(const std::string &s)
bool isTskySpectrumExists() const
===&gt; Attribute tskySpectrum, which is optional
void timeIntervalFromText(const std::string &s)
bool tsysSpectrumExists
===&gt; Attribute tsysSpectrum, which is optional
Definition: SysCalRow.h:1287
void tantTsysFlagFromBin(EndianIStream &eis)
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
SysCalRow(SysCalTable &table)
Create a SysCalRow.
void clearTantTsysSpectrum()
Mark tantTsysSpectrum, which is an optional field, as non-existent.
void setNumChan(int numChan)
Set numChan with the specified int.
void numReceptorFromText(const std::string &s)
void setAntennaId(Tag antennaId)
Set antennaId with the specified Tag.
bool getTcalFlag() const
Get tcalFlag, which is optional.
bool compareNoAutoInc(Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int feedId, int numReceptor, int numChan)
Compare each mandatory attribute except the autoincrementable one of this SysCalRow with the correspo...
void setTantSpectrum(std::vector< std::vector< float > > tantSpectrum)
Set tantSpectrum with the specified std::vector&lt;std::vector&lt;float &gt; &gt;.
void setTcalSpectrum(std::vector< std::vector< Temperature > > tcalSpectrum)
Set tcalSpectrum with the specified std::vector&lt;std::vector&lt;Temperature &gt; &gt;.
void clearPhaseDiffFlag()
Mark phaseDiffFlag, which is an optional field, as non-existent.
void trxFlagFromText(const std::string &s)
bool tcalSpectrumExists
===&gt; Attribute tcalSpectrum, which is optional
Definition: SysCalRow.h:1209
std::vector< std::vector< Temperature > > trxSpectrum
Definition: SysCalRow.h:1238
void tskyFlagFromText(const std::string &s)
void setTcalFlag(bool tcalFlag)
Set tcalFlag with the specified bool.
std::vector< std::vector< float > > getPhaseDiffSpectrum() const
Get phaseDiffSpectrum, which is optional.
bool hasBeenAdded
Whether this row has been added to the table or not.
Definition: SysCalRow.h:1120
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
void trxSpectrumFromBin(EndianIStream &eis)
bool tsysFlagExists
===&gt; Attribute tsysFlag, which is optional
Definition: SysCalRow.h:1274
void(SysCalRow::* SysCalAttributeFromBin)(EndianIStream &eis)
Definition: SysCalRow.h:128
void setTrxSpectrum(std::vector< std::vector< Temperature > > trxSpectrum)
Set trxSpectrum with the specified std::vector&lt;std::vector&lt;Temperature &gt; &gt;.
std::string toXML() const
Return this row in the form of an XML string.
void spectralWindowIdFromText(const std::string &s)
void clearTantSpectrum()
Mark tantSpectrum, which is an optional field, as non-existent.
void tskyFlagFromBin(EndianIStream &eis)
void antennaIdFromText(const std::string &s)
void numChanFromText(const std::string &s)
bool isTskyFlagExists() const
===&gt; Attribute tskyFlag, which is optional
void setTantTsysFlag(bool tantTsysFlag)
Set tantTsysFlag with the specified bool.
int numChan
===&gt; Attribute numChan
Definition: SysCalRow.h:1186
bool getTantTsysFlag() const
Get tantTsysFlag, which is optional.
bool trxFlagExists
===&gt; Attribute trxFlag, which is optional
Definition: SysCalRow.h:1222
void phaseDiffFlagFromText(const std::string &s)
bool getTantFlag() const
Get tantFlag, which is optional.
bool tantTsysSpectrumExists
===&gt; Attribute tantTsysSpectrum, which is optional
Definition: SysCalRow.h:1339
void tsysSpectrumFromBin(EndianIStream &eis)
void tantTsysSpectrumFromText(const std::string &s)
void tcalFlagFromText(const std::string &s)
virtual ~SysCalRow()
friend class asdm::TableStreamReader&lt;SysCalTable, SysCalRow&gt;;
void clearTsysSpectrum()
Mark tsysSpectrum, which is an optional field, as non-existent.
void tsysFlagFromText(const std::string &s)
std::vector< std::vector< Temperature > > getTsysSpectrum() const
Get tsysSpectrum, which is optional.
bool compareRequiredValue(int numReceptor, int numChan)
Compare each mandatory value (i.e.
bool isTrxSpectrumExists() const
===&gt; Attribute trxSpectrum, which is optional
void feedIdFromBin(EndianIStream &eis)
void setFromIDL(asdmIDL::SysCalRowIDL x)
Fill the values of this row from the IDL struct SysCalRowIDL.
bool isPhaseDiffFlagExists() const
===&gt; Attribute phaseDiffFlag, which is optional
bool isTantTsysSpectrumExists() const
===&gt; Attribute tantTsysSpectrum, which is optional
asdmIDL::SysCalRowIDL * toIDL() const
Return this row in the form of an IDL struct.
bool tskyFlagExists
===&gt; Attribute tskyFlag, which is optional
Definition: SysCalRow.h:1248
void(SysCalRow::* SysCalAttributeFromText)(const std::string &s)
Definition: SysCalRow.h:129
void trxSpectrumFromText(const std::string &s)
std::vector< std::vector< Temperature > > getTcalSpectrum() const
Get tcalSpectrum, which is optional.
Tag spectralWindowId
===&gt; Attribute spectralWindowId
Definition: SysCalRow.h:1405
The AntennaRow class is a row of a AntennaTable.
Definition: AntennaRow.h:120
bool tcalFlagExists
===&gt; Attribute tcalFlag, which is optional
Definition: SysCalRow.h:1196
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
void clearTsysFlag()
Mark tsysFlag, which is an optional field, as non-existent.
Links *AntennaRow * getAntennaUsingAntennaId()
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId ...
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
bool isPhaseDiffSpectrumExists() const
===&gt; Attribute phaseDiffSpectrum, which is optional
bool phaseDiffSpectrumExists
===&gt; Attribute phaseDiffSpectrum, which is optional
Definition: SysCalRow.h:1365
void tantTsysSpectrumFromBin(EndianIStream &eis)
void setTrxFlag(bool trxFlag)
Set trxFlag with the specified bool.
void tantFlagFromBin(EndianIStream &eis)
void phaseDiffSpectrumFromText(const std::string &s)
void antennaIdFromBin(EndianIStream &eis)
void setTskySpectrum(std::vector< std::vector< Temperature > > tskySpectrum)
Set tskySpectrum with the specified std::vector&lt;std::vector&lt;Temperature &gt; &gt;.
The SysCalTable class is an Alma table.
Definition: SysCalTable.h:291
void setTsysSpectrum(std::vector< std::vector< Temperature > > tsysSpectrum)
Set tsysSpectrum with the specified std::vector&lt;std::vector&lt;Temperature &gt; &gt;.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
Definition: Tag.h:73
bool getTsysFlag() const
Get tsysFlag, which is optional.
void clearPhaseDiffSpectrum()
Mark phaseDiffSpectrum, which is an optional field, as non-existent.
void setTantTsysSpectrum(std::vector< std::vector< float > > tantTsysSpectrum)
Set tantTsysSpectrum with the specified std::vector&lt;std::vector&lt;float &gt; &gt;.
void clearTcalSpectrum()
Mark tcalSpectrum, which is an optional field, as non-existent.
std::vector< std::vector< Temperature > > tcalSpectrum
Definition: SysCalRow.h:1212
Tag getSpectralWindowId() const
===&gt; Attribute spectralWindowId
bool getPhaseDiffFlag() const
Get phaseDiffFlag, which is optional.
The SysCalRow class is a row of a SysCalTable.
Definition: SysCalRow.h:137
void clearTskySpectrum()
Mark tskySpectrum, which is an optional field, as non-existent.
void numChanFromBin(EndianIStream &eis)
void tcalFlagFromBin(EndianIStream &eis)
bool getTskyFlag() const
Get tskyFlag, which is optional.
bool phaseDiffFlagExists
===&gt; Attribute phaseDiffFlag, which is optional
Definition: SysCalRow.h:1352
void tskySpectrumFromBin(EndianIStream &eis)
void setPhaseDiffFlag(bool phaseDiffFlag)
Set phaseDiffFlag with the specified bool.
void setTskyFlag(bool tskyFlag)
Set tskyFlag with the specified bool.
void setFeedId(int feedId)
Set feedId with the specified int.
bool isTrxFlagExists() const
===&gt; Attribute trxFlag, which is optional
bool tantFlagExists
===&gt; Attribute tantFlag, which is optional
Definition: SysCalRow.h:1300
bool trxSpectrumExists
===&gt; Attribute trxSpectrum, which is optional
Definition: SysCalRow.h:1235
void tcalSpectrumFromText(const std::string &s)
int getNumChan() const
===&gt; Attribute numChan
void trxFlagFromBin(EndianIStream &eis)
bool getTrxFlag() const
Get trxFlag, which is optional.
SysCalTable & table
The table to which this row belongs.
Definition: SysCalRow.h:1116
std::vector< std::vector< Temperature > > tsysSpectrum
Definition: SysCalRow.h:1290
bool isTsysFlagExists() const
===&gt; Attribute tsysFlag, which is optional
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void clearTantTsysFlag()
Mark tantTsysFlag, which is an optional field, as non-existent.
std::vector< std::vector< float > > tantSpectrum
Definition: SysCalRow.h:1316
void phaseDiffFlagFromBin(EndianIStream &eis)
std::vector< std::vector< Temperature > > tskySpectrum
Definition: SysCalRow.h:1264
std::vector< std::vector< float > > phaseDiffSpectrum
Definition: SysCalRow.h:1368
void tantTsysFlagFromText(const std::string &s)
void clearTrxFlag()
Mark trxFlag, which is an optional field, as non-existent.
bool isAdded() const
Has this row been added to its table ?
void tsysSpectrumFromText(const std::string &s)
int getFeedId() const
===&gt; Attribute feedId
void tantSpectrumFromBin(EndianIStream &eis)
std::vector< FeedRow * > getFeeds()
===&gt; Slice link from a row of SysCal table to a collection of row of Feed table.
std::vector< std::vector< float > > getTantSpectrum() const
Get tantSpectrum, which is optional.
void tsysFlagFromBin(EndianIStream &eis)
The SpectralWindowRow class is a row of a SpectralWindowTable.
void numReceptorFromBin(EndianIStream &eis)
bool isTsysSpectrumExists() const
===&gt; Attribute tsysSpectrum, which is optional
void tantSpectrumFromText(const std::string &s)
int feedId
===&gt; Attribute feedId
Definition: SysCalRow.h:1394
void clearTantFlag()
Mark tantFlag, which is an optional field, as non-existent.
bool tskySpectrumExists
===&gt; Attribute tskySpectrum, which is optional
Definition: SysCalRow.h:1261
void spectralWindowIdFromBin(EndianIStream &eis)
void timeIntervalFromBin(EndianIStream &eis)
void tantFlagFromText(const std::string &s)
std::vector< std::vector< Temperature > > getTskySpectrum() const
Get tskySpectrum, which is optional.
void setTsysFlag(bool tsysFlag)
Set tsysFlag with the specified bool.
int getNumReceptor() const
===&gt; Attribute numReceptor
bool isTantSpectrumExists() const
===&gt; Attribute tantSpectrum, which is optional
Links *binary deserialization material from an EndianIStream std::map< std::string, SysCalAttributeFromBin > fromBinMethods
Definition: SysCalRow.h:1440
void phaseDiffSpectrumFromBin(EndianIStream &eis)
void clearTrxSpectrum()
Mark trxSpectrum, which is an optional field, as non-existent.
void tcalSpectrumFromBin(EndianIStream &eis)