casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CalPhaseRow.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 CalPhaseRow.h
32  */
33 
34 #ifndef CalPhaseRow_CLASS
35 #define CalPhaseRow_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/ArrayTime.h>
52 
53 
54 
55 #include <alma/ASDM/Angle.h>
56 
57 
58 
59 #include <alma/ASDM/Length.h>
60 
61 
62 
63 #include <alma/ASDM/Frequency.h>
64 
65 
66 
67 #include <alma/ASDM/Tag.h>
68 
69 
70 
71 #include <alma/ASDM/Interval.h>
72 
73 
74 
75 
76 
77 
79 
80 
81 
83 
84 
85 
87 
88 
89 
90 
91 
92 
93 
94 
95 
96 
97 
98 
99 
100 
101 
102 
103 
104 
105 
106 
107 
108 
109 
110 
111 
112 
113 
115 
116 
117 
118 
119 
120 
121 
122 
123 
124 
125 
126 
127 
128 
129 
130 
131 
132 
133 
134 
136 #include <alma/ASDM/NoSuchRow.h>
138 
140 //#include <alma/ASDM/TableStreamReader.h>
141 
142 /*\file CalPhase.h
143  \brief Generated from model's revision "-1", branch ""
144 */
145 
146 namespace asdm {
147 
148 //class asdm::CalPhaseTable;
149 
150 
151 // class asdm::CalDataRow;
152 class CalDataRow;
153 
154 // class asdm::CalReductionRow;
155 class CalReductionRow;
156 
157 
158 class CalPhaseRow;
160 typedef void (CalPhaseRow::*CalPhaseAttributeFromText) (const std::string& s);
161 
168 class CalPhaseRow {
169 friend class asdm::CalPhaseTable;
171 //friend class asdm::TableStreamReader<CalPhaseTable, CalPhaseRow>;
172 
173 public:
174 
175  virtual ~CalPhaseRow();
176 
180  CalPhaseTable &getTable() const;
181 
186  bool isAdded() const;
187 
189  // Intrinsic Table Attributes //
191 
192 
193  // ===> Attribute basebandName
194 
195 
196 
197 
198 
203  BasebandNameMod::BasebandName getBasebandName() const;
204 
205 
206 
207 
217  void setBasebandName (BasebandNameMod::BasebandName basebandName);
218 
219 
220 
221 
222 
223 
224 
225  // ===> Attribute receiverBand
226 
227 
228 
229 
230 
235  ReceiverBandMod::ReceiverBand getReceiverBand() const;
236 
237 
238 
239 
249  void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand);
250 
251 
252 
253 
254 
255 
256 
257  // ===> Attribute atmPhaseCorrection
258 
259 
260 
261 
262 
267  AtmPhaseCorrectionMod::AtmPhaseCorrection getAtmPhaseCorrection() const;
268 
269 
270 
271 
281  void setAtmPhaseCorrection (AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection);
282 
283 
284 
285 
286 
287 
288 
289  // ===> Attribute startValidTime
290 
291 
292 
293 
294 
300 
301 
302 
303 
312 
313 
314 
315 
316 
317 
318 
319  // ===> Attribute endValidTime
320 
321 
322 
323 
324 
329  ArrayTime getEndValidTime() const;
330 
331 
332 
333 
342 
343 
344 
345 
346 
347 
348 
349  // ===> Attribute numBaseline
350 
351 
352 
353 
354 
359  int getNumBaseline() const;
360 
361 
362 
363 
371  void setNumBaseline (int numBaseline);
372 
373 
374 
375 
376 
377 
378 
379  // ===> Attribute numReceptor
380 
381 
382 
383 
384 
389  int getNumReceptor() const;
390 
391 
392 
393 
401  void setNumReceptor (int numReceptor);
402 
403 
404 
405 
406 
407 
408 
409  // ===> Attribute ampli
410 
411 
412 
413 
414 
419  std::vector<std::vector<float > > getAmpli() const;
420 
421 
422 
423 
431  void setAmpli (std::vector<std::vector<float > > ampli);
432 
433 
434 
435 
436 
437 
438 
439  // ===> Attribute antennaNames
440 
441 
442 
443 
444 
449  std::vector<std::vector<std::string > > getAntennaNames() const;
450 
451 
452 
453 
461  void setAntennaNames (std::vector<std::vector<std::string > > antennaNames);
462 
463 
464 
465 
466 
467 
468 
469  // ===> Attribute baselineLengths
470 
471 
472 
473 
474 
479  std::vector<Length > getBaselineLengths() const;
480 
481 
482 
483 
491  void setBaselineLengths (std::vector<Length > baselineLengths);
492 
493 
494 
495 
496 
497 
498 
499  // ===> Attribute decorrelationFactor
500 
501 
502 
503 
504 
509  std::vector<std::vector<float > > getDecorrelationFactor() const;
510 
511 
512 
513 
521  void setDecorrelationFactor (std::vector<std::vector<float > > decorrelationFactor);
522 
523 
524 
525 
526 
527 
528 
529  // ===> Attribute direction
530 
531 
532 
533 
534 
539  std::vector<Angle > getDirection() const;
540 
541 
542 
543 
551  void setDirection (std::vector<Angle > direction);
552 
553 
554 
555 
556 
557 
558 
559  // ===> Attribute frequencyRange
560 
561 
562 
563 
564 
569  std::vector<Frequency > getFrequencyRange() const;
570 
571 
572 
573 
581  void setFrequencyRange (std::vector<Frequency > frequencyRange);
582 
583 
584 
585 
586 
587 
588 
589  // ===> Attribute integrationTime
590 
591 
592 
593 
594 
600 
601 
602 
603 
612 
613 
614 
615 
616 
617 
618 
619  // ===> Attribute phase
620 
621 
622 
623 
624 
629  std::vector<std::vector<float > > getPhase() const;
630 
631 
632 
633 
641  void setPhase (std::vector<std::vector<float > > phase);
642 
643 
644 
645 
646 
647 
648 
649  // ===> Attribute polarizationTypes
650 
651 
652 
653 
654 
659  std::vector<PolarizationTypeMod::PolarizationType > getPolarizationTypes() const;
660 
661 
662 
663 
671  void setPolarizationTypes (std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes);
672 
673 
674 
675 
676 
677 
678 
679  // ===> Attribute phaseRMS
680 
681 
682 
683 
684 
689  std::vector<std::vector<float > > getPhaseRMS() const;
690 
691 
692 
693 
701  void setPhaseRMS (std::vector<std::vector<float > > phaseRMS);
702 
703 
704 
705 
706 
707 
708 
709  // ===> Attribute statPhaseRMS
710 
711 
712 
713 
714 
719  std::vector<std::vector<float > > getStatPhaseRMS() const;
720 
721 
722 
723 
731  void setStatPhaseRMS (std::vector<std::vector<float > > statPhaseRMS);
732 
733 
734 
735 
736 
737 
738 
739  // ===> Attribute correctionValidity, which is optional
740 
741 
742 
747  bool isCorrectionValidityExists() const;
748 
749 
750 
756  std::vector<bool > getCorrectionValidity() const;
757 
758 
759 
760 
767  void setCorrectionValidity (std::vector<bool > correctionValidity);
768 
769 
770 
771 
775  void clearCorrectionValidity ();
776 
777 
778 
779 
780  // ===> Attribute numAntenna, which is optional
781 
782 
783 
788  bool isNumAntennaExists() const;
789 
790 
791 
797  int getNumAntenna() const;
798 
799 
800 
801 
808  void setNumAntenna (int numAntenna);
809 
810 
811 
812 
816  void clearNumAntenna ();
817 
818 
819 
820 
821  // ===> Attribute singleAntennaName, which is optional
822 
823 
824 
829  bool isSingleAntennaNameExists() const;
830 
831 
832 
838  std::vector<std::string > getSingleAntennaName() const;
839 
840 
841 
842 
849  void setSingleAntennaName (std::vector<std::string > singleAntennaName);
850 
851 
852 
853 
857  void clearSingleAntennaName ();
858 
859 
860 
861 
862  // ===> Attribute refAntennaName, which is optional
863 
864 
865 
870  bool isRefAntennaNameExists() const;
871 
872 
873 
879  std::string getRefAntennaName() const;
880 
881 
882 
883 
890  void setRefAntennaName (std::string refAntennaName);
891 
892 
893 
894 
898  void clearRefAntennaName ();
899 
900 
901 
902 
903  // ===> Attribute phaseAnt, which is optional
904 
905 
906 
911  bool isPhaseAntExists() const;
912 
913 
914 
920  std::vector<std::vector<float > > getPhaseAnt() const;
921 
922 
923 
924 
931  void setPhaseAnt (std::vector<std::vector<float > > phaseAnt);
932 
933 
934 
935 
939  void clearPhaseAnt ();
940 
941 
942 
943 
944  // ===> Attribute phaseAntRMS, which is optional
945 
946 
947 
952  bool isPhaseAntRMSExists() const;
953 
954 
955 
961  std::vector<std::vector<float > > getPhaseAntRMS() const;
962 
963 
964 
965 
972  void setPhaseAntRMS (std::vector<std::vector<float > > phaseAntRMS);
973 
974 
975 
976 
980  void clearPhaseAntRMS ();
981 
982 
983 
985  // Extrinsic Table Attributes //
987 
988 
989  // ===> Attribute calDataId
990 
991 
992 
993 
994 
999  Tag getCalDataId() const;
1000 
1001 
1002 
1003 
1013  void setCalDataId (Tag calDataId);
1014 
1015 
1016 
1017 
1018 
1019 
1020 
1021  // ===> Attribute calReductionId
1022 
1023 
1024 
1025 
1026 
1031  Tag getCalReductionId() const;
1032 
1033 
1034 
1035 
1046 
1047 
1048 
1049 
1050 
1051 
1053  // Links //
1055 
1056 
1057 
1058 
1059 
1067 
1068 
1069 
1070 
1071 
1072 
1073 
1074 
1082 
1083 
1084 
1085 
1086 
1087 
1088 
1134  bool compareNoAutoInc(BasebandNameMod::BasebandName basebandName, ReceiverBandMod::ReceiverBand receiverBand, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, int numBaseline, int numReceptor, std::vector<std::vector<float > > ampli, std::vector<std::vector<std::string > > antennaNames, std::vector<Length > baselineLengths, std::vector<std::vector<float > > decorrelationFactor, std::vector<Angle > direction, std::vector<Frequency > frequencyRange, Interval integrationTime, std::vector<std::vector<float > > phase, std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector<std::vector<float > > phaseRMS, std::vector<std::vector<float > > statPhaseRMS);
1135 
1136 
1137 
1138 
1174  bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, int numBaseline, int numReceptor, std::vector<std::vector<float > > ampli, std::vector<std::vector<std::string > > antennaNames, std::vector<Length > baselineLengths, std::vector<std::vector<float > > decorrelationFactor, std::vector<Angle > direction, std::vector<Frequency > frequencyRange, Interval integrationTime, std::vector<std::vector<float > > phase, std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector<std::vector<float > > phaseRMS, std::vector<std::vector<float > > statPhaseRMS);
1175 
1176 
1186 
1187 #ifndef WITHOUT_ACS
1188 
1192  asdmIDL::CalPhaseRowIDL *toIDL() const;
1193 
1201  void toIDL(asdmIDL::CalPhaseRowIDL& x) const;
1202 #endif
1203 
1204 #ifndef WITHOUT_ACS
1205 
1210  void setFromIDL (asdmIDL::CalPhaseRowIDL x) ;
1211 #endif
1212 
1217  std::string toXML() const;
1218 
1225  void setFromXML (std::string rowDoc) ;
1226 
1229  // binary-deserialization material from an EndianIStream //
1231 
1232  std::map<std::string, CalPhaseAttributeFromBin> fromBinMethods;
1236 void calDataIdFromBin( EndianIStream& eis);
1240 void numBaselineFromBin( EndianIStream& eis);
1241 void numReceptorFromBin( EndianIStream& eis);
1242 void ampliFromBin( EndianIStream& eis);
1246 void directionFromBin( EndianIStream& eis);
1249 void phaseFromBin( EndianIStream& eis);
1251 void phaseRMSFromBin( EndianIStream& eis);
1253 
1255 void numAntennaFromBin( EndianIStream& eis);
1258 void phaseAntFromBin( EndianIStream& eis);
1259 void phaseAntRMSFromBin( EndianIStream& eis);
1260 
1261 
1269  static CalPhaseRow* fromBin(EndianIStream& eis, CalPhaseTable& table, const std::vector<std::string>& attributesSeq);
1270 
1277  void fromText(const std::string& attributeName, const std::string& t);
1279 
1280 private:
1289 
1290  // This method is used by the Table class when this row is added to the table.
1291  void isAdded(bool added);
1292 
1293 
1303 
1322 
1324  // Intrinsic Table Attributes //
1326 
1327 
1328  // ===> Attribute basebandName
1329 
1330 
1331 
1332  BasebandNameMod::BasebandName basebandName;
1333 
1334 
1335 
1336 
1337 
1338 
1339  // ===> Attribute receiverBand
1340 
1341 
1342 
1343  ReceiverBandMod::ReceiverBand receiverBand;
1344 
1345 
1346 
1347 
1348 
1349 
1350  // ===> Attribute atmPhaseCorrection
1351 
1352 
1353 
1354  AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection;
1355 
1356 
1357 
1358 
1359 
1360 
1361  // ===> Attribute startValidTime
1362 
1363 
1364 
1366 
1367 
1368 
1369 
1370 
1371 
1372  // ===> Attribute endValidTime
1373 
1374 
1375 
1377 
1378 
1379 
1380 
1381 
1382 
1383  // ===> Attribute numBaseline
1384 
1385 
1386 
1388 
1389 
1390 
1391 
1392 
1393 
1394  // ===> Attribute numReceptor
1395 
1396 
1397 
1399 
1400 
1401 
1402 
1403 
1404 
1405  // ===> Attribute ampli
1406 
1407 
1408 
1409  std::vector<std::vector<float > > ampli;
1410 
1411 
1412 
1413 
1414 
1415 
1416  // ===> Attribute antennaNames
1417 
1418 
1419 
1420  std::vector<std::vector<std::string > > antennaNames;
1421 
1422 
1423 
1424 
1425 
1426 
1427  // ===> Attribute baselineLengths
1428 
1429 
1430 
1431  std::vector<Length > baselineLengths;
1432 
1433 
1434 
1435 
1436 
1437 
1438  // ===> Attribute decorrelationFactor
1439 
1440 
1441 
1442  std::vector<std::vector<float > > decorrelationFactor;
1443 
1444 
1445 
1446 
1447 
1448 
1449  // ===> Attribute direction
1450 
1451 
1452 
1453  std::vector<Angle > direction;
1454 
1455 
1456 
1457 
1458 
1459 
1460  // ===> Attribute frequencyRange
1461 
1462 
1463 
1464  std::vector<Frequency > frequencyRange;
1465 
1466 
1467 
1468 
1469 
1470 
1471  // ===> Attribute integrationTime
1472 
1473 
1474 
1476 
1477 
1478 
1479 
1480 
1481 
1482  // ===> Attribute phase
1483 
1484 
1485 
1486  std::vector<std::vector<float > > phase;
1487 
1488 
1489 
1490 
1491 
1492 
1493  // ===> Attribute polarizationTypes
1494 
1495 
1496 
1497  std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
1498 
1499 
1500 
1501 
1502 
1503 
1504  // ===> Attribute phaseRMS
1505 
1506 
1507 
1508  std::vector<std::vector<float > > phaseRMS;
1509 
1510 
1511 
1512 
1513 
1514 
1515  // ===> Attribute statPhaseRMS
1516 
1517 
1518 
1519  std::vector<std::vector<float > > statPhaseRMS;
1520 
1521 
1522 
1523 
1524 
1525 
1526  // ===> Attribute correctionValidity, which is optional
1527 
1528 
1530 
1531 
1532  std::vector<bool > correctionValidity;
1533 
1534 
1535 
1536 
1537 
1538 
1539  // ===> Attribute numAntenna, which is optional
1540 
1541 
1543 
1544 
1546 
1547 
1548 
1549 
1550 
1551 
1552  // ===> Attribute singleAntennaName, which is optional
1553 
1554 
1556 
1557 
1558  std::vector<std::string > singleAntennaName;
1559 
1560 
1561 
1562 
1563 
1564 
1565  // ===> Attribute refAntennaName, which is optional
1566 
1567 
1569 
1570 
1571  std::string refAntennaName;
1572 
1573 
1574 
1575 
1576 
1577 
1578  // ===> Attribute phaseAnt, which is optional
1579 
1580 
1582 
1583 
1584  std::vector<std::vector<float > > phaseAnt;
1585 
1586 
1587 
1588 
1589 
1590 
1591  // ===> Attribute phaseAntRMS, which is optional
1592 
1593 
1595 
1596 
1597  std::vector<std::vector<float > > phaseAntRMS;
1598 
1599 
1600 
1601 
1602 
1604  // Extrinsic Table Attributes //
1606 
1607 
1608  // ===> Attribute calDataId
1609 
1610 
1611 
1612  Tag calDataId;
1613 
1614 
1615 
1616 
1617 
1618 
1619  // ===> Attribute calReductionId
1620 
1621 
1622 
1624 
1625 
1626 
1627 
1628 
1630  // Links //
1632 
1633 
1634 
1635 
1636 
1637 
1638 
1639 
1640 
1641 
1642 
1643 
1644 
1645 
1646 
1647 
1648 /*
1650  // binary-deserialization material from an EndianIStream //
1652  std::map<std::string, CalPhaseAttributeFromBin> fromBinMethods;
1653 void basebandNameFromBin( EndianIStream& eis);
1654 void receiverBandFromBin( EndianIStream& eis);
1655 void atmPhaseCorrectionFromBin( EndianIStream& eis);
1656 void calDataIdFromBin( EndianIStream& eis);
1657 void calReductionIdFromBin( EndianIStream& eis);
1658 void startValidTimeFromBin( EndianIStream& eis);
1659 void endValidTimeFromBin( EndianIStream& eis);
1660 void numBaselineFromBin( EndianIStream& eis);
1661 void numReceptorFromBin( EndianIStream& eis);
1662 void ampliFromBin( EndianIStream& eis);
1663 void antennaNamesFromBin( EndianIStream& eis);
1664 void baselineLengthsFromBin( EndianIStream& eis);
1665 void decorrelationFactorFromBin( EndianIStream& eis);
1666 void directionFromBin( EndianIStream& eis);
1667 void frequencyRangeFromBin( EndianIStream& eis);
1668 void integrationTimeFromBin( EndianIStream& eis);
1669 void phaseFromBin( EndianIStream& eis);
1670 void polarizationTypesFromBin( EndianIStream& eis);
1671 void phaseRMSFromBin( EndianIStream& eis);
1672 void statPhaseRMSFromBin( EndianIStream& eis);
1673 
1674 void correctionValidityFromBin( EndianIStream& eis);
1675 void numAntennaFromBin( EndianIStream& eis);
1676 void singleAntennaNameFromBin( EndianIStream& eis);
1677 void refAntennaNameFromBin( EndianIStream& eis);
1678 void phaseAntFromBin( EndianIStream& eis);
1679 void phaseAntRMSFromBin( EndianIStream& eis);
1680 
1681 */
1682 
1684  // text-deserialization material //
1686  std::map<std::string, CalPhaseAttributeFromText> fromTextMethods;
1687 
1688 void basebandNameFromText (const std::string & s);
1689 
1690 
1691 void receiverBandFromText (const std::string & s);
1692 
1693 
1694 void atmPhaseCorrectionFromText (const std::string & s);
1695 
1696 
1697 void calDataIdFromText (const std::string & s);
1698 
1699 
1700 void calReductionIdFromText (const std::string & s);
1701 
1702 
1703 void startValidTimeFromText (const std::string & s);
1704 
1705 
1706 void endValidTimeFromText (const std::string & s);
1707 
1708 
1709 void numBaselineFromText (const std::string & s);
1710 
1711 
1712 void numReceptorFromText (const std::string & s);
1713 
1714 
1715 void ampliFromText (const std::string & s);
1716 
1717 
1718 void antennaNamesFromText (const std::string & s);
1719 
1720 
1721 void baselineLengthsFromText (const std::string & s);
1722 
1723 
1724 void decorrelationFactorFromText (const std::string & s);
1725 
1726 
1727 void directionFromText (const std::string & s);
1728 
1729 
1730 void frequencyRangeFromText (const std::string & s);
1731 
1732 
1733 void integrationTimeFromText (const std::string & s);
1734 
1735 
1736 void phaseFromText (const std::string & s);
1737 
1738 
1739 void polarizationTypesFromText (const std::string & s);
1740 
1741 
1742 void phaseRMSFromText (const std::string & s);
1743 
1744 
1745 void statPhaseRMSFromText (const std::string & s);
1746 
1747 
1748 
1749 void correctionValidityFromText (const std::string & s);
1750 
1751 
1752 void numAntennaFromText (const std::string & s);
1753 
1754 
1755 void singleAntennaNameFromText (const std::string & s);
1756 
1757 
1758 void refAntennaNameFromText (const std::string & s);
1759 
1760 
1761 void phaseAntFromText (const std::string & s);
1762 
1763 
1764 void phaseAntRMSFromText (const std::string & s);
1765 
1766 
1767 
1772  void toBin(EndianOSStream& eoss);
1773 
1783 };
1784 
1785 } // End namespace asdm
1786 
1787 #endif /* CalPhase_CLASS */
void polarizationTypesFromText(const std::string &s)
asdmIDL::CalPhaseRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
int getNumAntenna() const
Get numAntenna, which is optional.
void correctionValidityFromBin(EndianIStream &eis)
std::vector< std::vector< float > > getDecorrelationFactor() const
===&gt; Attribute decorrelationFactor
The Interval class implements an interval of time in units of nanoseconds.
Definition: Interval.h:58
void setIntegrationTime(Interval integrationTime)
Set integrationTime with the specified Interval.
std::vector< std::string > getSingleAntennaName() const
Get singleAntennaName, which is optional.
void setAmpli(std::vector< std::vector< float > > ampli)
Set ampli with the specified std::vector&lt;std::vector&lt;float &gt; &gt;.
std::string getRefAntennaName() const
Get refAntennaName, which is optional.
Interval integrationTime
===&gt; Attribute integrationTime
Definition: CalPhaseRow.h:1475
ReceiverBandMod::ReceiverBand receiverBand
===&gt; Attribute receiverBand
Definition: CalPhaseRow.h:1343
std::vector< std::vector< std::string > > getAntennaNames() const
===&gt; Attribute antennaNames
AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection
===&gt; Attribute atmPhaseCorrection
Definition: CalPhaseRow.h:1354
bool equalByRequiredValue(CalPhaseRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void clearRefAntennaName()
Mark refAntennaName, which is an optional field, as non-existent.
void antennaNamesFromText(const std::string &s)
std::string refAntennaName
Definition: CalPhaseRow.h:1571
void setAtmPhaseCorrection(AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection)
Set atmPhaseCorrection with the specified AtmPhaseCorrectionMod::AtmPhaseCorrection.
ArrayTime getStartValidTime() const
===&gt; Attribute startValidTime
Interval getIntegrationTime() const
===&gt; Attribute integrationTime
void setNumAntenna(int numAntenna)
Set numAntenna with the specified int.
void clearPhaseAnt()
Mark phaseAnt, which is an optional field, as non-existent.
void endValidTimeFromBin(EndianIStream &eis)
void numReceptorFromText(const std::string &s)
void setDecorrelationFactor(std::vector< std::vector< float > > decorrelationFactor)
Set decorrelationFactor with the specified std::vector&lt;std::vector&lt;float &gt; &gt;.
bool isRefAntennaNameExists() const
===&gt; Attribute refAntennaName, which is optional
void refAntennaNameFromBin(EndianIStream &eis)
void setStatPhaseRMS(std::vector< std::vector< float > > statPhaseRMS)
Set statPhaseRMS with the specified std::vector&lt;std::vector&lt;float &gt; &gt;.
std::vector< std::string > singleAntennaName
Definition: CalPhaseRow.h:1558
void phaseAntFromText(const std::string &s)
bool isPhaseAntRMSExists() const
===&gt; Attribute phaseAntRMS, which is optional
*text deserialization material std::map< std::string, CalPhaseAttributeFromText > fromTextMethods
Definition: CalPhaseRow.h:1686
void setRefAntennaName(std::string refAntennaName)
Set refAntennaName with the specified std::string.
void integrationTimeFromText(const std::string &s)
std::vector< Frequency > getFrequencyRange() const
===&gt; Attribute frequencyRange
CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
std::vector< std::vector< float > > phaseRMS
===&gt; Attribute phaseRMS
Definition: CalPhaseRow.h:1508
void ampliFromBin(EndianIStream &eis)
std::vector< std::vector< float > > getPhaseAnt() const
Get phaseAnt, which is optional.
std::vector< Angle > direction
===&gt; Attribute direction
Definition: CalPhaseRow.h:1453
void setAntennaNames(std::vector< std::vector< std::string > > antennaNames)
Set antennaNames with the specified std::vector&lt;std::vector&lt;std::string &gt; &gt;.
std::vector< std::vector< float > > phaseAnt
Definition: CalPhaseRow.h:1584
void setPhaseRMS(std::vector< std::vector< float > > phaseRMS)
Set phaseRMS with the specified std::vector&lt;std::vector&lt;float &gt; &gt;.
void decorrelationFactorFromText(const std::string &s)
void calDataIdFromText(const std::string &s)
std::vector< std::vector< float > > getPhase() const
===&gt; Attribute phase
void phaseAntFromBin(EndianIStream &eis)
ReceiverBandMod::ReceiverBand getReceiverBand() const
===&gt; Attribute receiverBand
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
void directionFromText(const std::string &s)
std::vector< std::vector< float > > getStatPhaseRMS() const
===&gt; Attribute statPhaseRMS
void atmPhaseCorrectionFromText(const std::string &s)
std::vector< Length > getBaselineLengths() const
===&gt; Attribute baselineLengths
int numReceptor
===&gt; Attribute numReceptor
Definition: CalPhaseRow.h:1398
Links *binary deserialization material from an EndianIStream std::map< std::string, CalPhaseAttributeFromBin > fromBinMethods
Definition: CalPhaseRow.h:1652
void setNumBaseline(int numBaseline)
Set numBaseline with the specified int.
void baselineLengthsFromText(const std::string &s)
void polarizationTypesFromBin(EndianIStream &eis)
bool correctionValidityExists
===&gt; Attribute correctionValidity, which is optional
Definition: CalPhaseRow.h:1529
void refAntennaNameFromText(const std::string &s)
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void integrationTimeFromBin(EndianIStream &eis)
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
Tag calReductionId
===&gt; Attribute calReductionId
Definition: CalPhaseRow.h:1623
void statPhaseRMSFromBin(EndianIStream &eis)
The CalPhaseTable class is an Alma table.
AtmPhaseCorrectionMod::AtmPhaseCorrection getAtmPhaseCorrection() const
===&gt; Attribute atmPhaseCorrection
CalPhaseTable & table
The table to which this row belongs.
Definition: CalPhaseRow.h:1284
int getNumBaseline() const
===&gt; Attribute numBaseline
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===&gt; Attribute polarizationTypes
Definition: CalPhaseRow.h:1497
bool refAntennaNameExists
===&gt; Attribute refAntennaName, which is optional
Definition: CalPhaseRow.h:1568
void setBasebandName(BasebandNameMod::BasebandName basebandName)
Set basebandName with the specified BasebandNameMod::BasebandName.
std::vector< std::vector< float > > ampli
===&gt; Attribute ampli
Definition: CalPhaseRow.h:1409
std::vector< Frequency > frequencyRange
===&gt; Attribute frequencyRange
Definition: CalPhaseRow.h:1464
void setDirection(std::vector< Angle > direction)
Set direction with the specified std::vector&lt;Angle &gt;.
void calDataIdFromBin(EndianIStream &eis)
void calReductionIdFromText(const std::string &s)
bool isCorrectionValidityExists() const
===&gt; Attribute correctionValidity, which is optional
void atmPhaseCorrectionFromBin(EndianIStream &eis)
virtual ~CalPhaseRow()
friend class asdm::TableStreamReader&lt;CalPhaseTable, CalPhaseRow&gt;;
void phaseFromBin(EndianIStream &eis)
bool isPhaseAntExists() const
===&gt; Attribute phaseAnt, which is optional
bool phaseAntRMSExists
===&gt; Attribute phaseAntRMS, which is optional
Definition: CalPhaseRow.h:1594
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
The CalReductionRow class is a row of a CalReductionTable.
std::string toXML() const
Return this row in the form of an XML string.
bool hasBeenAdded
Whether this row has been added to the table or not.
Definition: CalPhaseRow.h:1288
void calReductionIdFromBin(EndianIStream &eis)
void directionFromBin(EndianIStream &eis)
void basebandNameFromText(const std::string &s)
void startValidTimeFromText(const std::string &s)
Links *CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
void setFromIDL(asdmIDL::CalPhaseRowIDL x)
Fill the values of this row from the IDL struct CalPhaseRowIDL.
void baselineLengthsFromBin(EndianIStream &eis)
std::vector< bool > correctionValidity
Definition: CalPhaseRow.h:1532
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===&gt; Attribute polarizationTypes
void singleAntennaNameFromBin(EndianIStream &eis)
void decorrelationFactorFromBin(EndianIStream &eis)
CalPhaseTable & getTable() const
Return the table to which this row belongs.
bool isAdded() const
Has this row been added to its table ?
void phaseAntRMSFromBin(EndianIStream &eis)
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
Definition: ArrayTime.h:89
The CalPhaseRow class is a row of a CalPhaseTable.
Definition: CalPhaseRow.h:168
int numBaseline
===&gt; Attribute numBaseline
Definition: CalPhaseRow.h:1387
void(CalPhaseRow::* CalPhaseAttributeFromText)(const std::string &s)
Definition: CalPhaseRow.h:160
void numBaselineFromText(const std::string &s)
void setFrequencyRange(std::vector< Frequency > frequencyRange)
Set frequencyRange with the specified std::vector&lt;Frequency &gt;.
void phaseRMSFromBin(EndianIStream &eis)
void statPhaseRMSFromText(const std::string &s)
void clearCorrectionValidity()
Mark correctionValidity, which is an optional field, as non-existent.
void receiverBandFromText(const std::string &s)
void phaseFromText(const std::string &s)
void singleAntennaNameFromText(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
std::vector< std::vector< float > > getAmpli() const
===&gt; Attribute ampli
void setBaselineLengths(std::vector< Length > baselineLengths)
Set baselineLengths with the specified std::vector&lt;Length &gt;.
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector&lt;PolarizationTypeMod::PolarizationType &gt;...
void setPhase(std::vector< std::vector< float > > phase)
Set phase with the specified std::vector&lt;std::vector&lt;float &gt; &gt;.
void(CalPhaseRow::* CalPhaseAttributeFromBin)(EndianIStream &eis)
Definition: CalPhaseRow.h:159
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
void clearSingleAntennaName()
Mark singleAntennaName, which is an optional field, as non-existent.
void setCorrectionValidity(std::vector< bool > correctionValidity)
Set correctionValidity with the specified std::vector&lt;bool &gt;.
void ampliFromText(const std::string &s)
bool compareNoAutoInc(BasebandNameMod::BasebandName basebandName, ReceiverBandMod::ReceiverBand receiverBand, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, int numBaseline, int numReceptor, std::vector< std::vector< float > > ampli, std::vector< std::vector< std::string > > antennaNames, std::vector< Length > baselineLengths, std::vector< std::vector< float > > decorrelationFactor, std::vector< Angle > direction, std::vector< Frequency > frequencyRange, Interval integrationTime, std::vector< std::vector< float > > phase, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< float > > phaseRMS, std::vector< std::vector< float > > statPhaseRMS)
Compare each mandatory attribute except the autoincrementable one of this CalPhaseRow with the corres...
ArrayTime endValidTime
===&gt; Attribute endValidTime
Definition: CalPhaseRow.h:1376
void correctionValidityFromText(const std::string &s)
std::vector< std::vector< float > > getPhaseRMS() const
===&gt; Attribute phaseRMS
bool isNumAntennaExists() const
===&gt; Attribute numAntenna, which is optional
Tag getCalReductionId() const
===&gt; Attribute calReductionId
bool phaseAntExists
===&gt; Attribute phaseAnt, which is optional
Definition: CalPhaseRow.h:1581
std::vector< Angle > getDirection() const
===&gt; Attribute direction
void startValidTimeFromBin(EndianIStream &eis)
void phaseRMSFromText(const std::string &s)
void setPhaseAnt(std::vector< std::vector< float > > phaseAnt)
Set phaseAnt with the specified std::vector&lt;std::vector&lt;float &gt; &gt;.
The CalDataRow class is a row of a CalDataTable.
Definition: CalDataRow.h:130
std::vector< Length > baselineLengths
===&gt; Attribute baselineLengths
Definition: CalPhaseRow.h:1431
void numAntennaFromText(const std::string &s)
void numReceptorFromBin(EndianIStream &eis)
int getNumReceptor() const
===&gt; Attribute numReceptor
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
std::vector< std::vector< std::string > > antennaNames
===&gt; Attribute antennaNames
Definition: CalPhaseRow.h:1420
void frequencyRangeFromBin(EndianIStream &eis)
void antennaNamesFromBin(EndianIStream &eis)
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
void phaseAntRMSFromText(const std::string &s)
void basebandNameFromBin(EndianIStream &eis)
void endValidTimeFromText(const std::string &s)
std::vector< std::vector< float > > phase
===&gt; Attribute phase
Definition: CalPhaseRow.h:1486
bool singleAntennaNameExists
===&gt; Attribute singleAntennaName, which is optional
Definition: CalPhaseRow.h:1555
void setSingleAntennaName(std::vector< std::string > singleAntennaName)
Set singleAntennaName with the specified std::vector&lt;std::string &gt;.
void frequencyRangeFromText(const std::string &s)
ArrayTime startValidTime
===&gt; Attribute startValidTime
Definition: CalPhaseRow.h:1365
void numAntennaFromBin(EndianIStream &eis)
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, int numBaseline, int numReceptor, std::vector< std::vector< float > > ampli, std::vector< std::vector< std::string > > antennaNames, std::vector< Length > baselineLengths, std::vector< std::vector< float > > decorrelationFactor, std::vector< Angle > direction, std::vector< Frequency > frequencyRange, Interval integrationTime, std::vector< std::vector< float > > phase, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< float > > phaseRMS, std::vector< std::vector< float > > statPhaseRMS)
Compare each mandatory value (i.e.
void receiverBandFromBin(EndianIStream &eis)
std::vector< std::vector< float > > getPhaseAntRMS() const
Get phaseAntRMS, which is optional.
std::vector< bool > getCorrectionValidity() const
Get correctionValidity, which is optional.
std::vector< std::vector< float > > phaseAntRMS
Definition: CalPhaseRow.h:1597
std::vector< std::vector< float > > decorrelationFactor
===&gt; Attribute decorrelationFactor
Definition: CalPhaseRow.h:1442
bool isSingleAntennaNameExists() const
===&gt; Attribute singleAntennaName, which is optional
void setPhaseAntRMS(std::vector< std::vector< float > > phaseAntRMS)
Set phaseAntRMS with the specified std::vector&lt;std::vector&lt;float &gt; &gt;.
ArrayTime getEndValidTime() const
===&gt; Attribute endValidTime
std::vector< std::vector< float > > statPhaseRMS
===&gt; Attribute statPhaseRMS
Definition: CalPhaseRow.h:1519
CalPhaseRow(CalPhaseTable &table)
Create a CalPhaseRow.
bool numAntennaExists
===&gt; Attribute numAntenna, which is optional
Definition: CalPhaseRow.h:1542
void clearNumAntenna()
Mark numAntenna, which is an optional field, as non-existent.
void clearPhaseAntRMS()
Mark phaseAntRMS, which is an optional field, as non-existent.
void numBaselineFromBin(EndianIStream &eis)