casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExecBlockRow.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 ExecBlockRow.h
32  */
33 
34 #ifndef ExecBlockRow_CLASS
35 #define ExecBlockRow_CLASS
36 
37 #include <vector>
38 #include <string>
39 #include <set>
40 
41 #ifndef WITHOUT_ACS
42 #include <asdmIDLC.h>
43 #endif
44 
45 
46 
47 
48 
49 
50 
51 #include <alma/ASDM/Angle.h>
52 
53 
54 
55 #include <alma/ASDM/ArrayTime.h>
56 
57 
58 
59 #include <alma/ASDM/Length.h>
60 
61 
62 
63 #include <alma/ASDM/Tag.h>
64 
65 
66 
67 #include <alma/ASDM/EntityRef.h>
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 
101 
102 
103 
104 
105 
106 
107 
108 
109 
110 
111 
112 
113 
114 
115 
116 
117 
118 
119 
120 
121 
122 
123 
124 
125 
126 
128 #include <alma/ASDM/NoSuchRow.h>
130 
132 //#include <alma/ASDM/TableStreamReader.h>
133 
134 /*\file ExecBlock.h
135  \brief Generated from model's revision "-1", branch ""
136 */
137 
138 namespace asdm {
139 
140 //class asdm::ExecBlockTable;
141 
142 
143 // class asdm::AntennaRow;
144 class AntennaRow;
145 
146 // class asdm::SBSummaryRow;
147 class SBSummaryRow;
148 
149 // class asdm::ScaleRow;
150 class ScaleRow;
151 
152 
153 class ExecBlockRow;
155 typedef void (ExecBlockRow::*ExecBlockAttributeFromText) (const std::string& s);
156 
164 friend class asdm::ExecBlockTable;
166 //friend class asdm::TableStreamReader<ExecBlockTable, ExecBlockRow>;
167 
168 public:
169 
170  virtual ~ExecBlockRow();
171 
175  ExecBlockTable &getTable() const;
176 
181  bool isAdded() const;
182 
184  // Intrinsic Table Attributes //
186 
187 
188  // ===> Attribute execBlockId
189 
190 
191 
192 
193 
198  Tag getExecBlockId() const;
199 
200 
201 
202 
203 
204 
205 
206 
207 
208  // ===> Attribute startTime
209 
210 
211 
212 
213 
218  ArrayTime getStartTime() const;
219 
220 
221 
222 
231 
232 
233 
234 
235 
236 
237 
238  // ===> Attribute endTime
239 
240 
241 
242 
243 
248  ArrayTime getEndTime() const;
249 
250 
251 
252 
261 
262 
263 
264 
265 
266 
267 
268  // ===> Attribute execBlockNum
269 
270 
271 
272 
273 
278  int getExecBlockNum() const;
279 
280 
281 
282 
290  void setExecBlockNum (int execBlockNum);
291 
292 
293 
294 
295 
296 
297 
298  // ===> Attribute execBlockUID
299 
300 
301 
302 
303 
308  EntityRef getExecBlockUID() const;
309 
310 
311 
312 
321 
322 
323 
324 
325 
326 
327 
328  // ===> Attribute projectUID
329 
330 
331 
332 
333 
338  EntityRef getProjectUID() const;
339 
340 
341 
342 
351 
352 
353 
354 
355 
356 
357 
358  // ===> Attribute configName
359 
360 
361 
362 
363 
368  std::string getConfigName() const;
369 
370 
371 
372 
380  void setConfigName (std::string configName);
381 
382 
383 
384 
385 
386 
387 
388  // ===> Attribute telescopeName
389 
390 
391 
392 
393 
398  std::string getTelescopeName() const;
399 
400 
401 
402 
410  void setTelescopeName (std::string telescopeName);
411 
412 
413 
414 
415 
416 
417 
418  // ===> Attribute observerName
419 
420 
421 
422 
423 
428  std::string getObserverName() const;
429 
430 
431 
432 
440  void setObserverName (std::string observerName);
441 
442 
443 
444 
445 
446 
447 
448  // ===> Attribute numObservingLog
449 
450 
451 
452 
453 
458  int getNumObservingLog() const;
459 
460 
461 
462 
471 
472 
473 
474 
475 
476 
477 
478  // ===> Attribute observingLog
479 
480 
481 
482 
483 
488  std::vector<std::string > getObservingLog() const;
489 
490 
491 
492 
500  void setObservingLog (std::vector<std::string > observingLog);
501 
502 
503 
504 
505 
506 
507 
508  // ===> Attribute sessionReference
509 
510 
511 
512 
513 
519 
520 
521 
522 
531 
532 
533 
534 
535 
536 
537 
538  // ===> Attribute baseRangeMin
539 
540 
541 
542 
543 
548  Length getBaseRangeMin() const;
549 
550 
551 
552 
561 
562 
563 
564 
565 
566 
567 
568  // ===> Attribute baseRangeMax
569 
570 
571 
572 
573 
578  Length getBaseRangeMax() const;
579 
580 
581 
582 
591 
592 
593 
594 
595 
596 
597 
598  // ===> Attribute baseRmsMinor
599 
600 
601 
602 
603 
608  Length getBaseRmsMinor() const;
609 
610 
611 
612 
621 
622 
623 
624 
625 
626 
627 
628  // ===> Attribute baseRmsMajor
629 
630 
631 
632 
633 
638  Length getBaseRmsMajor() const;
639 
640 
641 
642 
651 
652 
653 
654 
655 
656 
657 
658  // ===> Attribute basePa
659 
660 
661 
662 
663 
668  Angle getBasePa() const;
669 
670 
671 
672 
680  void setBasePa (Angle basePa);
681 
682 
683 
684 
685 
686 
687 
688  // ===> Attribute aborted
689 
690 
691 
692 
693 
698  bool getAborted() const;
699 
700 
701 
702 
710  void setAborted (bool aborted);
711 
712 
713 
714 
715 
716 
717 
718  // ===> Attribute numAntenna
719 
720 
721 
722 
723 
728  int getNumAntenna() const;
729 
730 
731 
732 
740  void setNumAntenna (int numAntenna);
741 
742 
743 
744 
745 
746 
747 
748  // ===> Attribute releaseDate, which is optional
749 
750 
751 
756  bool isReleaseDateExists() const;
757 
758 
759 
765  ArrayTime getReleaseDate() const;
766 
767 
768 
769 
777 
778 
779 
780 
784  void clearReleaseDate ();
785 
786 
787 
788 
789  // ===> Attribute schedulerMode, which is optional
790 
791 
792 
797  bool isSchedulerModeExists() const;
798 
799 
800 
806  std::string getSchedulerMode() const;
807 
808 
809 
810 
817  void setSchedulerMode (std::string schedulerMode);
818 
819 
820 
821 
825  void clearSchedulerMode ();
826 
827 
828 
829 
830  // ===> Attribute siteAltitude, which is optional
831 
832 
833 
838  bool isSiteAltitudeExists() const;
839 
840 
841 
847  Length getSiteAltitude() const;
848 
849 
850 
851 
859 
860 
861 
862 
866  void clearSiteAltitude ();
867 
868 
869 
870 
871  // ===> Attribute siteLongitude, which is optional
872 
873 
874 
879  bool isSiteLongitudeExists() const;
880 
881 
882 
888  Angle getSiteLongitude() const;
889 
890 
891 
892 
900 
901 
902 
903 
907  void clearSiteLongitude ();
908 
909 
910 
911 
912  // ===> Attribute siteLatitude, which is optional
913 
914 
915 
920  bool isSiteLatitudeExists() const;
921 
922 
923 
929  Angle getSiteLatitude() const;
930 
931 
932 
933 
941 
942 
943 
944 
948  void clearSiteLatitude ();
949 
950 
951 
952 
953  // ===> Attribute observingScript, which is optional
954 
955 
956 
961  bool isObservingScriptExists() const;
962 
963 
964 
970  std::string getObservingScript() const;
971 
972 
973 
974 
981  void setObservingScript (std::string observingScript);
982 
983 
984 
985 
989  void clearObservingScript ();
990 
991 
992 
993 
994  // ===> Attribute observingScriptUID, which is optional
995 
996 
997 
1002  bool isObservingScriptUIDExists() const;
1003 
1004 
1005 
1012 
1013 
1014 
1015 
1023 
1024 
1025 
1026 
1030  void clearObservingScriptUID ();
1031 
1032 
1033 
1035  // Extrinsic Table Attributes //
1037 
1038 
1039  // ===> Attribute antennaId
1040 
1041 
1042 
1043 
1044 
1049  std::vector<Tag> getAntennaId() const;
1050 
1051 
1052 
1053 
1061  void setAntennaId (std::vector<Tag> antennaId);
1062 
1063 
1064 
1065 
1066 
1067 
1068 
1069  // ===> Attribute sBSummaryId
1070 
1071 
1072 
1073 
1074 
1079  Tag getSBSummaryId() const;
1080 
1081 
1082 
1083 
1092 
1093 
1094 
1095 
1096 
1097 
1098 
1099  // ===> Attribute scaleId, which is optional
1100 
1101 
1102 
1107  bool isScaleIdExists() const;
1108 
1109 
1110 
1116  Tag getScaleId() const;
1117 
1118 
1119 
1120 
1127  void setScaleId (Tag scaleId);
1128 
1129 
1130 
1131 
1135  void clearScaleId ();
1136 
1137 
1138 
1140  // Links //
1142 
1143 
1144 
1152  void setAntennaId (int i, Tag antennaId);
1153 
1154 
1155 
1156 
1157 
1162  void addAntennaId(Tag id);
1163 
1168  void addAntennaId(const std::vector<Tag> & id);
1169 
1170 
1176  const Tag getAntennaId(int i);
1177 
1186 
1191  std::vector<AntennaRow *> getAntennasUsingAntennaId();
1192 
1193 
1194 
1195 
1196 
1197 
1198 
1199 
1207 
1208 
1209 
1210 
1211 
1212 
1213 
1214 
1224 
1225 
1226 
1227 
1228 
1229 
1230 
1277 
1278 
1279 
1280 
1327 
1328 
1338 
1339 #ifndef WITHOUT_ACS
1340 
1344  asdmIDL::ExecBlockRowIDL *toIDL() const;
1345 
1353  void toIDL(asdmIDL::ExecBlockRowIDL& x) const;
1354 #endif
1355 
1356 #ifndef WITHOUT_ACS
1357 
1362  void setFromIDL (asdmIDL::ExecBlockRowIDL x) ;
1363 #endif
1364 
1369  std::string toXML() const;
1370 
1377  void setFromXML (std::string rowDoc) ;
1378 
1381  // binary-deserialization material from an EndianIStream //
1383 
1384  std::map<std::string, ExecBlockAttributeFromBin> fromBinMethods;
1385 void execBlockIdFromBin( EndianIStream& eis);
1386 void startTimeFromBin( EndianIStream& eis);
1387 void endTimeFromBin( EndianIStream& eis);
1390 void projectUIDFromBin( EndianIStream& eis);
1391 void configNameFromBin( EndianIStream& eis);
1401 void basePaFromBin( EndianIStream& eis);
1402 void abortedFromBin( EndianIStream& eis);
1403 void numAntennaFromBin( EndianIStream& eis);
1404 void antennaIdFromBin( EndianIStream& eis);
1405 void sBSummaryIdFromBin( EndianIStream& eis);
1406 
1407 void releaseDateFromBin( EndianIStream& eis);
1414 void scaleIdFromBin( EndianIStream& eis);
1415 
1416 
1424  static ExecBlockRow* fromBin(EndianIStream& eis, ExecBlockTable& table, const std::vector<std::string>& attributesSeq);
1425 
1432  void fromText(const std::string& attributeName, const std::string& t);
1434 
1435 private:
1444 
1445  // This method is used by the Table class when this row is added to the table.
1446  void isAdded(bool added);
1447 
1448 
1458 
1477 
1479  // Intrinsic Table Attributes //
1481 
1482 
1483  // ===> Attribute execBlockId
1484 
1485 
1486 
1487  Tag execBlockId;
1488 
1489 
1490 
1491 
1501  void setExecBlockId (Tag execBlockId);
1502 
1503 
1504 
1505 
1506  // ===> Attribute startTime
1507 
1508 
1509 
1511 
1512 
1513 
1514 
1515 
1516 
1517  // ===> Attribute endTime
1518 
1519 
1520 
1522 
1523 
1524 
1525 
1526 
1527 
1528  // ===> Attribute execBlockNum
1529 
1530 
1531 
1533 
1534 
1535 
1536 
1537 
1538 
1539  // ===> Attribute execBlockUID
1540 
1541 
1542 
1544 
1545 
1546 
1547 
1548 
1549 
1550  // ===> Attribute projectUID
1551 
1552 
1553 
1555 
1556 
1557 
1558 
1559 
1560 
1561  // ===> Attribute configName
1562 
1563 
1564 
1565  std::string configName;
1566 
1567 
1568 
1569 
1570 
1571 
1572  // ===> Attribute telescopeName
1573 
1574 
1575 
1576  std::string telescopeName;
1577 
1578 
1579 
1580 
1581 
1582 
1583  // ===> Attribute observerName
1584 
1585 
1586 
1587  std::string observerName;
1588 
1589 
1590 
1591 
1592 
1593 
1594  // ===> Attribute numObservingLog
1595 
1596 
1597 
1599 
1600 
1601 
1602 
1603 
1604 
1605  // ===> Attribute observingLog
1606 
1607 
1608 
1609  std::vector<std::string > observingLog;
1610 
1611 
1612 
1613 
1614 
1615 
1616  // ===> Attribute sessionReference
1617 
1618 
1619 
1621 
1622 
1623 
1624 
1625 
1626 
1627  // ===> Attribute baseRangeMin
1628 
1629 
1630 
1632 
1633 
1634 
1635 
1636 
1637 
1638  // ===> Attribute baseRangeMax
1639 
1640 
1641 
1643 
1644 
1645 
1646 
1647 
1648 
1649  // ===> Attribute baseRmsMinor
1650 
1651 
1652 
1654 
1655 
1656 
1657 
1658 
1659 
1660  // ===> Attribute baseRmsMajor
1661 
1662 
1663 
1665 
1666 
1667 
1668 
1669 
1670 
1671  // ===> Attribute basePa
1672 
1673 
1674 
1676 
1677 
1678 
1679 
1680 
1681 
1682  // ===> Attribute aborted
1683 
1684 
1685 
1686  bool aborted;
1687 
1688 
1689 
1690 
1691 
1692 
1693  // ===> Attribute numAntenna
1694 
1695 
1696 
1698 
1699 
1700 
1701 
1702 
1703 
1704  // ===> Attribute releaseDate, which is optional
1705 
1706 
1708 
1709 
1711 
1712 
1713 
1714 
1715 
1716 
1717  // ===> Attribute schedulerMode, which is optional
1718 
1719 
1721 
1722 
1723  std::string schedulerMode;
1724 
1725 
1726 
1727 
1728 
1729 
1730  // ===> Attribute siteAltitude, which is optional
1731 
1732 
1734 
1735 
1737 
1738 
1739 
1740 
1741 
1742 
1743  // ===> Attribute siteLongitude, which is optional
1744 
1745 
1747 
1748 
1750 
1751 
1752 
1753 
1754 
1755 
1756  // ===> Attribute siteLatitude, which is optional
1757 
1758 
1760 
1761 
1763 
1764 
1765 
1766 
1767 
1768 
1769  // ===> Attribute observingScript, which is optional
1770 
1771 
1773 
1774 
1775  std::string observingScript;
1776 
1777 
1778 
1779 
1780 
1781 
1782  // ===> Attribute observingScriptUID, which is optional
1783 
1784 
1786 
1787 
1789 
1790 
1791 
1792 
1793 
1795  // Extrinsic Table Attributes //
1797 
1798 
1799  // ===> Attribute antennaId
1800 
1801 
1802 
1803  std::vector<Tag> antennaId;
1804 
1805 
1806 
1807 
1808 
1809 
1810  // ===> Attribute sBSummaryId
1811 
1812 
1813 
1815 
1816 
1817 
1818 
1819 
1820 
1821  // ===> Attribute scaleId, which is optional
1822 
1823 
1825 
1826 
1828 
1829 
1830 
1831 
1832 
1834  // Links //
1836 
1837 
1838 
1839 
1840 
1841 
1842 
1843 
1844 
1845 
1846 
1847 
1848 
1849 
1850 
1851 
1852 
1853 
1854 
1855 
1856 
1857 
1858 /*
1860  // binary-deserialization material from an EndianIStream //
1862  std::map<std::string, ExecBlockAttributeFromBin> fromBinMethods;
1863 void execBlockIdFromBin( EndianIStream& eis);
1864 void startTimeFromBin( EndianIStream& eis);
1865 void endTimeFromBin( EndianIStream& eis);
1866 void execBlockNumFromBin( EndianIStream& eis);
1867 void execBlockUIDFromBin( EndianIStream& eis);
1868 void projectUIDFromBin( EndianIStream& eis);
1869 void configNameFromBin( EndianIStream& eis);
1870 void telescopeNameFromBin( EndianIStream& eis);
1871 void observerNameFromBin( EndianIStream& eis);
1872 void numObservingLogFromBin( EndianIStream& eis);
1873 void observingLogFromBin( EndianIStream& eis);
1874 void sessionReferenceFromBin( EndianIStream& eis);
1875 void baseRangeMinFromBin( EndianIStream& eis);
1876 void baseRangeMaxFromBin( EndianIStream& eis);
1877 void baseRmsMinorFromBin( EndianIStream& eis);
1878 void baseRmsMajorFromBin( EndianIStream& eis);
1879 void basePaFromBin( EndianIStream& eis);
1880 void abortedFromBin( EndianIStream& eis);
1881 void numAntennaFromBin( EndianIStream& eis);
1882 void antennaIdFromBin( EndianIStream& eis);
1883 void sBSummaryIdFromBin( EndianIStream& eis);
1884 
1885 void releaseDateFromBin( EndianIStream& eis);
1886 void schedulerModeFromBin( EndianIStream& eis);
1887 void siteAltitudeFromBin( EndianIStream& eis);
1888 void siteLongitudeFromBin( EndianIStream& eis);
1889 void siteLatitudeFromBin( EndianIStream& eis);
1890 void observingScriptFromBin( EndianIStream& eis);
1891 void observingScriptUIDFromBin( EndianIStream& eis);
1892 void scaleIdFromBin( EndianIStream& eis);
1893 
1894 */
1895 
1897  // text-deserialization material //
1899  std::map<std::string, ExecBlockAttributeFromText> fromTextMethods;
1900 
1901 void execBlockIdFromText (const std::string & s);
1902 
1903 
1904 void startTimeFromText (const std::string & s);
1905 
1906 
1907 void endTimeFromText (const std::string & s);
1908 
1909 
1910 void execBlockNumFromText (const std::string & s);
1911 
1912 
1913 
1914 
1915 void configNameFromText (const std::string & s);
1916 
1917 
1918 void telescopeNameFromText (const std::string & s);
1919 
1920 
1921 void observerNameFromText (const std::string & s);
1922 
1923 
1924 void numObservingLogFromText (const std::string & s);
1925 
1926 
1927 void observingLogFromText (const std::string & s);
1928 
1929 
1930 
1931 void baseRangeMinFromText (const std::string & s);
1932 
1933 
1934 void baseRangeMaxFromText (const std::string & s);
1935 
1936 
1937 void baseRmsMinorFromText (const std::string & s);
1938 
1939 
1940 void baseRmsMajorFromText (const std::string & s);
1941 
1942 
1943 void basePaFromText (const std::string & s);
1944 
1945 
1946 void abortedFromText (const std::string & s);
1947 
1948 
1949 void numAntennaFromText (const std::string & s);
1950 
1951 
1952 void antennaIdFromText (const std::string & s);
1953 
1954 
1955 void sBSummaryIdFromText (const std::string & s);
1956 
1957 
1958 
1959 void releaseDateFromText (const std::string & s);
1960 
1961 
1962 void schedulerModeFromText (const std::string & s);
1963 
1964 
1965 void siteAltitudeFromText (const std::string & s);
1966 
1967 
1968 void siteLongitudeFromText (const std::string & s);
1969 
1970 
1971 void siteLatitudeFromText (const std::string & s);
1972 
1973 
1974 void observingScriptFromText (const std::string & s);
1975 
1976 
1977 
1978 void scaleIdFromText (const std::string & s);
1979 
1980 
1981 
1986  void toBin(EndianOSStream& eoss);
1987 
1997 };
1998 
1999 } // End namespace asdm
2000 
2001 #endif /* ExecBlock_CLASS */
EntityRef execBlockUID
===&gt; Attribute execBlockUID
void siteLatitudeFromBin(EndianIStream &eis)
void(ExecBlockRow::* ExecBlockAttributeFromText)(const std::string &s)
Definition: ExecBlockRow.h:155
ArrayTime startTime
===&gt; Attribute startTime
void setScaleId(Tag scaleId)
Set scaleId with the specified Tag.
std::string observerName
===&gt; Attribute observerName
void clearReleaseDate()
Mark releaseDate, which is an optional field, as non-existent.
void antennaIdFromText(const std::string &s)
asdmIDL::ExecBlockRowIDL * toIDL() const
Return this row in the form of an IDL struct.
Length getBaseRangeMin() const
===&gt; Attribute baseRangeMin
EntityRef getExecBlockUID() const
===&gt; Attribute execBlockUID
Length baseRmsMajor
===&gt; Attribute baseRmsMajor
void schedulerModeFromText(const std::string &s)
void baseRmsMinorFromText(const std::string &s)
Length getBaseRmsMajor() const
===&gt; Attribute baseRmsMajor
std::string observingScript
void observingScriptFromBin(EndianIStream &eis)
void execBlockIdFromBin(EndianIStream &eis)
void antennaIdFromBin(EndianIStream &eis)
AntennaRow * getAntennaUsingAntennaId(int i)
Returns the AntennaRow linked to this row via the tag stored in antennaId at position i...
void execBlockNumFromBin(EndianIStream &eis)
void clearSchedulerMode()
Mark schedulerMode, which is an optional field, as non-existent.
bool isObservingScriptExists() const
===&gt; Attribute observingScript, 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.
Angle getSiteLongitude() const
Get siteLongitude, which is optional.
void setObservingLog(std::vector< std::string > observingLog)
Set observingLog with the specified std::vector&lt;std::string &gt;.
int getNumAntenna() const
===&gt; Attribute numAntenna
void setExecBlockNum(int execBlockNum)
Set execBlockNum with the specified int.
EntityRef observingScriptUID
*text deserialization material std::map< std::string, ExecBlockAttributeFromText > fromTextMethods
virtual ~ExecBlockRow()
friend class asdm::TableStreamReader&lt;ExecBlockTable, ExecBlockRow&gt;;
std::string getTelescopeName() const
===&gt; Attribute telescopeName
std::string configName
===&gt; Attribute configName
void startTimeFromText(const std::string &s)
EntityRef sessionReference
===&gt; Attribute sessionReference
void setSiteLongitude(Angle siteLongitude)
Set siteLongitude with the specified Angle.
Tag getSBSummaryId() const
===&gt; Attribute sBSummaryId
void clearObservingScriptUID()
Mark observingScriptUID, which is an optional field, as non-existent.
void sBSummaryIdFromText(const std::string &s)
EntityRef getObservingScriptUID() const
Get observingScriptUID, which is optional.
ExecBlockRow(ExecBlockTable &table)
Create a ExecBlockRow.
void observingScriptFromText(const std::string &s)
bool isSiteAltitudeExists() const
===&gt; Attribute siteAltitude, which is optional
std::vector< std::string > observingLog
===&gt; Attribute observingLog
std::string getObservingScript() const
Get observingScript, which is optional.
void siteLongitudeFromBin(EndianIStream &eis)
void(ExecBlockRow::* ExecBlockAttributeFromBin)(EndianIStream &eis)
Definition: ExecBlockRow.h:154
void baseRmsMajorFromBin(EndianIStream &eis)
The ScaleRow class is a row of a ScaleTable.
Definition: ScaleRow.h:104
bool getAborted() const
===&gt; Attribute aborted
void abortedFromText(const std::string &s)
std::string getSchedulerMode() const
Get schedulerMode, which is optional.
void clearSiteLongitude()
Mark siteLongitude, which is an optional field, as non-existent.
void startTimeFromBin(EndianIStream &eis)
void addAntennaId(Tag id)
Append a Tag to antennaId.
void clearObservingScript()
Mark observingScript, which is an optional field, as non-existent.
bool siteLatitudeExists
===&gt; Attribute siteLatitude, which is optional
void observingScriptUIDFromBin(EndianIStream &eis)
void observerNameFromText(const std::string &s)
The ExecBlockTable class is an Alma table.
void numObservingLogFromText(const std::string &s)
void telescopeNameFromBin(EndianIStream &eis)
void projectUIDFromBin(EndianIStream &eis)
SBSummaryRow * getSBSummaryUsingSBSummaryId()
sBSummaryId pointer to the row in the SBSummary table having SBSummary.sBSummaryId == sBSummaryId ...
ArrayTime endTime
===&gt; Attribute endTime
The ExecBlockRow class is a row of a ExecBlockTable.
Definition: ExecBlockRow.h:163
void siteLatitudeFromText(const std::string &s)
void setStartTime(ArrayTime startTime)
Set startTime with the specified ArrayTime.
void setSchedulerMode(std::string schedulerMode)
Set schedulerMode with the specified std::string.
ArrayTime getEndTime() const
===&gt; Attribute endTime
void setFromIDL(asdmIDL::ExecBlockRowIDL x)
Fill the values of this row from the IDL struct ExecBlockRowIDL.
void baseRmsMajorFromText(const std::string &s)
void siteAltitudeFromBin(EndianIStream &eis)
void releaseDateFromBin(EndianIStream &eis)
void configNameFromText(const std::string &s)
void execBlockIdFromText(const std::string &s)
ArrayTime getReleaseDate() const
Get releaseDate, which is optional.
void sessionReferenceFromBin(EndianIStream &eis)
bool isReleaseDateExists() const
===&gt; Attribute releaseDate, which is optional
void observingLogFromText(const std::string &s)
void telescopeNameFromText(const std::string &s)
void abortedFromBin(EndianIStream &eis)
EntityRef getSessionReference() const
===&gt; Attribute sessionReference
int execBlockNum
===&gt; Attribute execBlockNum
EntityRef getProjectUID() const
===&gt; Attribute projectUID
The Angle class implements a quantity of angle in radians.
Definition: Angle.h:53
The EntityRef class is an identification of a persistant entity in the ALMA archive.
Definition: EntityRef.h:58
void schedulerModeFromBin(EndianIStream &eis)
void setEndTime(ArrayTime endTime)
Set endTime with the specified ArrayTime.
std::string toXML() const
Return this row in the form of an XML string.
void setNumAntenna(int numAntenna)
Set numAntenna with the specified int.
void siteLongitudeFromText(const std::string &s)
void setSiteLatitude(Angle siteLatitude)
Set siteLatitude with the specified Angle.
void basePaFromBin(EndianIStream &eis)
void numAntennaFromText(const std::string &s)
int numObservingLog
===&gt; Attribute numObservingLog
void setAntennaId(std::vector< Tag > antennaId)
Set antennaId with the specified std::vector&lt;Tag&gt; .
Length getSiteAltitude() const
Get siteAltitude, which is optional.
void observingLogFromBin(EndianIStream &eis)
ExecBlockTable & getTable() const
Return the table to which this row belongs.
bool releaseDateExists
===&gt; Attribute releaseDate, which is optional
void scaleIdFromBin(EndianIStream &eis)
void setObservingScript(std::string observingScript)
Set observingScript with the specified std::string.
void setProjectUID(EntityRef projectUID)
Set projectUID with the specified EntityRef.
void numObservingLogFromBin(EndianIStream &eis)
void basePaFromText(const std::string &s)
ExecBlockTable & table
The table to which this row belongs.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void releaseDateFromText(const std::string &s)
void setNumObservingLog(int numObservingLog)
Set numObservingLog with the specified int.
bool compareNoAutoInc(ArrayTime startTime, ArrayTime endTime, int execBlockNum, EntityRef execBlockUID, EntityRef projectUID, std::string configName, std::string telescopeName, std::string observerName, int numObservingLog, std::vector< std::string > observingLog, EntityRef sessionReference, Length baseRangeMin, Length baseRangeMax, Length baseRmsMinor, Length baseRmsMajor, Angle basePa, bool aborted, int numAntenna, std::vector< Tag > antennaId, Tag sBSummaryId)
Compare each mandatory attribute except the autoincrementable one of this ExecBlockRow with the corre...
void setExecBlockId(Tag execBlockId)
Set execBlockId with the specified Tag value.
void setBaseRmsMajor(Length baseRmsMajor)
Set baseRmsMajor with the specified Length.
void observerNameFromBin(EndianIStream &eis)
The AntennaRow class is a row of a AntennaTable.
Definition: AntennaRow.h:120
The Length class implements a quantity of length in meters.
Definition: Length.h:53
bool equalByRequiredValue(ExecBlockRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
Angle getSiteLatitude() const
Get siteLatitude, which is optional.
bool isSiteLongitudeExists() const
===&gt; Attribute siteLongitude, which is optional
Angle getBasePa() const
===&gt; Attribute basePa
Length baseRangeMax
===&gt; Attribute baseRangeMax
void endTimeFromText(const std::string &s)
void baseRmsMinorFromBin(EndianIStream &eis)
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
Definition: ArrayTime.h:89
void baseRangeMinFromBin(EndianIStream &eis)
EntityRef projectUID
===&gt; Attribute projectUID
bool isScaleIdExists() const
===&gt; Attribute scaleId, which is optional
void setAborted(bool aborted)
Set aborted with the specified bool.
bool isObservingScriptUIDExists() const
===&gt; Attribute observingScriptUID, which is optional
void clearScaleId()
Mark scaleId, which is an optional field, as non-existent.
void numAntennaFromBin(EndianIStream &eis)
void setTelescopeName(std::string telescopeName)
Set telescopeName with the specified std::string.
Length getBaseRangeMax() const
===&gt; Attribute baseRangeMax
void setSBSummaryId(Tag sBSummaryId)
Set sBSummaryId with the specified Tag.
std::string telescopeName
===&gt; Attribute telescopeName
std::string getConfigName() const
===&gt; Attribute configName
Angle basePa
===&gt; Attribute basePa
void setObservingScriptUID(EntityRef observingScriptUID)
Set observingScriptUID with the specified EntityRef.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
Definition: Tag.h:73
bool hasBeenAdded
Whether this row has been added to the table or not.
void setReleaseDate(ArrayTime releaseDate)
Set releaseDate with the specified ArrayTime.
void clearSiteAltitude()
Mark siteAltitude, which is an optional field, as non-existent.
bool observingScriptExists
===&gt; Attribute observingScript, which is optional
void endTimeFromBin(EndianIStream &eis)
bool siteAltitudeExists
===&gt; Attribute siteAltitude, which is optional
std::string schedulerMode
bool isAdded() const
Has this row been added to its table ?
Length getBaseRmsMinor() const
===&gt; Attribute baseRmsMinor
void baseRangeMaxFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, ExecBlockAttributeFromBin > fromBinMethods
const Tag getAntennaId(int i)
Returns the Tag stored in antennaId at position i.
void setConfigName(std::string configName)
Set configName with the specified std::string.
bool compareRequiredValue(ArrayTime startTime, ArrayTime endTime, int execBlockNum, EntityRef execBlockUID, EntityRef projectUID, std::string configName, std::string telescopeName, std::string observerName, int numObservingLog, std::vector< std::string > observingLog, EntityRef sessionReference, Length baseRangeMin, Length baseRangeMax, Length baseRmsMinor, Length baseRmsMajor, Angle basePa, bool aborted, int numAntenna, std::vector< Tag > antennaId, Tag sBSummaryId)
Compare each mandatory value (i.e.
void setBaseRangeMax(Length baseRangeMax)
Set baseRangeMax with the specified Length.
std::vector< std::string > getObservingLog() const
===&gt; Attribute observingLog
bool observingScriptUIDExists
===&gt; Attribute observingScriptUID, which is optional
void scaleIdFromText(const std::string &s)
void execBlockUIDFromBin(EndianIStream &eis)
void setSiteAltitude(Length siteAltitude)
Set siteAltitude with the specified Length.
Tag getScaleId() const
Get scaleId, which is optional.
Tag sBSummaryId
===&gt; Attribute sBSummaryId
bool schedulerModeExists
===&gt; Attribute schedulerMode, which is optional
std::string getObserverName() const
===&gt; Attribute observerName
Length baseRangeMin
===&gt; Attribute baseRangeMin
void sBSummaryIdFromBin(EndianIStream &eis)
void baseRangeMinFromText(const std::string &s)
int numAntenna
===&gt; Attribute numAntenna
bool scaleIdExists
===&gt; Attribute scaleId, which is optional
void baseRangeMaxFromText(const std::string &s)
void setBaseRangeMin(Length baseRangeMin)
Set baseRangeMin with the specified Length.
void setSessionReference(EntityRef sessionReference)
Set sessionReference with the specified EntityRef.
ScaleRow * getScaleUsingScaleId()
scaleId pointer to the row in the Scale table having Scale.scaleId == scaleId
int getExecBlockNum() const
===&gt; Attribute execBlockNum
void siteAltitudeFromText(const std::string &s)
The SBSummaryRow class is a row of a SBSummaryTable.
Definition: SBSummaryRow.h:144
int getNumObservingLog() const
===&gt; Attribute numObservingLog
ArrayTime getStartTime() const
===&gt; Attribute startTime
std::vector< AntennaRow * > getAntennasUsingAntennaId()
Returns the vector of AntennaRow* linked to this row via the Tags stored in antennaId.
bool isSiteLatitudeExists() const
===&gt; Attribute siteLatitude, which is optional
void setExecBlockUID(EntityRef execBlockUID)
Set execBlockUID with the specified EntityRef.
bool siteLongitudeExists
===&gt; Attribute siteLongitude, which is optional
void execBlockNumFromText(const std::string &s)
void setBaseRmsMinor(Length baseRmsMinor)
Set baseRmsMinor with the specified Length.
bool aborted
===&gt; Attribute aborted
bool isSchedulerModeExists() const
===&gt; Attribute schedulerMode, which is optional
void setBasePa(Angle basePa)
Set basePa with the specified Angle.
void clearSiteLatitude()
Mark siteLatitude, which is an optional field, as non-existent.
Length baseRmsMinor
===&gt; Attribute baseRmsMinor
void configNameFromBin(EndianIStream &eis)
void setObserverName(std::string observerName)
Set observerName with the specified std::string.