casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CalHolographyRow.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 CalHolographyRow.h
32  */
33 
34 #ifndef CalHolographyRow_CLASS
35 #define CalHolographyRow_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/Temperature.h>
52 
53 
54 
55 #include <alma/ASDM/ArrayTime.h>
56 
57 
58 
59 #include <alma/ASDM/Angle.h>
60 
61 
62 
63 #include <alma/ASDM/Length.h>
64 
65 
66 
67 #include <alma/ASDM/Frequency.h>
68 
69 
70 
71 #include <alma/ASDM/Tag.h>
72 
73 
74 
75 #include <alma/ASDM/EntityRef.h>
76 
77 
78 
79 
80 
81 
82 
83 
85 
86 
87 
88 
89 
90 
91 
92 
93 
94 
95 
96 
97 
98 
99 
100 
101 
103 
104 
105 
106 
107 
109 
110 
111 
112 
113 
114 
115 
116 
117 
118 
119 
120 
121 
122 
123 
124 
125 
126 
127 
128 
129 
130 
131 
132 
133 
134 
135 
136 
137 
138 
140 #include <alma/ASDM/NoSuchRow.h>
142 
144 //#include <alma/ASDM/TableStreamReader.h>
145 
146 /*\file CalHolography.h
147  \brief Generated from model's revision "-1", branch ""
148 */
149 
150 namespace asdm {
151 
152 //class asdm::CalHolographyTable;
153 
154 
155 // class asdm::CalReductionRow;
156 class CalReductionRow;
157 
158 // class asdm::CalDataRow;
159 class CalDataRow;
160 
161 
162 class CalHolographyRow;
164 typedef void (CalHolographyRow::*CalHolographyAttributeFromText) (const std::string& s);
165 
175 //friend class asdm::TableStreamReader<CalHolographyTable, CalHolographyRow>;
176 
177 public:
178 
179  virtual ~CalHolographyRow();
180 
184  CalHolographyTable &getTable() const;
185 
190  bool isAdded() const;
191 
193  // Intrinsic Table Attributes //
195 
196 
197  // ===> Attribute antennaName
198 
199 
200 
201 
202 
207  std::string getAntennaName() const;
208 
209 
210 
211 
221  void setAntennaName (std::string antennaName);
222 
223 
224 
225 
226 
227 
228 
229  // ===> Attribute antennaMake
230 
231 
232 
233 
234 
239  AntennaMakeMod::AntennaMake getAntennaMake() const;
240 
241 
242 
243 
251  void setAntennaMake (AntennaMakeMod::AntennaMake antennaMake);
252 
253 
254 
255 
256 
257 
258 
259  // ===> Attribute startValidTime
260 
261 
262 
263 
264 
270 
271 
272 
273 
282 
283 
284 
285 
286 
287 
288 
289  // ===> Attribute endValidTime
290 
291 
292 
293 
294 
299  ArrayTime getEndValidTime() const;
300 
301 
302 
303 
312 
313 
314 
315 
316 
317 
318 
319  // ===> Attribute ambientTemperature
320 
321 
322 
323 
324 
330 
331 
332 
333 
342 
343 
344 
345 
346 
347 
348 
349  // ===> Attribute focusPosition
350 
351 
352 
353 
354 
359  std::vector<Length > getFocusPosition() const;
360 
361 
362 
363 
371  void setFocusPosition (std::vector<Length > focusPosition);
372 
373 
374 
375 
376 
377 
378 
379  // ===> Attribute frequencyRange
380 
381 
382 
383 
384 
389  std::vector<Frequency > getFrequencyRange() const;
390 
391 
392 
393 
401  void setFrequencyRange (std::vector<Frequency > frequencyRange);
402 
403 
404 
405 
406 
407 
408 
409  // ===> Attribute illuminationTaper
410 
411 
412 
413 
414 
419  double getIlluminationTaper() const;
420 
421 
422 
423 
432 
433 
434 
435 
436 
437 
438 
439  // ===> Attribute numReceptor
440 
441 
442 
443 
444 
449  int getNumReceptor() const;
450 
451 
452 
453 
461  void setNumReceptor (int numReceptor);
462 
463 
464 
465 
466 
467 
468 
469  // ===> Attribute polarizationTypes
470 
471 
472 
473 
474 
479  std::vector<PolarizationTypeMod::PolarizationType > getPolarizationTypes() const;
480 
481 
482 
483 
491  void setPolarizationTypes (std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes);
492 
493 
494 
495 
496 
497 
498 
499  // ===> Attribute numPanelModes
500 
501 
502 
503 
504 
509  int getNumPanelModes() const;
510 
511 
512 
513 
521  void setNumPanelModes (int numPanelModes);
522 
523 
524 
525 
526 
527 
528 
529  // ===> Attribute receiverBand
530 
531 
532 
533 
534 
539  ReceiverBandMod::ReceiverBand getReceiverBand() const;
540 
541 
542 
543 
551  void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand);
552 
553 
554 
555 
556 
557 
558 
559  // ===> Attribute beamMapUID
560 
561 
562 
563 
564 
569  EntityRef getBeamMapUID() const;
570 
571 
572 
573 
582 
583 
584 
585 
586 
587 
588 
589  // ===> Attribute rawRMS
590 
591 
592 
593 
594 
599  Length getRawRMS() const;
600 
601 
602 
603 
611  void setRawRMS (Length rawRMS);
612 
613 
614 
615 
616 
617 
618 
619  // ===> Attribute weightedRMS
620 
621 
622 
623 
624 
629  Length getWeightedRMS() const;
630 
631 
632 
633 
642 
643 
644 
645 
646 
647 
648 
649  // ===> Attribute surfaceMapUID
650 
651 
652 
653 
654 
659  EntityRef getSurfaceMapUID() const;
660 
661 
662 
663 
672 
673 
674 
675 
676 
677 
678 
679  // ===> Attribute direction
680 
681 
682 
683 
684 
689  std::vector<Angle > getDirection() const;
690 
691 
692 
693 
701  void setDirection (std::vector<Angle > direction);
702 
703 
704 
705 
706 
707 
708 
709  // ===> Attribute numScrew, which is optional
710 
711 
712 
717  bool isNumScrewExists() const;
718 
719 
720 
726  int getNumScrew() const;
727 
728 
729 
730 
737  void setNumScrew (int numScrew);
738 
739 
740 
741 
745  void clearNumScrew ();
746 
747 
748 
749 
750  // ===> Attribute screwName, which is optional
751 
752 
753 
758  bool isScrewNameExists() const;
759 
760 
761 
767  std::vector<std::string > getScrewName() const;
768 
769 
770 
771 
778  void setScrewName (std::vector<std::string > screwName);
779 
780 
781 
782 
786  void clearScrewName ();
787 
788 
789 
790 
791  // ===> Attribute screwMotion, which is optional
792 
793 
794 
799  bool isScrewMotionExists() const;
800 
801 
802 
808  std::vector<Length > getScrewMotion() const;
809 
810 
811 
812 
819  void setScrewMotion (std::vector<Length > screwMotion);
820 
821 
822 
823 
827  void clearScrewMotion ();
828 
829 
830 
831 
832  // ===> Attribute screwMotionError, which is optional
833 
834 
835 
840  bool isScrewMotionErrorExists() const;
841 
842 
843 
849  std::vector<Length > getScrewMotionError() const;
850 
851 
852 
853 
860  void setScrewMotionError (std::vector<Length > screwMotionError);
861 
862 
863 
864 
868  void clearScrewMotionError ();
869 
870 
871 
872 
873  // ===> Attribute gravCorrection, which is optional
874 
875 
876 
881  bool isGravCorrectionExists() const;
882 
883 
884 
890  bool getGravCorrection() const;
891 
892 
893 
894 
901  void setGravCorrection (bool gravCorrection);
902 
903 
904 
905 
909  void clearGravCorrection ();
910 
911 
912 
913 
914  // ===> Attribute gravOptRange, which is optional
915 
916 
917 
922  bool isGravOptRangeExists() const;
923 
924 
925 
931  std::vector<Angle > getGravOptRange() const;
932 
933 
934 
935 
942  void setGravOptRange (std::vector<Angle > gravOptRange);
943 
944 
945 
946 
950  void clearGravOptRange ();
951 
952 
953 
954 
955  // ===> Attribute tempCorrection, which is optional
956 
957 
958 
963  bool isTempCorrectionExists() const;
964 
965 
966 
972  bool getTempCorrection() const;
973 
974 
975 
976 
983  void setTempCorrection (bool tempCorrection);
984 
985 
986 
987 
991  void clearTempCorrection ();
992 
993 
994 
995 
996  // ===> Attribute tempOptRange, which is optional
997 
998 
999 
1004  bool isTempOptRangeExists() const;
1005 
1006 
1007 
1013  std::vector<Temperature > getTempOptRange() const;
1014 
1015 
1016 
1017 
1024  void setTempOptRange (std::vector<Temperature > tempOptRange);
1025 
1026 
1027 
1028 
1032  void clearTempOptRange ();
1033 
1034 
1035 
1037  // Extrinsic Table Attributes //
1039 
1040 
1041  // ===> Attribute calDataId
1042 
1043 
1044 
1045 
1046 
1051  Tag getCalDataId() const;
1052 
1053 
1054 
1055 
1065  void setCalDataId (Tag calDataId);
1066 
1067 
1068 
1069 
1070 
1071 
1072 
1073  // ===> Attribute calReductionId
1074 
1075 
1076 
1077 
1078 
1083  Tag getCalReductionId() const;
1084 
1085 
1086 
1087 
1098 
1099 
1100 
1101 
1102 
1103 
1105  // Links //
1107 
1108 
1109 
1110 
1111 
1119 
1120 
1121 
1122 
1123 
1124 
1125 
1126 
1134 
1135 
1136 
1137 
1138 
1139 
1140 
1184  bool compareNoAutoInc(std::string antennaName, Tag calDataId, Tag calReductionId, AntennaMakeMod::AntennaMake antennaMake, ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, std::vector<Length > focusPosition, std::vector<Frequency > frequencyRange, double illuminationTaper, int numReceptor, std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes, int numPanelModes, ReceiverBandMod::ReceiverBand receiverBand, EntityRef beamMapUID, Length rawRMS, Length weightedRMS, EntityRef surfaceMapUID, std::vector<Angle > direction);
1185 
1186 
1187 
1188 
1226  bool compareRequiredValue(AntennaMakeMod::AntennaMake antennaMake, ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, std::vector<Length > focusPosition, std::vector<Frequency > frequencyRange, double illuminationTaper, int numReceptor, std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes, int numPanelModes, ReceiverBandMod::ReceiverBand receiverBand, EntityRef beamMapUID, Length rawRMS, Length weightedRMS, EntityRef surfaceMapUID, std::vector<Angle > direction);
1227 
1228 
1238 
1239 #ifndef WITHOUT_ACS
1240 
1244  asdmIDL::CalHolographyRowIDL *toIDL() const;
1245 
1253  void toIDL(asdmIDL::CalHolographyRowIDL& x) const;
1254 #endif
1255 
1256 #ifndef WITHOUT_ACS
1257 
1262  void setFromIDL (asdmIDL::CalHolographyRowIDL x) ;
1263 #endif
1264 
1269  std::string toXML() const;
1270 
1277  void setFromXML (std::string rowDoc) ;
1278 
1281  // binary-deserialization material from an EndianIStream //
1283 
1284  std::map<std::string, CalHolographyAttributeFromBin> fromBinMethods;
1285 void antennaNameFromBin( EndianIStream& eis);
1286 void calDataIdFromBin( EndianIStream& eis);
1288 void antennaMakeFromBin( EndianIStream& eis);
1295 void numReceptorFromBin( EndianIStream& eis);
1299 void beamMapUIDFromBin( EndianIStream& eis);
1300 void rawRMSFromBin( EndianIStream& eis);
1301 void weightedRMSFromBin( EndianIStream& eis);
1303 void directionFromBin( EndianIStream& eis);
1304 
1305 void numScrewFromBin( EndianIStream& eis);
1306 void screwNameFromBin( EndianIStream& eis);
1307 void screwMotionFromBin( EndianIStream& eis);
1313 
1314 
1322  static CalHolographyRow* fromBin(EndianIStream& eis, CalHolographyTable& table, const std::vector<std::string>& attributesSeq);
1323 
1330  void fromText(const std::string& attributeName, const std::string& t);
1332 
1333 private:
1342 
1343  // This method is used by the Table class when this row is added to the table.
1344  void isAdded(bool added);
1345 
1346 
1356 
1375 
1377  // Intrinsic Table Attributes //
1379 
1380 
1381  // ===> Attribute antennaName
1382 
1383 
1384 
1385  std::string antennaName;
1386 
1387 
1388 
1389 
1390 
1391 
1392  // ===> Attribute antennaMake
1393 
1394 
1395 
1396  AntennaMakeMod::AntennaMake antennaMake;
1397 
1398 
1399 
1400 
1401 
1402 
1403  // ===> Attribute startValidTime
1404 
1405 
1406 
1408 
1409 
1410 
1411 
1412 
1413 
1414  // ===> Attribute endValidTime
1415 
1416 
1417 
1419 
1420 
1421 
1422 
1423 
1424 
1425  // ===> Attribute ambientTemperature
1426 
1427 
1428 
1430 
1431 
1432 
1433 
1434 
1435 
1436  // ===> Attribute focusPosition
1437 
1438 
1439 
1440  std::vector<Length > focusPosition;
1441 
1442 
1443 
1444 
1445 
1446 
1447  // ===> Attribute frequencyRange
1448 
1449 
1450 
1451  std::vector<Frequency > frequencyRange;
1452 
1453 
1454 
1455 
1456 
1457 
1458  // ===> Attribute illuminationTaper
1459 
1460 
1461 
1463 
1464 
1465 
1466 
1467 
1468 
1469  // ===> Attribute numReceptor
1470 
1471 
1472 
1474 
1475 
1476 
1477 
1478 
1479 
1480  // ===> Attribute polarizationTypes
1481 
1482 
1483 
1484  std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
1485 
1486 
1487 
1488 
1489 
1490 
1491  // ===> Attribute numPanelModes
1492 
1493 
1494 
1496 
1497 
1498 
1499 
1500 
1501 
1502  // ===> Attribute receiverBand
1503 
1504 
1505 
1506  ReceiverBandMod::ReceiverBand receiverBand;
1507 
1508 
1509 
1510 
1511 
1512 
1513  // ===> Attribute beamMapUID
1514 
1515 
1516 
1518 
1519 
1520 
1521 
1522 
1523 
1524  // ===> Attribute rawRMS
1525 
1526 
1527 
1529 
1530 
1531 
1532 
1533 
1534 
1535  // ===> Attribute weightedRMS
1536 
1537 
1538 
1540 
1541 
1542 
1543 
1544 
1545 
1546  // ===> Attribute surfaceMapUID
1547 
1548 
1549 
1551 
1552 
1553 
1554 
1555 
1556 
1557  // ===> Attribute direction
1558 
1559 
1560 
1561  std::vector<Angle > direction;
1562 
1563 
1564 
1565 
1566 
1567 
1568  // ===> Attribute numScrew, which is optional
1569 
1570 
1572 
1573 
1575 
1576 
1577 
1578 
1579 
1580 
1581  // ===> Attribute screwName, which is optional
1582 
1583 
1585 
1586 
1587  std::vector<std::string > screwName;
1588 
1589 
1590 
1591 
1592 
1593 
1594  // ===> Attribute screwMotion, which is optional
1595 
1596 
1598 
1599 
1600  std::vector<Length > screwMotion;
1601 
1602 
1603 
1604 
1605 
1606 
1607  // ===> Attribute screwMotionError, which is optional
1608 
1609 
1611 
1612 
1613  std::vector<Length > screwMotionError;
1614 
1615 
1616 
1617 
1618 
1619 
1620  // ===> Attribute gravCorrection, which is optional
1621 
1622 
1624 
1625 
1627 
1628 
1629 
1630 
1631 
1632 
1633  // ===> Attribute gravOptRange, which is optional
1634 
1635 
1637 
1638 
1639  std::vector<Angle > gravOptRange;
1640 
1641 
1642 
1643 
1644 
1645 
1646  // ===> Attribute tempCorrection, which is optional
1647 
1648 
1650 
1651 
1653 
1654 
1655 
1656 
1657 
1658 
1659  // ===> Attribute tempOptRange, which is optional
1660 
1661 
1663 
1664 
1665  std::vector<Temperature > tempOptRange;
1666 
1667 
1668 
1669 
1670 
1672  // Extrinsic Table Attributes //
1674 
1675 
1676  // ===> Attribute calDataId
1677 
1678 
1679 
1680  Tag calDataId;
1681 
1682 
1683 
1684 
1685 
1686 
1687  // ===> Attribute calReductionId
1688 
1689 
1690 
1692 
1693 
1694 
1695 
1696 
1698  // Links //
1700 
1701 
1702 
1703 
1704 
1705 
1706 
1707 
1708 
1709 
1710 
1711 
1712 
1713 
1714 
1715 
1716 /*
1718  // binary-deserialization material from an EndianIStream //
1720  std::map<std::string, CalHolographyAttributeFromBin> fromBinMethods;
1721 void antennaNameFromBin( EndianIStream& eis);
1722 void calDataIdFromBin( EndianIStream& eis);
1723 void calReductionIdFromBin( EndianIStream& eis);
1724 void antennaMakeFromBin( EndianIStream& eis);
1725 void startValidTimeFromBin( EndianIStream& eis);
1726 void endValidTimeFromBin( EndianIStream& eis);
1727 void ambientTemperatureFromBin( EndianIStream& eis);
1728 void focusPositionFromBin( EndianIStream& eis);
1729 void frequencyRangeFromBin( EndianIStream& eis);
1730 void illuminationTaperFromBin( EndianIStream& eis);
1731 void numReceptorFromBin( EndianIStream& eis);
1732 void polarizationTypesFromBin( EndianIStream& eis);
1733 void numPanelModesFromBin( EndianIStream& eis);
1734 void receiverBandFromBin( EndianIStream& eis);
1735 void beamMapUIDFromBin( EndianIStream& eis);
1736 void rawRMSFromBin( EndianIStream& eis);
1737 void weightedRMSFromBin( EndianIStream& eis);
1738 void surfaceMapUIDFromBin( EndianIStream& eis);
1739 void directionFromBin( EndianIStream& eis);
1740 
1741 void numScrewFromBin( EndianIStream& eis);
1742 void screwNameFromBin( EndianIStream& eis);
1743 void screwMotionFromBin( EndianIStream& eis);
1744 void screwMotionErrorFromBin( EndianIStream& eis);
1745 void gravCorrectionFromBin( EndianIStream& eis);
1746 void gravOptRangeFromBin( EndianIStream& eis);
1747 void tempCorrectionFromBin( EndianIStream& eis);
1748 void tempOptRangeFromBin( EndianIStream& eis);
1749 
1750 */
1751 
1753  // text-deserialization material //
1755  std::map<std::string, CalHolographyAttributeFromText> fromTextMethods;
1756 
1757 void antennaNameFromText (const std::string & s);
1758 
1759 
1760 void calDataIdFromText (const std::string & s);
1761 
1762 
1763 void calReductionIdFromText (const std::string & s);
1764 
1765 
1766 void antennaMakeFromText (const std::string & s);
1767 
1768 
1769 void startValidTimeFromText (const std::string & s);
1770 
1771 
1772 void endValidTimeFromText (const std::string & s);
1773 
1774 
1775 void ambientTemperatureFromText (const std::string & s);
1776 
1777 
1778 void focusPositionFromText (const std::string & s);
1779 
1780 
1781 void frequencyRangeFromText (const std::string & s);
1782 
1783 
1784 void illuminationTaperFromText (const std::string & s);
1785 
1786 
1787 void numReceptorFromText (const std::string & s);
1788 
1789 
1790 void polarizationTypesFromText (const std::string & s);
1791 
1792 
1793 void numPanelModesFromText (const std::string & s);
1794 
1795 
1796 void receiverBandFromText (const std::string & s);
1797 
1798 
1799 
1800 void rawRMSFromText (const std::string & s);
1801 
1802 
1803 void weightedRMSFromText (const std::string & s);
1804 
1805 
1806 
1807 void directionFromText (const std::string & s);
1808 
1809 
1810 
1811 void numScrewFromText (const std::string & s);
1812 
1813 
1814 void screwNameFromText (const std::string & s);
1815 
1816 
1817 void screwMotionFromText (const std::string & s);
1818 
1819 
1820 void screwMotionErrorFromText (const std::string & s);
1821 
1822 
1823 void gravCorrectionFromText (const std::string & s);
1824 
1825 
1826 void gravOptRangeFromText (const std::string & s);
1827 
1828 
1829 void tempCorrectionFromText (const std::string & s);
1830 
1831 
1832 void tempOptRangeFromText (const std::string & s);
1833 
1834 
1835 
1840  void toBin(EndianOSStream& eoss);
1841 
1851 };
1852 
1853 } // End namespace asdm
1854 
1855 #endif /* CalHolography_CLASS */
virtual ~CalHolographyRow()
friend class asdm::TableStreamReader&lt;CalHolographyTable, CalHolographyRow&gt;;
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void(CalHolographyRow::* CalHolographyAttributeFromText)(const std::string &s)
void gravOptRangeFromText(const std::string &s)
void screwMotionFromBin(EndianIStream &eis)
void numPanelModesFromText(const std::string &s)
void setAntennaName(std::string antennaName)
Set antennaName with the specified std::string.
bool compareRequiredValue(AntennaMakeMod::AntennaMake antennaMake, ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, std::vector< Length > focusPosition, std::vector< Frequency > frequencyRange, double illuminationTaper, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, int numPanelModes, ReceiverBandMod::ReceiverBand receiverBand, EntityRef beamMapUID, Length rawRMS, Length weightedRMS, EntityRef surfaceMapUID, std::vector< Angle > direction)
Compare each mandatory value (i.e.
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===&gt; Attribute polarizationTypes
CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
std::vector< Length > screwMotion
*text deserialization material std::map< std::string, CalHolographyAttributeFromText > fromTextMethods
void clearGravOptRange()
Mark gravOptRange, which is an optional field, as non-existent.
void weightedRMSFromBin(EndianIStream &eis)
bool hasBeenAdded
Whether this row has been added to the table or not.
void ambientTemperatureFromBin(EndianIStream &eis)
void numScrewFromText(const std::string &s)
EntityRef getSurfaceMapUID() const
===&gt; Attribute surfaceMapUID
ArrayTime endValidTime
===&gt; Attribute endValidTime
void rawRMSFromBin(EndianIStream &eis)
void setFromIDL(asdmIDL::CalHolographyRowIDL x)
Fill the values of this row from the IDL struct CalHolographyRowIDL.
void directionFromText(const std::string &s)
Length rawRMS
===&gt; Attribute rawRMS
void gravOptRangeFromBin(EndianIStream &eis)
CalHolographyRow(CalHolographyTable &table)
Create a CalHolographyRow.
void antennaMakeFromBin(EndianIStream &eis)
bool isScrewMotionExists() const
===&gt; Attribute screwMotion, which is optional
void beamMapUIDFromBin(EndianIStream &eis)
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector&lt;PolarizationTypeMod::PolarizationType &gt;...
void setNumScrew(int numScrew)
Set numScrew with the specified int.
void setWeightedRMS(Length weightedRMS)
Set weightedRMS with the specified Length.
double getIlluminationTaper() const
===&gt; Attribute illuminationTaper
void screwMotionErrorFromText(const std::string &s)
std::vector< Temperature > tempOptRange
void calDataIdFromBin(EndianIStream &eis)
std::vector< std::string > screwName
std::vector< Angle > gravOptRange
bool isAdded() const
Has this row been added to its table ?
std::string toXML() const
Return this row in the form of an XML string.
ReceiverBandMod::ReceiverBand getReceiverBand() const
===&gt; Attribute receiverBand
void receiverBandFromBin(EndianIStream &eis)
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
void setScrewMotion(std::vector< Length > screwMotion)
Set screwMotion with the specified std::vector&lt;Length &gt;.
int numReceptor
===&gt; Attribute numReceptor
void clearScrewMotion()
Mark screwMotion, which is an optional field, as non-existent.
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
std::vector< Angle > getGravOptRange() const
Get gravOptRange, which is optional.
void antennaNameFromText(const std::string &s)
bool gravCorrectionExists
===&gt; Attribute gravCorrection, which is optional
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===&gt; Attribute polarizationTypes
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
EntityRef getBeamMapUID() const
===&gt; Attribute beamMapUID
void clearGravCorrection()
Mark gravCorrection, which is an optional field, as non-existent.
The CalHolographyRow class is a row of a CalHolographyTable.
void rawRMSFromText(const std::string &s)
bool numScrewExists
===&gt; Attribute numScrew, which is optional
Length weightedRMS
===&gt; Attribute weightedRMS
void focusPositionFromBin(EndianIStream &eis)
bool isScrewNameExists() const
===&gt; Attribute screwName, which is optional
std::vector< Length > getScrewMotionError() const
Get screwMotionError, which is optional.
void(CalHolographyRow::* CalHolographyAttributeFromBin)(EndianIStream &eis)
void polarizationTypesFromText(const std::string &s)
void numScrewFromBin(EndianIStream &eis)
bool isTempOptRangeExists() const
===&gt; Attribute tempOptRange, which is optional
The Temperature class implements a quantity of temperature in degrees Kelvin.
Definition: Temperature.h:53
void setScrewName(std::vector< std::string > screwName)
Set screwName with the specified std::vector&lt;std::string &gt;.
void directionFromBin(EndianIStream &eis)
void setRawRMS(Length rawRMS)
Set rawRMS with the specified Length.
int getNumScrew() const
Get numScrew, which is optional.
bool compareNoAutoInc(std::string antennaName, Tag calDataId, Tag calReductionId, AntennaMakeMod::AntennaMake antennaMake, ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, std::vector< Length > focusPosition, std::vector< Frequency > frequencyRange, double illuminationTaper, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, int numPanelModes, ReceiverBandMod::ReceiverBand receiverBand, EntityRef beamMapUID, Length rawRMS, Length weightedRMS, EntityRef surfaceMapUID, std::vector< Angle > direction)
Compare each mandatory attribute except the autoincrementable one of this CalHolographyRow with the c...
int getNumPanelModes() const
===&gt; Attribute numPanelModes
void screwMotionFromText(const std::string &s)
bool isScrewMotionErrorExists() const
===&gt; Attribute screwMotionError, which is optional
ArrayTime getStartValidTime() const
===&gt; Attribute startValidTime
bool screwNameExists
===&gt; Attribute screwName, which is optional
void clearNumScrew()
Mark numScrew, which is an optional field, as non-existent.
void illuminationTaperFromBin(EndianIStream &eis)
The EntityRef class is an identification of a persistant entity in the ALMA archive.
Definition: EntityRef.h:58
void setAntennaMake(AntennaMakeMod::AntennaMake antennaMake)
Set antennaMake with the specified AntennaMakeMod::AntennaMake.
void endValidTimeFromText(const std::string &s)
void calReductionIdFromText(const std::string &s)
bool isGravCorrectionExists() const
===&gt; Attribute gravCorrection, which is optional
void setSurfaceMapUID(EntityRef surfaceMapUID)
Set surfaceMapUID with the specified EntityRef.
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
ArrayTime startValidTime
===&gt; Attribute startValidTime
void screwNameFromText(const std::string &s)
AntennaMakeMod::AntennaMake getAntennaMake() const
===&gt; Attribute antennaMake
bool screwMotionErrorExists
===&gt; Attribute screwMotionError, which is optional
void numReceptorFromBin(EndianIStream &eis)
bool screwMotionExists
===&gt; Attribute screwMotion, which is optional
ArrayTime getEndValidTime() const
===&gt; Attribute endValidTime
void setScrewMotionError(std::vector< Length > screwMotionError)
Set screwMotionError with the specified std::vector&lt;Length &gt;.
void setGravOptRange(std::vector< Angle > gravOptRange)
Set gravOptRange with the specified std::vector&lt;Angle &gt;.
std::vector< Length > screwMotionError
void receiverBandFromText(const std::string &s)
The CalReductionRow class is a row of a CalReductionTable.
std::vector< Frequency > getFrequencyRange() const
===&gt; Attribute frequencyRange
void startValidTimeFromText(const std::string &s)
bool getTempCorrection() const
Get tempCorrection, which is optional.
bool isNumScrewExists() const
===&gt; Attribute numScrew, which is optional
void clearScrewName()
Mark screwName, which is an optional field, as non-existent.
Length getWeightedRMS() const
===&gt; Attribute weightedRMS
std::vector< Length > focusPosition
===&gt; Attribute focusPosition
void setTempOptRange(std::vector< Temperature > tempOptRange)
Set tempOptRange with the specified std::vector&lt;Temperature &gt;.
The Length class implements a quantity of length in meters.
Definition: Length.h:53
void setFrequencyRange(std::vector< Frequency > frequencyRange)
Set frequencyRange with the specified std::vector&lt;Frequency &gt;.
void focusPositionFromText(const std::string &s)
Links *CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
void frequencyRangeFromBin(EndianIStream &eis)
void tempCorrectionFromText(const std::string &s)
std::vector< Angle > getDirection() const
===&gt; Attribute direction
void numPanelModesFromBin(EndianIStream &eis)
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
Definition: ArrayTime.h:89
bool isGravOptRangeExists() const
===&gt; Attribute gravOptRange, which is optional
void setBeamMapUID(EntityRef beamMapUID)
Set beamMapUID with the specified EntityRef.
void gravCorrectionFromBin(EndianIStream &eis)
void calDataIdFromText(const std::string &s)
void gravCorrectionFromText(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< Temperature > getTempOptRange() const
Get tempOptRange, which is optional.
bool gravOptRangeExists
===&gt; Attribute gravOptRange, which is optional
bool getGravCorrection() const
Get gravCorrection, which is optional.
EntityRef beamMapUID
===&gt; Attribute beamMapUID
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
void screwMotionErrorFromBin(EndianIStream &eis)
void setGravCorrection(bool gravCorrection)
Set gravCorrection with the specified bool.
Temperature getAmbientTemperature() const
===&gt; Attribute ambientTemperature
void startValidTimeFromBin(EndianIStream &eis)
CalHolographyTable & table
The table to which this row belongs.
void setIlluminationTaper(double illuminationTaper)
Set illuminationTaper with the specified double.
void setAmbientTemperature(Temperature ambientTemperature)
Set ambientTemperature with the specified Temperature.
Tag getCalReductionId() const
===&gt; Attribute calReductionId
void clearTempOptRange()
Mark tempOptRange, which is an optional field, as non-existent.
void clearScrewMotionError()
Mark screwMotionError, which is an optional field, as non-existent.
std::vector< Length > getScrewMotion() const
Get screwMotion, which is optional.
CalHolographyTable & getTable() const
Return the table to which this row belongs.
void setDirection(std::vector< Angle > direction)
Set direction with the specified std::vector&lt;Angle &gt;.
void tempOptRangeFromBin(EndianIStream &eis)
void endValidTimeFromBin(EndianIStream &eis)
EntityRef surfaceMapUID
===&gt; Attribute surfaceMapUID
void setTempCorrection(bool tempCorrection)
Set tempCorrection with the specified bool.
void antennaMakeFromText(const std::string &s)
void tempCorrectionFromBin(EndianIStream &eis)
AntennaMakeMod::AntennaMake antennaMake
===&gt; Attribute antennaMake
void setFocusPosition(std::vector< Length > focusPosition)
Set focusPosition with the specified std::vector&lt;Length &gt;.
Temperature ambientTemperature
===&gt; Attribute ambientTemperature
bool tempOptRangeExists
===&gt; Attribute tempOptRange, which is optional
Tag calReductionId
===&gt; Attribute calReductionId
The CalDataRow class is a row of a CalDataTable.
Definition: CalDataRow.h:130
void illuminationTaperFromText(const std::string &s)
std::vector< Angle > direction
===&gt; Attribute direction
void numReceptorFromText(const std::string &s)
bool equalByRequiredValue(CalHolographyRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void antennaNameFromBin(EndianIStream &eis)
void calReductionIdFromBin(EndianIStream &eis)
ReceiverBandMod::ReceiverBand receiverBand
===&gt; Attribute receiverBand
std::vector< std::string > getScrewName() const
Get screwName, which is optional.
void frequencyRangeFromText(const std::string &s)
int getNumReceptor() const
===&gt; Attribute numReceptor
std::vector< Length > getFocusPosition() const
===&gt; Attribute focusPosition
void weightedRMSFromText(const std::string &s)
void clearTempCorrection()
Mark tempCorrection, which is an optional field, as non-existent.
int numPanelModes
===&gt; Attribute numPanelModes
bool tempCorrectionExists
===&gt; Attribute tempCorrection, which is optional
void tempOptRangeFromText(const std::string &s)
Links *binary deserialization material from an EndianIStream std::map< std::string, CalHolographyAttributeFromBin > fromBinMethods
void ambientTemperatureFromText(const std::string &s)
bool isTempCorrectionExists() const
===&gt; Attribute tempCorrection, which is optional
void surfaceMapUIDFromBin(EndianIStream &eis)
void screwNameFromBin(EndianIStream &eis)
Length getRawRMS() const
===&gt; Attribute rawRMS
The CalHolographyTable class is an Alma table.
void polarizationTypesFromBin(EndianIStream &eis)
asdmIDL::CalHolographyRowIDL * toIDL() const
Return this row in the form of an IDL struct.
std::vector< Frequency > frequencyRange
===&gt; Attribute frequencyRange
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void setNumPanelModes(int numPanelModes)
Set numPanelModes with the specified int.
double illuminationTaper
===&gt; Attribute illuminationTaper