casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SourceRow.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 SourceRow.h
32  */
33 
34 #ifndef SourceRow_CLASS
35 #define SourceRow_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/Speed.h>
52 
53 
54 
55 #include <alma/ASDM/AngularRate.h>
56 
57 
58 
59 #include <alma/ASDM/ArrayTime.h>
60 
61 
62 
63 #include <alma/ASDM/Flux.h>
64 
65 
66 
68 
69 
70 
71 #include <alma/ASDM/Angle.h>
72 
73 
74 
75 #include <alma/ASDM/Length.h>
76 
77 
78 
79 #include <alma/ASDM/Frequency.h>
80 
81 
82 
83 #include <alma/ASDM/Tag.h>
84 
85 
86 
87 
88 
89 
90 
91 
92 
93 
94 
95 
96 
97 
98 
99 
100 
101 
103 
104 
105 
106 
107 
108 
109 
110 
111 
112 
113 
114 
115 
116 
117 
118 
119 
120 
121 
122 
123 
124 
125 
127 
128 
129 
131 
132 
133 
134 
135 
136 
137 
138 
139 
140 
141 
143 
144 
145 
146 
147 
148 
149 
150 
151 
152 
153 
154 
155 
156 
157 
159 
160 
161 
162 
163 
165 
166 
167 
169 
170 
171 
172 
173 
174 
176 #include <alma/ASDM/NoSuchRow.h>
178 
180 //#include <alma/ASDM/TableStreamReader.h>
181 
182 /*\file Source.h
183  \brief Generated from model's revision "-1", branch ""
184 */
185 
186 namespace asdm {
187 
188 //class asdm::SourceTable;
189 
190 
191 // class asdm::SpectralWindowRow;
192 class SpectralWindowRow;
193 
194 
195 class SourceRow;
197 typedef void (SourceRow::*SourceAttributeFromText) (const std::string& s);
198 
205 class SourceRow {
206 friend class asdm::SourceTable;
208 //friend class asdm::TableStreamReader<SourceTable, SourceRow>;
209 
210 public:
211 
212  virtual ~SourceRow();
213 
217  SourceTable &getTable() const;
218 
223  bool isAdded() const;
224 
226  // Intrinsic Table Attributes //
228 
229 
230  // ===> Attribute sourceId
231 
232 
233 
234 
235 
240  int getSourceId() const;
241 
242 
243 
244 
245 
246 
247 
248 
249 
250  // ===> Attribute timeInterval
251 
252 
253 
254 
255 
261 
262 
263 
264 
275 
276 
277 
278 
279 
280 
281 
282  // ===> Attribute code
283 
284 
285 
286 
287 
292  std::string getCode() const;
293 
294 
295 
296 
304  void setCode (std::string code);
305 
306 
307 
308 
309 
310 
311 
312  // ===> Attribute direction
313 
314 
315 
316 
317 
322  std::vector<Angle > getDirection() const;
323 
324 
325 
326 
334  void setDirection (std::vector<Angle > direction);
335 
336 
337 
338 
339 
340 
341 
342  // ===> Attribute properMotion
343 
344 
345 
346 
347 
352  std::vector<AngularRate > getProperMotion() const;
353 
354 
355 
356 
364  void setProperMotion (std::vector<AngularRate > properMotion);
365 
366 
367 
368 
369 
370 
371 
372  // ===> Attribute sourceName
373 
374 
375 
376 
377 
382  std::string getSourceName() const;
383 
384 
385 
386 
394  void setSourceName (std::string sourceName);
395 
396 
397 
398 
399 
400 
401 
402  // ===> Attribute directionCode, which is optional
403 
404 
405 
410  bool isDirectionCodeExists() const;
411 
412 
413 
419  DirectionReferenceCodeMod::DirectionReferenceCode getDirectionCode() const;
420 
421 
422 
423 
430  void setDirectionCode (DirectionReferenceCodeMod::DirectionReferenceCode directionCode);
431 
432 
433 
434 
438  void clearDirectionCode ();
439 
440 
441 
442 
443  // ===> Attribute directionEquinox, which is optional
444 
445 
446 
451  bool isDirectionEquinoxExists() const;
452 
453 
454 
461 
462 
463 
464 
472 
473 
474 
475 
479  void clearDirectionEquinox ();
480 
481 
482 
483 
484  // ===> Attribute calibrationGroup, which is optional
485 
486 
487 
492  bool isCalibrationGroupExists() const;
493 
494 
495 
501  int getCalibrationGroup() const;
502 
503 
504 
505 
513 
514 
515 
516 
520  void clearCalibrationGroup ();
521 
522 
523 
524 
525  // ===> Attribute catalog, which is optional
526 
527 
528 
533  bool isCatalogExists() const;
534 
535 
536 
542  std::string getCatalog() const;
543 
544 
545 
546 
553  void setCatalog (std::string catalog);
554 
555 
556 
557 
561  void clearCatalog ();
562 
563 
564 
565 
566  // ===> Attribute deltaVel, which is optional
567 
568 
569 
574  bool isDeltaVelExists() const;
575 
576 
577 
583  Speed getDeltaVel() const;
584 
585 
586 
587 
594  void setDeltaVel (Speed deltaVel);
595 
596 
597 
598 
602  void clearDeltaVel ();
603 
604 
605 
606 
607  // ===> Attribute position, which is optional
608 
609 
610 
615  bool isPositionExists() const;
616 
617 
618 
624  std::vector<Length > getPosition() const;
625 
626 
627 
628 
635  void setPosition (std::vector<Length > position);
636 
637 
638 
639 
643  void clearPosition ();
644 
645 
646 
647 
648  // ===> Attribute numLines, which is optional
649 
650 
651 
656  bool isNumLinesExists() const;
657 
658 
659 
665  int getNumLines() const;
666 
667 
668 
669 
676  void setNumLines (int numLines);
677 
678 
679 
680 
684  void clearNumLines ();
685 
686 
687 
688 
689  // ===> Attribute transition, which is optional
690 
691 
692 
697  bool isTransitionExists() const;
698 
699 
700 
706  std::vector<std::string > getTransition() const;
707 
708 
709 
710 
717  void setTransition (std::vector<std::string > transition);
718 
719 
720 
721 
725  void clearTransition ();
726 
727 
728 
729 
730  // ===> Attribute restFrequency, which is optional
731 
732 
733 
738  bool isRestFrequencyExists() const;
739 
740 
741 
747  std::vector<Frequency > getRestFrequency() const;
748 
749 
750 
751 
758  void setRestFrequency (std::vector<Frequency > restFrequency);
759 
760 
761 
762 
766  void clearRestFrequency ();
767 
768 
769 
770 
771  // ===> Attribute sysVel, which is optional
772 
773 
774 
779  bool isSysVelExists() const;
780 
781 
782 
788  std::vector<Speed > getSysVel() const;
789 
790 
791 
792 
799  void setSysVel (std::vector<Speed > sysVel);
800 
801 
802 
803 
807  void clearSysVel ();
808 
809 
810 
811 
812  // ===> Attribute rangeVel, which is optional
813 
814 
815 
820  bool isRangeVelExists() const;
821 
822 
823 
829  std::vector<Speed > getRangeVel() const;
830 
831 
832 
833 
840  void setRangeVel (std::vector<Speed > rangeVel);
841 
842 
843 
844 
848  void clearRangeVel ();
849 
850 
851 
852 
853  // ===> Attribute sourceModel, which is optional
854 
855 
856 
861  bool isSourceModelExists() const;
862 
863 
864 
870  SourceModelMod::SourceModel getSourceModel() const;
871 
872 
873 
874 
881  void setSourceModel (SourceModelMod::SourceModel sourceModel);
882 
883 
884 
885 
889  void clearSourceModel ();
890 
891 
892 
893 
894  // ===> Attribute frequencyRefCode, which is optional
895 
896 
897 
902  bool isFrequencyRefCodeExists() const;
903 
904 
905 
911  FrequencyReferenceCodeMod::FrequencyReferenceCode getFrequencyRefCode() const;
912 
913 
914 
915 
922  void setFrequencyRefCode (FrequencyReferenceCodeMod::FrequencyReferenceCode frequencyRefCode);
923 
924 
925 
926 
930  void clearFrequencyRefCode ();
931 
932 
933 
934 
935  // ===> Attribute numFreq, which is optional
936 
937 
938 
943  bool isNumFreqExists() const;
944 
945 
946 
952  int getNumFreq() const;
953 
954 
955 
956 
963  void setNumFreq (int numFreq);
964 
965 
966 
967 
971  void clearNumFreq ();
972 
973 
974 
975 
976  // ===> Attribute numStokes, which is optional
977 
978 
979 
984  bool isNumStokesExists() const;
985 
986 
987 
993  int getNumStokes() const;
994 
995 
996 
997 
1004  void setNumStokes (int numStokes);
1005 
1006 
1007 
1008 
1012  void clearNumStokes ();
1013 
1014 
1015 
1016 
1017  // ===> Attribute frequency, which is optional
1018 
1019 
1020 
1025  bool isFrequencyExists() const;
1026 
1027 
1028 
1034  std::vector<Frequency > getFrequency() const;
1035 
1036 
1037 
1038 
1045  void setFrequency (std::vector<Frequency > frequency);
1046 
1047 
1048 
1049 
1053  void clearFrequency ();
1054 
1055 
1056 
1057 
1058  // ===> Attribute frequencyInterval, which is optional
1059 
1060 
1061 
1066  bool isFrequencyIntervalExists() const;
1067 
1068 
1069 
1075  std::vector<Frequency > getFrequencyInterval() const;
1076 
1077 
1078 
1079 
1086  void setFrequencyInterval (std::vector<Frequency > frequencyInterval);
1087 
1088 
1089 
1090 
1094  void clearFrequencyInterval ();
1095 
1096 
1097 
1098 
1099  // ===> Attribute stokesParameter, which is optional
1100 
1101 
1102 
1107  bool isStokesParameterExists() const;
1108 
1109 
1110 
1116  std::vector<StokesParameterMod::StokesParameter > getStokesParameter() const;
1117 
1118 
1119 
1120 
1127  void setStokesParameter (std::vector<StokesParameterMod::StokesParameter > stokesParameter);
1128 
1129 
1130 
1131 
1135  void clearStokesParameter ();
1136 
1137 
1138 
1139 
1140  // ===> Attribute flux, which is optional
1141 
1142 
1143 
1148  bool isFluxExists() const;
1149 
1150 
1151 
1157  std::vector<std::vector<Flux > > getFlux() const;
1158 
1159 
1160 
1161 
1168  void setFlux (std::vector<std::vector<Flux > > flux);
1169 
1170 
1171 
1172 
1176  void clearFlux ();
1177 
1178 
1179 
1180 
1181  // ===> Attribute fluxErr, which is optional
1182 
1183 
1184 
1189  bool isFluxErrExists() const;
1190 
1191 
1192 
1198  std::vector<std::vector<Flux > > getFluxErr() const;
1199 
1200 
1201 
1202 
1209  void setFluxErr (std::vector<std::vector<Flux > > fluxErr);
1210 
1211 
1212 
1213 
1217  void clearFluxErr ();
1218 
1219 
1220 
1221 
1222  // ===> Attribute positionAngle, which is optional
1223 
1224 
1225 
1230  bool isPositionAngleExists() const;
1231 
1232 
1233 
1239  std::vector<Angle > getPositionAngle() const;
1240 
1241 
1242 
1243 
1250  void setPositionAngle (std::vector<Angle > positionAngle);
1251 
1252 
1253 
1254 
1258  void clearPositionAngle ();
1259 
1260 
1261 
1262 
1263  // ===> Attribute positionAngleErr, which is optional
1264 
1265 
1266 
1271  bool isPositionAngleErrExists() const;
1272 
1273 
1274 
1280  std::vector<Angle > getPositionAngleErr() const;
1281 
1282 
1283 
1284 
1291  void setPositionAngleErr (std::vector<Angle > positionAngleErr);
1292 
1293 
1294 
1295 
1299  void clearPositionAngleErr ();
1300 
1301 
1302 
1303 
1304  // ===> Attribute size, which is optional
1305 
1306 
1307 
1312  bool isSizeExists() const;
1313 
1314 
1315 
1321  std::vector<std::vector<Angle > > getSize() const;
1322 
1323 
1324 
1325 
1332  void setSize (std::vector<std::vector<Angle > > size);
1333 
1334 
1335 
1336 
1340  void clearSize ();
1341 
1342 
1343 
1344 
1345  // ===> Attribute sizeErr, which is optional
1346 
1347 
1348 
1353  bool isSizeErrExists() const;
1354 
1355 
1356 
1362  std::vector<std::vector<Angle > > getSizeErr() const;
1363 
1364 
1365 
1366 
1373  void setSizeErr (std::vector<std::vector<Angle > > sizeErr);
1374 
1375 
1376 
1377 
1381  void clearSizeErr ();
1382 
1383 
1384 
1385 
1386  // ===> Attribute velRefCode, which is optional
1387 
1388 
1389 
1394  bool isVelRefCodeExists() const;
1395 
1396 
1397 
1403  RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode getVelRefCode() const;
1404 
1405 
1406 
1407 
1414  void setVelRefCode (RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode velRefCode);
1415 
1416 
1417 
1418 
1422  void clearVelRefCode ();
1423 
1424 
1425 
1426 
1427  // ===> Attribute dopplerVelocity, which is optional
1428 
1429 
1430 
1435  bool isDopplerVelocityExists() const;
1436 
1437 
1438 
1444  std::vector<Speed > getDopplerVelocity() const;
1445 
1446 
1447 
1448 
1455  void setDopplerVelocity (std::vector<Speed > dopplerVelocity);
1456 
1457 
1458 
1459 
1463  void clearDopplerVelocity ();
1464 
1465 
1466 
1467 
1468  // ===> Attribute dopplerReferenceSystem, which is optional
1469 
1470 
1471 
1476  bool isDopplerReferenceSystemExists() const;
1477 
1478 
1479 
1485  RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode getDopplerReferenceSystem() const;
1486 
1487 
1488 
1489 
1496  void setDopplerReferenceSystem (RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode dopplerReferenceSystem);
1497 
1498 
1499 
1500 
1505 
1506 
1507 
1508 
1509  // ===> Attribute dopplerCalcType, which is optional
1510 
1511 
1512 
1517  bool isDopplerCalcTypeExists() const;
1518 
1519 
1520 
1526  DopplerReferenceCodeMod::DopplerReferenceCode getDopplerCalcType() const;
1527 
1528 
1529 
1530 
1537  void setDopplerCalcType (DopplerReferenceCodeMod::DopplerReferenceCode dopplerCalcType);
1538 
1539 
1540 
1541 
1545  void clearDopplerCalcType ();
1546 
1547 
1548 
1549 
1550  // ===> Attribute parallax, which is optional
1551 
1552 
1553 
1558  bool isParallaxExists() const;
1559 
1560 
1561 
1567  std::vector<Angle > getParallax() const;
1568 
1569 
1570 
1571 
1578  void setParallax (std::vector<Angle > parallax);
1579 
1580 
1581 
1582 
1586  void clearParallax ();
1587 
1588 
1589 
1591  // Extrinsic Table Attributes //
1593 
1594 
1595  // ===> Attribute spectralWindowId
1596 
1597 
1598 
1599 
1600 
1605  Tag getSpectralWindowId() const;
1606 
1607 
1608 
1609 
1619  void setSpectralWindowId (Tag spectralWindowId);
1620 
1621 
1622 
1623 
1624 
1625 
1627  // Links //
1629 
1630 
1631 
1632 
1633 
1641 
1642 
1643 
1644 
1645 
1646 
1647 
1665  bool compareNoAutoInc(ArrayTimeInterval timeInterval, Tag spectralWindowId, std::string code, std::vector<Angle > direction, std::vector<AngularRate > properMotion, std::string sourceName);
1666 
1667 
1668 
1669 
1683  bool compareRequiredValue(std::string code, std::vector<Angle > direction, std::vector<AngularRate > properMotion, std::string sourceName);
1684 
1685 
1694  bool equalByRequiredValue(SourceRow* x) ;
1695 
1696 #ifndef WITHOUT_ACS
1697 
1701  asdmIDL::SourceRowIDL *toIDL() const;
1702 
1710  void toIDL(asdmIDL::SourceRowIDL& x) const;
1711 #endif
1712 
1713 #ifndef WITHOUT_ACS
1714 
1719  void setFromIDL (asdmIDL::SourceRowIDL x) ;
1720 #endif
1721 
1726  std::string toXML() const;
1727 
1734  void setFromXML (std::string rowDoc) ;
1735 
1738  // binary-deserialization material from an EndianIStream //
1740 
1741  std::map<std::string, SourceAttributeFromBin> fromBinMethods;
1742 void sourceIdFromBin( EndianIStream& eis);
1745 void codeFromBin( EndianIStream& eis);
1746 void directionFromBin( EndianIStream& eis);
1748 void sourceNameFromBin( EndianIStream& eis);
1749 
1753 void catalogFromBin( EndianIStream& eis);
1754 void deltaVelFromBin( EndianIStream& eis);
1755 void positionFromBin( EndianIStream& eis);
1756 void numLinesFromBin( EndianIStream& eis);
1757 void transitionFromBin( EndianIStream& eis);
1759 void sysVelFromBin( EndianIStream& eis);
1760 void rangeVelFromBin( EndianIStream& eis);
1761 void sourceModelFromBin( EndianIStream& eis);
1763 void numFreqFromBin( EndianIStream& eis);
1764 void numStokesFromBin( EndianIStream& eis);
1765 void frequencyFromBin( EndianIStream& eis);
1768 void fluxFromBin( EndianIStream& eis);
1769 void fluxErrFromBin( EndianIStream& eis);
1772 void sizeFromBin( EndianIStream& eis);
1773 void sizeErrFromBin( EndianIStream& eis);
1774 void velRefCodeFromBin( EndianIStream& eis);
1778 void parallaxFromBin( EndianIStream& eis);
1779 
1780 
1788  static SourceRow* fromBin(EndianIStream& eis, SourceTable& table, const std::vector<std::string>& attributesSeq);
1789 
1796  void fromText(const std::string& attributeName, const std::string& t);
1798 
1799 private:
1808 
1809  // This method is used by the Table class when this row is added to the table.
1810  void isAdded(bool added);
1811 
1812 
1822 
1841 
1843  // Intrinsic Table Attributes //
1845 
1846 
1847  // ===> Attribute sourceId
1848 
1849 
1850 
1851  int sourceId;
1852 
1853 
1854 
1855 
1865  void setSourceId (int sourceId);
1866 
1867 
1868 
1869 
1870  // ===> Attribute timeInterval
1871 
1872 
1873 
1875 
1876 
1877 
1878 
1879 
1880 
1881  // ===> Attribute code
1882 
1883 
1884 
1885  std::string code;
1886 
1887 
1888 
1889 
1890 
1891 
1892  // ===> Attribute direction
1893 
1894 
1895 
1896  std::vector<Angle > direction;
1897 
1898 
1899 
1900 
1901 
1902 
1903  // ===> Attribute properMotion
1904 
1905 
1906 
1907  std::vector<AngularRate > properMotion;
1908 
1909 
1910 
1911 
1912 
1913 
1914  // ===> Attribute sourceName
1915 
1916 
1917 
1918  std::string sourceName;
1919 
1920 
1921 
1922 
1923 
1924 
1925  // ===> Attribute directionCode, which is optional
1926 
1927 
1929 
1930 
1931  DirectionReferenceCodeMod::DirectionReferenceCode directionCode;
1932 
1933 
1934 
1935 
1936 
1937 
1938  // ===> Attribute directionEquinox, which is optional
1939 
1940 
1942 
1943 
1945 
1946 
1947 
1948 
1949 
1950 
1951  // ===> Attribute calibrationGroup, which is optional
1952 
1953 
1955 
1956 
1958 
1959 
1960 
1961 
1962 
1963 
1964  // ===> Attribute catalog, which is optional
1965 
1966 
1968 
1969 
1970  std::string catalog;
1971 
1972 
1973 
1974 
1975 
1976 
1977  // ===> Attribute deltaVel, which is optional
1978 
1979 
1981 
1982 
1984 
1985 
1986 
1987 
1988 
1989 
1990  // ===> Attribute position, which is optional
1991 
1992 
1994 
1995 
1996  std::vector<Length > position;
1997 
1998 
1999 
2000 
2001 
2002 
2003  // ===> Attribute numLines, which is optional
2004 
2005 
2007 
2008 
2010 
2011 
2012 
2013 
2014 
2015 
2016  // ===> Attribute transition, which is optional
2017 
2018 
2020 
2021 
2022  std::vector<std::string > transition;
2023 
2024 
2025 
2026 
2027 
2028 
2029  // ===> Attribute restFrequency, which is optional
2030 
2031 
2033 
2034 
2035  std::vector<Frequency > restFrequency;
2036 
2037 
2038 
2039 
2040 
2041 
2042  // ===> Attribute sysVel, which is optional
2043 
2044 
2046 
2047 
2048  std::vector<Speed > sysVel;
2049 
2050 
2051 
2052 
2053 
2054 
2055  // ===> Attribute rangeVel, which is optional
2056 
2057 
2059 
2060 
2061  std::vector<Speed > rangeVel;
2062 
2063 
2064 
2065 
2066 
2067 
2068  // ===> Attribute sourceModel, which is optional
2069 
2070 
2072 
2073 
2074  SourceModelMod::SourceModel sourceModel;
2075 
2076 
2077 
2078 
2079 
2080 
2081  // ===> Attribute frequencyRefCode, which is optional
2082 
2083 
2085 
2086 
2087  FrequencyReferenceCodeMod::FrequencyReferenceCode frequencyRefCode;
2088 
2089 
2090 
2091 
2092 
2093 
2094  // ===> Attribute numFreq, which is optional
2095 
2096 
2098 
2099 
2100  int numFreq;
2101 
2102 
2103 
2104 
2105 
2106 
2107  // ===> Attribute numStokes, which is optional
2108 
2109 
2111 
2112 
2114 
2115 
2116 
2117 
2118 
2119 
2120  // ===> Attribute frequency, which is optional
2121 
2122 
2124 
2125 
2126  std::vector<Frequency > frequency;
2127 
2128 
2129 
2130 
2131 
2132 
2133  // ===> Attribute frequencyInterval, which is optional
2134 
2135 
2137 
2138 
2139  std::vector<Frequency > frequencyInterval;
2140 
2141 
2142 
2143 
2144 
2145 
2146  // ===> Attribute stokesParameter, which is optional
2147 
2148 
2150 
2151 
2152  std::vector<StokesParameterMod::StokesParameter > stokesParameter;
2153 
2154 
2155 
2156 
2157 
2158 
2159  // ===> Attribute flux, which is optional
2160 
2161 
2163 
2164 
2165  std::vector<std::vector<Flux > > flux;
2166 
2167 
2168 
2169 
2170 
2171 
2172  // ===> Attribute fluxErr, which is optional
2173 
2174 
2176 
2177 
2178  std::vector<std::vector<Flux > > fluxErr;
2179 
2180 
2181 
2182 
2183 
2184 
2185  // ===> Attribute positionAngle, which is optional
2186 
2187 
2189 
2190 
2191  std::vector<Angle > positionAngle;
2192 
2193 
2194 
2195 
2196 
2197 
2198  // ===> Attribute positionAngleErr, which is optional
2199 
2200 
2202 
2203 
2204  std::vector<Angle > positionAngleErr;
2205 
2206 
2207 
2208 
2209 
2210 
2211  // ===> Attribute size, which is optional
2212 
2213 
2215 
2216 
2217  std::vector<std::vector<Angle > > size;
2218 
2219 
2220 
2221 
2222 
2223 
2224  // ===> Attribute sizeErr, which is optional
2225 
2226 
2228 
2229 
2230  std::vector<std::vector<Angle > > sizeErr;
2231 
2232 
2233 
2234 
2235 
2236 
2237  // ===> Attribute velRefCode, which is optional
2238 
2239 
2241 
2242 
2243  RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode velRefCode;
2244 
2245 
2246 
2247 
2248 
2249 
2250  // ===> Attribute dopplerVelocity, which is optional
2251 
2252 
2254 
2255 
2256  std::vector<Speed > dopplerVelocity;
2257 
2258 
2259 
2260 
2261 
2262 
2263  // ===> Attribute dopplerReferenceSystem, which is optional
2264 
2265 
2267 
2268 
2269  RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode dopplerReferenceSystem;
2270 
2271 
2272 
2273 
2274 
2275 
2276  // ===> Attribute dopplerCalcType, which is optional
2277 
2278 
2280 
2281 
2282  DopplerReferenceCodeMod::DopplerReferenceCode dopplerCalcType;
2283 
2284 
2285 
2286 
2287 
2288 
2289  // ===> Attribute parallax, which is optional
2290 
2291 
2293 
2294 
2295  std::vector<Angle > parallax;
2296 
2297 
2298 
2299 
2300 
2302  // Extrinsic Table Attributes //
2304 
2305 
2306  // ===> Attribute spectralWindowId
2307 
2308 
2309 
2310  Tag spectralWindowId;
2311 
2312 
2313 
2314 
2315 
2317  // Links //
2319 
2320 
2321 
2322 
2323 
2324 
2325 
2326 
2327 
2328 /*
2330  // binary-deserialization material from an EndianIStream //
2332  std::map<std::string, SourceAttributeFromBin> fromBinMethods;
2333 void sourceIdFromBin( EndianIStream& eis);
2334 void timeIntervalFromBin( EndianIStream& eis);
2335 void spectralWindowIdFromBin( EndianIStream& eis);
2336 void codeFromBin( EndianIStream& eis);
2337 void directionFromBin( EndianIStream& eis);
2338 void properMotionFromBin( EndianIStream& eis);
2339 void sourceNameFromBin( EndianIStream& eis);
2340 
2341 void directionCodeFromBin( EndianIStream& eis);
2342 void directionEquinoxFromBin( EndianIStream& eis);
2343 void calibrationGroupFromBin( EndianIStream& eis);
2344 void catalogFromBin( EndianIStream& eis);
2345 void deltaVelFromBin( EndianIStream& eis);
2346 void positionFromBin( EndianIStream& eis);
2347 void numLinesFromBin( EndianIStream& eis);
2348 void transitionFromBin( EndianIStream& eis);
2349 void restFrequencyFromBin( EndianIStream& eis);
2350 void sysVelFromBin( EndianIStream& eis);
2351 void rangeVelFromBin( EndianIStream& eis);
2352 void sourceModelFromBin( EndianIStream& eis);
2353 void frequencyRefCodeFromBin( EndianIStream& eis);
2354 void numFreqFromBin( EndianIStream& eis);
2355 void numStokesFromBin( EndianIStream& eis);
2356 void frequencyFromBin( EndianIStream& eis);
2357 void frequencyIntervalFromBin( EndianIStream& eis);
2358 void stokesParameterFromBin( EndianIStream& eis);
2359 void fluxFromBin( EndianIStream& eis);
2360 void fluxErrFromBin( EndianIStream& eis);
2361 void positionAngleFromBin( EndianIStream& eis);
2362 void positionAngleErrFromBin( EndianIStream& eis);
2363 void sizeFromBin( EndianIStream& eis);
2364 void sizeErrFromBin( EndianIStream& eis);
2365 void velRefCodeFromBin( EndianIStream& eis);
2366 void dopplerVelocityFromBin( EndianIStream& eis);
2367 void dopplerReferenceSystemFromBin( EndianIStream& eis);
2368 void dopplerCalcTypeFromBin( EndianIStream& eis);
2369 void parallaxFromBin( EndianIStream& eis);
2370 
2371 */
2372 
2374  // text-deserialization material //
2376  std::map<std::string, SourceAttributeFromText> fromTextMethods;
2377 
2378 void sourceIdFromText (const std::string & s);
2379 
2380 
2381 void timeIntervalFromText (const std::string & s);
2382 
2383 
2384 void spectralWindowIdFromText (const std::string & s);
2385 
2386 
2387 void codeFromText (const std::string & s);
2388 
2389 
2390 void directionFromText (const std::string & s);
2391 
2392 
2393 void properMotionFromText (const std::string & s);
2394 
2395 
2396 void sourceNameFromText (const std::string & s);
2397 
2398 
2399 
2400 void directionCodeFromText (const std::string & s);
2401 
2402 
2403 void directionEquinoxFromText (const std::string & s);
2404 
2405 
2406 void calibrationGroupFromText (const std::string & s);
2407 
2408 
2409 void catalogFromText (const std::string & s);
2410 
2411 
2412 void deltaVelFromText (const std::string & s);
2413 
2414 
2415 void positionFromText (const std::string & s);
2416 
2417 
2418 void numLinesFromText (const std::string & s);
2419 
2420 
2421 void transitionFromText (const std::string & s);
2422 
2423 
2424 void restFrequencyFromText (const std::string & s);
2425 
2426 
2427 void sysVelFromText (const std::string & s);
2428 
2429 
2430 void rangeVelFromText (const std::string & s);
2431 
2432 
2433 void sourceModelFromText (const std::string & s);
2434 
2435 
2436 void frequencyRefCodeFromText (const std::string & s);
2437 
2438 
2439 void numFreqFromText (const std::string & s);
2440 
2441 
2442 void numStokesFromText (const std::string & s);
2443 
2444 
2445 void frequencyFromText (const std::string & s);
2446 
2447 
2448 void frequencyIntervalFromText (const std::string & s);
2449 
2450 
2451 void stokesParameterFromText (const std::string & s);
2452 
2453 
2454 void fluxFromText (const std::string & s);
2455 
2456 
2457 void fluxErrFromText (const std::string & s);
2458 
2459 
2460 void positionAngleFromText (const std::string & s);
2461 
2462 
2463 void positionAngleErrFromText (const std::string & s);
2464 
2465 
2466 void sizeFromText (const std::string & s);
2467 
2468 
2469 void sizeErrFromText (const std::string & s);
2470 
2471 
2472 void velRefCodeFromText (const std::string & s);
2473 
2474 
2475 void dopplerVelocityFromText (const std::string & s);
2476 
2477 
2478 void dopplerReferenceSystemFromText (const std::string & s);
2479 
2480 
2481 void dopplerCalcTypeFromText (const std::string & s);
2482 
2483 
2484 void parallaxFromText (const std::string & s);
2485 
2486 
2487 
2492  void toBin(EndianOSStream& eoss);
2493 
2503 };
2504 
2505 } // End namespace asdm
2506 
2507 #endif /* Source_CLASS */
void clearTransition()
Mark transition, which is an optional field, as non-existent.
int getNumStokes() const
Get numStokes, which is optional.
bool isDirectionEquinoxExists() const
===&gt; Attribute directionEquinox, which is optional
std::vector< AngularRate > properMotion
===&gt; Attribute properMotion
Definition: SourceRow.h:1907
void clearFrequencyRefCode()
Mark frequencyRefCode, which is an optional field, as non-existent.
int getNumLines() const
Get numLines, which is optional.
bool isPositionExists() const
===&gt; Attribute position, which is optional
SourceModelMod::SourceModel getSourceModel() const
Get sourceModel, which is optional.
std::vector< Angle > positionAngle
Definition: SourceRow.h:2191
bool numStokesExists
===&gt; Attribute numStokes, which is optional
Definition: SourceRow.h:2110
ArrayTime getDirectionEquinox() const
Get directionEquinox, which is optional.
void clearNumLines()
Mark numLines, which is an optional field, as non-existent.
void fluxFromBin(EndianIStream &eis)
asdmIDL::SourceRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void frequencyIntervalFromText(const std::string &s)
bool isCalibrationGroupExists() const
===&gt; Attribute calibrationGroup, which is optional
void setNumLines(int numLines)
Set numLines with the specified int.
void setFrequencyInterval(std::vector< Frequency > frequencyInterval)
Set frequencyInterval with the specified std::vector&lt;Frequency &gt;.
void setDirectionEquinox(ArrayTime directionEquinox)
Set directionEquinox with the specified ArrayTime.
void setSize(std::vector< std::vector< Angle > > size)
Set size with the specified std::vector&lt;std::vector&lt;Angle &gt; &gt;.
bool isFluxErrExists() const
===&gt; Attribute fluxErr, which is optional
RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode getDopplerReferenceSystem() const
Get dopplerReferenceSystem, which is optional.
bool frequencyExists
===&gt; Attribute frequency, which is optional
Definition: SourceRow.h:2123
bool isSourceModelExists() const
===&gt; Attribute sourceModel, which is optional
void clearRestFrequency()
Mark restFrequency, which is an optional field, as non-existent.
bool deltaVelExists
===&gt; Attribute deltaVel, which is optional
Definition: SourceRow.h:1980
void setNumFreq(int numFreq)
Set numFreq with the specified int.
void catalogFromText(const std::string &s)
bool sysVelExists
===&gt; Attribute sysVel, which is optional
Definition: SourceRow.h:2045
bool compareRequiredValue(std::string code, std::vector< Angle > direction, std::vector< AngularRate > properMotion, std::string sourceName)
Compare each mandatory value (i.e.
*text deserialization material std::map< std::string, SourceAttributeFromText > fromTextMethods
Definition: SourceRow.h:2376
std::vector< std::string > transition
Definition: SourceRow.h:2022
bool isAdded() const
Has this row been added to its table ?
std::vector< std::vector< Angle > > size
Definition: SourceRow.h:2217
void properMotionFromText(const std::string &s)
bool dopplerReferenceSystemExists
===&gt; Attribute dopplerReferenceSystem, which is optional
Definition: SourceRow.h:2266
void directionCodeFromText(const std::string &s)
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
void setSizeErr(std::vector< std::vector< Angle > > sizeErr)
Set sizeErr with the specified std::vector&lt;std::vector&lt;Angle &gt; &gt;.
void(SourceRow::* SourceAttributeFromBin)(EndianIStream &eis)
Definition: SourceRow.h:196
bool isDopplerVelocityExists() const
===&gt; Attribute dopplerVelocity, which is optional
std::vector< Frequency > frequency
Definition: SourceRow.h:2126
void parallaxFromText(const std::string &s)
void(SourceRow::* SourceAttributeFromText)(const std::string &s)
Definition: SourceRow.h:197
DopplerReferenceCodeMod::DopplerReferenceCode dopplerCalcType
Definition: SourceRow.h:2282
void clearSize()
Mark size, which is an optional field, as non-existent.
std::vector< std::vector< Angle > > sizeErr
Definition: SourceRow.h:2230
void clearPositionAngle()
Mark positionAngle, which is an optional field, as non-existent.
void clearPosition()
Mark position, which is an optional field, as non-existent.
void setFluxErr(std::vector< std::vector< Flux > > fluxErr)
Set fluxErr with the specified std::vector&lt;std::vector&lt;Flux &gt; &gt;.
void setDirection(std::vector< Angle > direction)
Set direction with the specified std::vector&lt;Angle &gt;.
void timeIntervalFromText(const std::string &s)
std::vector< Frequency > getFrequency() const
Get frequency, which is optional.
bool parallaxExists
===&gt; Attribute parallax, which is optional
Definition: SourceRow.h:2292
void setFlux(std::vector< std::vector< Flux > > flux)
Set flux with the specified std::vector&lt;std::vector&lt;Flux &gt; &gt;.
std::vector< Speed > dopplerVelocity
Definition: SourceRow.h:2256
void frequencyRefCodeFromText(const std::string &s)
int getNumFreq() const
Get numFreq, which is optional.
void transitionFromBin(EndianIStream &eis)
void setSpectralWindowId(Tag spectralWindowId)
Set spectralWindowId with the specified Tag.
bool compareNoAutoInc(ArrayTimeInterval timeInterval, Tag spectralWindowId, std::string code, std::vector< Angle > direction, std::vector< AngularRate > properMotion, std::string sourceName)
Compare each mandatory attribute except the autoincrementable one of this SourceRow with the correspo...
The SourceTable class is an Alma table.
Definition: SourceTable.h:475
void clearNumFreq()
Mark numFreq, which is an optional field, as non-existent.
bool hasBeenAdded
Whether this row has been added to the table or not.
Definition: SourceRow.h:1807
std::vector< Length > position
Definition: SourceRow.h:1996
void clearDirectionCode()
Mark directionCode, which is an optional field, as non-existent.
bool isVelRefCodeExists() const
===&gt; Attribute velRefCode, which is optional
void sizeFromBin(EndianIStream &eis)
ArrayTimeInterval timeInterval
===&gt; Attribute timeInterval
Definition: SourceRow.h:1874
virtual ~SourceRow()
friend class asdm::TableStreamReader&lt;SourceTable, SourceRow&gt;;
bool rangeVelExists
===&gt; Attribute rangeVel, which is optional
Definition: SourceRow.h:2058
bool equalByRequiredValue(SourceRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
The SourceRow class is a row of a SourceTable.
Definition: SourceRow.h:205
void positionAngleFromBin(EndianIStream &eis)
void calibrationGroupFromText(const std::string &s)
void sysVelFromText(const std::string &s)
void sizeErrFromText(const std::string &s)
void setPosition(std::vector< Length > position)
Set position with the specified std::vector&lt;Length &gt;.
void calibrationGroupFromBin(EndianIStream &eis)
bool isNumStokesExists() const
===&gt; Attribute numStokes, which is optional
bool restFrequencyExists
===&gt; Attribute restFrequency, which is optional
Definition: SourceRow.h:2032
void clearSysVel()
Mark sysVel, which is an optional field, as non-existent.
void positionFromBin(EndianIStream &eis)
SourceTable & table
The table to which this row belongs.
Definition: SourceRow.h:1803
bool isCatalogExists() const
===&gt; Attribute catalog, which is optional
void setDopplerCalcType(DopplerReferenceCodeMod::DopplerReferenceCode dopplerCalcType)
Set dopplerCalcType with the specified DopplerReferenceCodeMod::DopplerReferenceCode.
void setRangeVel(std::vector< Speed > rangeVel)
Set rangeVel with the specified std::vector&lt;Speed &gt;.
bool isNumLinesExists() const
===&gt; Attribute numLines, which is optional
void rangeVelFromBin(EndianIStream &eis)
bool positionAngleExists
===&gt; Attribute positionAngle, which is optional
Definition: SourceRow.h:2188
ArrayTime directionEquinox
Definition: SourceRow.h:1944
void clearSourceModel()
Mark sourceModel, which is an optional field, as non-existent.
void clearFrequency()
Mark frequency, which is an optional field, as non-existent.
bool sourceModelExists
===&gt; Attribute sourceModel, which is optional
Definition: SourceRow.h:2071
Links *binary deserialization material from an EndianIStream std::map< std::string, SourceAttributeFromBin > fromBinMethods
Definition: SourceRow.h:2332
std::string getCode() const
===&gt; Attribute code
void clearNumStokes()
Mark numStokes, which is an optional field, as non-existent.
FrequencyReferenceCodeMod::FrequencyReferenceCode frequencyRefCode
Definition: SourceRow.h:2087
std::vector< std::string > getTransition() const
Get transition, which is optional.
void setVelRefCode(RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode velRefCode)
Set velRefCode with the specified RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode.
void sizeFromText(const std::string &s)
std::vector< Frequency > restFrequency
Definition: SourceRow.h:2035
void positionAngleErrFromText(const std::string &s)
void setCalibrationGroup(int calibrationGroup)
Set calibrationGroup with the specified int.
void dopplerReferenceSystemFromBin(EndianIStream &eis)
std::string getSourceName() const
===&gt; Attribute sourceName
std::vector< Speed > getSysVel() const
Get sysVel, which is optional.
std::vector< Speed > getDopplerVelocity() const
Get dopplerVelocity, which is optional.
bool transitionExists
===&gt; Attribute transition, which is optional
Definition: SourceRow.h:2019
std::vector< std::vector< Flux > > getFlux() const
Get flux, which is optional.
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
void rangeVelFromText(const std::string &s)
bool directionEquinoxExists
===&gt; Attribute directionEquinox, which is optional
Definition: SourceRow.h:1941
void properMotionFromBin(EndianIStream &eis)
void numStokesFromText(const std::string &s)
void sizeErrFromBin(EndianIStream &eis)
void setFrequency(std::vector< Frequency > frequency)
Set frequency with the specified std::vector&lt;Frequency &gt;.
bool isFrequencyExists() const
===&gt; Attribute frequency, which is optional
void dopplerVelocityFromBin(EndianIStream &eis)
void restFrequencyFromBin(EndianIStream &eis)
void directionCodeFromBin(EndianIStream &eis)
std::vector< Angle > getPositionAngleErr() const
Get positionAngleErr, which is optional.
Speed getDeltaVel() const
Get deltaVel, which is optional.
void setFrequencyRefCode(FrequencyReferenceCodeMod::FrequencyReferenceCode frequencyRefCode)
Set frequencyRefCode with the specified FrequencyReferenceCodeMod::FrequencyReferenceCode.
void setSourceModel(SourceModelMod::SourceModel sourceModel)
Set sourceModel with the specified SourceModelMod::SourceModel.
bool isFrequencyRefCodeExists() const
===&gt; Attribute frequencyRefCode, which is optional
SourceTable & getTable() const
Return the table to which this row belongs.
bool directionCodeExists
===&gt; Attribute directionCode, which is optional
Definition: SourceRow.h:1928
ArrayTimeInterval getTimeInterval() const
===&gt; Attribute timeInterval
void numLinesFromText(const std::string &s)
void frequencyIntervalFromBin(EndianIStream &eis)
void restFrequencyFromText(const std::string &s)
void positionFromText(const std::string &s)
void clearDopplerVelocity()
Mark dopplerVelocity, which is an optional field, as non-existent.
std::vector< Angle > getPositionAngle() const
Get positionAngle, which is optional.
bool isRestFrequencyExists() const
===&gt; Attribute restFrequency, which is optional
DirectionReferenceCodeMod::DirectionReferenceCode directionCode
Definition: SourceRow.h:1931
bool isSizeExists() const
===&gt; Attribute size, which is optional
void dopplerReferenceSystemFromText(const std::string &s)
void catalogFromBin(EndianIStream &eis)
RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode getVelRefCode() const
Get velRefCode, which is optional.
std::vector< Frequency > getFrequencyInterval() const
Get frequencyInterval, which is optional.
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void sourceNameFromText(const std::string &s)
bool catalogExists
===&gt; Attribute catalog, which is optional
Definition: SourceRow.h:1967
std::vector< Frequency > getRestFrequency() const
Get restFrequency, which is optional.
bool dopplerCalcTypeExists
===&gt; Attribute dopplerCalcType, which is optional
Definition: SourceRow.h:2279
void fluxFromText(const std::string &s)
std::vector< std::vector< Flux > > flux
Definition: SourceRow.h:2165
void numFreqFromText(const std::string &s)
bool velRefCodeExists
===&gt; Attribute velRefCode, which is optional
Definition: SourceRow.h:2240
void clearCatalog()
Mark catalog, which is an optional field, as non-existent.
void sourceModelFromBin(EndianIStream &eis)
void clearFrequencyInterval()
Mark frequencyInterval, which is an optional field, as non-existent.
void clearDirectionEquinox()
Mark directionEquinox, which is an optional field, as non-existent.
std::string sourceName
===&gt; Attribute sourceName
Definition: SourceRow.h:1918
bool isDirectionCodeExists() const
===&gt; Attribute directionCode, which is optional
bool isRangeVelExists() const
===&gt; Attribute rangeVel, which is optional
void positionAngleFromText(const std::string &s)
bool isDopplerReferenceSystemExists() const
===&gt; Attribute dopplerReferenceSystem, which is optional
bool isStokesParameterExists() const
===&gt; Attribute stokesParameter, which is optional
bool isFrequencyIntervalExists() const
===&gt; Attribute frequencyInterval, which is optional
void clearSizeErr()
Mark sizeErr, which is an optional field, as non-existent.
void spectralWindowIdFromBin(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 frequencyRefCodeExists
===&gt; Attribute frequencyRefCode, which is optional
Definition: SourceRow.h:2084
void codeFromText(const std::string &s)
std::vector< StokesParameterMod::StokesParameter > stokesParameter
Definition: SourceRow.h:2152
bool isFluxExists() const
===&gt; Attribute flux, which is optional
void setCode(std::string code)
Set code with the specified std::string.
void sourceIdFromText(const std::string &s)
void timeIntervalFromBin(EndianIStream &eis)
bool isDopplerCalcTypeExists() const
===&gt; Attribute dopplerCalcType, which is optional
void setCatalog(std::string catalog)
Set catalog with the specified std::string.
bool frequencyIntervalExists
===&gt; Attribute frequencyInterval, which is optional
Definition: SourceRow.h:2136
void frequencyFromText(const std::string &s)
void dopplerCalcTypeFromText(const std::string &s)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
Definition: Tag.h:73
void positionAngleErrFromBin(EndianIStream &eis)
void setTransition(std::vector< std::string > transition)
Set transition with the specified std::vector&lt;std::string &gt;.
std::vector< Angle > parallax
Definition: SourceRow.h:2295
void codeFromBin(EndianIStream &eis)
void sourceModelFromText(const std::string &s)
std::vector< StokesParameterMod::StokesParameter > getStokesParameter() const
Get stokesParameter, which is optional.
bool dopplerVelocityExists
===&gt; Attribute dopplerVelocity, which is optional
Definition: SourceRow.h:2253
FrequencyReferenceCodeMod::FrequencyReferenceCode getFrequencyRefCode() const
Get frequencyRefCode, which is optional.
void sourceIdFromBin(EndianIStream &eis)
void transitionFromText(const std::string &s)
void velRefCodeFromBin(EndianIStream &eis)
void clearDopplerReferenceSystem()
Mark dopplerReferenceSystem, which is an optional field, as non-existent.
bool positionExists
===&gt; Attribute position, which is optional
Definition: SourceRow.h:1993
std::vector< Frequency > frequencyInterval
Definition: SourceRow.h:2139
void setDeltaVel(Speed deltaVel)
Set deltaVel with the specified Speed.
std::vector< std::vector< Angle > > getSize() const
Get size, which is optional.
void clearParallax()
Mark parallax, which is an optional field, as non-existent.
std::vector< std::vector< Angle > > getSizeErr() const
Get sizeErr, which is optional.
bool isSysVelExists() const
===&gt; Attribute sysVel, which is optional
void clearPositionAngleErr()
Mark positionAngleErr, which is an optional field, as non-existent.
std::vector< Speed > getRangeVel() const
Get rangeVel, which is optional.
void clearDopplerCalcType()
Mark dopplerCalcType, which is an optional field, as non-existent.
bool fluxErrExists
===&gt; Attribute fluxErr, which is optional
Definition: SourceRow.h:2175
void numLinesFromBin(EndianIStream &eis)
RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode dopplerReferenceSystem
Definition: SourceRow.h:2269
void setSysVel(std::vector< Speed > sysVel)
Set sysVel with the specified std::vector&lt;Speed &gt;.
void dopplerCalcTypeFromBin(EndianIStream &eis)
bool positionAngleErrExists
===&gt; Attribute positionAngleErr, which is optional
Definition: SourceRow.h:2201
void deltaVelFromBin(EndianIStream &eis)
void setPositionAngle(std::vector< Angle > positionAngle)
Set positionAngle with the specified std::vector&lt;Angle &gt;.
std::string getCatalog() const
Get catalog, which is optional.
void setDopplerVelocity(std::vector< Speed > dopplerVelocity)
Set dopplerVelocity with the specified std::vector&lt;Speed &gt;.
void setFromIDL(asdmIDL::SourceRowIDL x)
Fill the values of this row from the IDL struct SourceRowIDL.
bool sizeErrExists
===&gt; Attribute sizeErr, which is optional
Definition: SourceRow.h:2227
void clearDeltaVel()
Mark deltaVel, which is an optional field, as non-existent.
void clearVelRefCode()
Mark velRefCode, which is an optional field, as non-existent.
std::string code
===&gt; Attribute code
Definition: SourceRow.h:1885
void directionEquinoxFromBin(EndianIStream &eis)
void clearStokesParameter()
Mark stokesParameter, which is an optional field, as non-existent.
void clearFlux()
Mark flux, which is an optional field, as non-existent.
std::vector< Speed > rangeVel
Definition: SourceRow.h:2061
bool numFreqExists
===&gt; Attribute numFreq, which is optional
Definition: SourceRow.h:2097
std::vector< Length > getPosition() const
Get position, which is optional.
void frequencyFromBin(EndianIStream &eis)
void stokesParameterFromBin(EndianIStream &eis)
void setRestFrequency(std::vector< Frequency > restFrequency)
Set restFrequency with the specified std::vector&lt;Frequency &gt;.
void deltaVelFromText(const std::string &s)
SourceModelMod::SourceModel sourceModel
Definition: SourceRow.h:2074
bool sizeExists
===&gt; Attribute size, which is optional
Definition: SourceRow.h:2214
void directionFromText(const std::string &s)
void directionEquinoxFromText(const std::string &s)
int getCalibrationGroup() const
Get calibrationGroup, which is optional.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
bool isSizeErrExists() const
===&gt; Attribute sizeErr, which is optional
bool isDeltaVelExists() const
===&gt; Attribute deltaVel, which is optional
std::vector< Angle > getDirection() const
===&gt; Attribute direction
bool numLinesExists
===&gt; Attribute numLines, which is optional
Definition: SourceRow.h:2006
void setPositionAngleErr(std::vector< Angle > positionAngleErr)
Set positionAngleErr with the specified std::vector&lt;Angle &gt;.
void velRefCodeFromText(const std::string &s)
void sysVelFromBin(EndianIStream &eis)
DopplerReferenceCodeMod::DopplerReferenceCode getDopplerCalcType() const
Get dopplerCalcType, which is optional.
void clearFluxErr()
Mark fluxErr, which is an optional field, as non-existent.
bool isTransitionExists() const
===&gt; Attribute transition, which is optional
std::string catalog
Definition: SourceRow.h:1970
SourceRow(SourceTable &table)
Create a SourceRow.
void frequencyRefCodeFromBin(EndianIStream &eis)
The Speed class implements a quantity of speed in meters per second.
Definition: Speed.h:53
std::vector< Angle > getParallax() const
Get parallax, which is optional.
bool isPositionAngleExists() const
===&gt; Attribute positionAngle, which is optional
void numStokesFromBin(EndianIStream &eis)
void numFreqFromBin(EndianIStream &eis)
RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode velRefCode
Definition: SourceRow.h:2243
bool stokesParameterExists
===&gt; Attribute stokesParameter, which is optional
Definition: SourceRow.h:2149
void directionFromBin(EndianIStream &eis)
std::vector< std::vector< Flux > > getFluxErr() const
Get fluxErr, which is optional.
std::string toXML() const
Return this row in the form of an XML string.
void stokesParameterFromText(const std::string &s)
The SpectralWindowRow class is a row of a SpectralWindowTable.
void clearCalibrationGroup()
Mark calibrationGroup, which is an optional field, as non-existent.
void fluxErrFromText(const std::string &s)
Links *SpectralWindowRow * getSpectralWindowUsingSpectralWindowId()
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
bool fluxExists
===&gt; Attribute flux, which is optional
Definition: SourceRow.h:2162
std::vector< AngularRate > getProperMotion() const
===&gt; Attribute properMotion
void dopplerVelocityFromText(const std::string &s)
std::vector< Angle > direction
===&gt; Attribute direction
Definition: SourceRow.h:1896
void setStokesParameter(std::vector< StokesParameterMod::StokesParameter > stokesParameter)
Set stokesParameter with the specified std::vector&lt;StokesParameterMod::StokesParameter &gt;...
void setNumStokes(int numStokes)
Set numStokes with the specified int.
void setDirectionCode(DirectionReferenceCodeMod::DirectionReferenceCode directionCode)
Set directionCode with the specified DirectionReferenceCodeMod::DirectionReferenceCode.
void setProperMotion(std::vector< AngularRate > properMotion)
Set properMotion with the specified std::vector&lt;AngularRate &gt;.
std::vector< std::vector< Flux > > fluxErr
Definition: SourceRow.h:2178
void clearRangeVel()
Mark rangeVel, which is an optional field, as non-existent.
void sourceNameFromBin(EndianIStream &eis)
std::vector< Angle > positionAngleErr
Definition: SourceRow.h:2204
bool isParallaxExists() const
===&gt; Attribute parallax, which is optional
void setParallax(std::vector< Angle > parallax)
Set parallax with the specified std::vector&lt;Angle &gt;.
void setSourceId(int sourceId)
Set sourceId with the specified int value.
std::vector< Speed > sysVel
Definition: SourceRow.h:2048
DirectionReferenceCodeMod::DirectionReferenceCode getDirectionCode() const
Get directionCode, which is optional.
void spectralWindowIdFromText(const std::string &s)
void fluxErrFromBin(EndianIStream &eis)
void setDopplerReferenceSystem(RadialVelocityReferenceCodeMod::RadialVelocityReferenceCode dopplerReferenceSystem)
Set dopplerReferenceSystem with the specified RadialVelocityReferenceCodeMod::RadialVelocityReference...
void parallaxFromBin(EndianIStream &eis)
bool isPositionAngleErrExists() const
===&gt; Attribute positionAngleErr, which is optional
bool isNumFreqExists() const
===&gt; Attribute numFreq, which is optional
bool calibrationGroupExists
===&gt; Attribute calibrationGroup, which is optional
Definition: SourceRow.h:1954
void setSourceName(std::string sourceName)
Set sourceName with the specified std::string.