casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FeedRow.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 FeedRow.h
32  */
33 
34 #ifndef FeedRow_CLASS
35 #define FeedRow_CLASS
36 
37 #include <vector>
38 #include <string>
39 #include <set>
40 
41 #ifndef WITHOUT_ACS
42 #include <asdmIDLC.h>
43 #endif
44 
45 
46 
47 
48 
49 
50 
52 
53 
54 
55 #include <alma/ASDM/Angle.h>
56 
57 
58 
59 #include <alma/ASDM/Length.h>
60 
61 
62 
63 #include <alma/ASDM/Tag.h>
64 
65 
66 
68 
69 
70 
71 
72 
73 
74 
75 
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 
102 
103 
104 
106 #include <alma/ASDM/NoSuchRow.h>
108 
110 //#include <alma/ASDM/TableStreamReader.h>
111 
112 /*\file Feed.h
113  \brief Generated from model's revision "-1", branch ""
114 */
115 
116 namespace asdm {
117 
118 //class asdm::FeedTable;
119 
120 
121 // class asdm::AntennaRow;
122 class AntennaRow;
123 
124 // class asdm::SpectralWindowRow;
125 class SpectralWindowRow;
126 
127 // class asdm::ReceiverRow;
128 class ReceiverRow;
129 
130 
131 class FeedRow;
133 typedef void (FeedRow::*FeedAttributeFromText) (const std::string& s);
134 
141 class FeedRow {
142 friend class asdm::FeedTable;
144 //friend class asdm::TableStreamReader<FeedTable, FeedRow>;
145 
146 public:
147 
148  virtual ~FeedRow();
149 
153  FeedTable &getTable() const;
154 
159  bool isAdded() const;
160 
162  // Intrinsic Table Attributes //
164 
165 
166  // ===> Attribute feedId
167 
168 
169 
170 
171 
176  int getFeedId() const;
177 
178 
179 
180 
181 
182 
183 
184 
185 
186  // ===> Attribute timeInterval
187 
188 
189 
190 
191 
197 
198 
199 
200 
211 
212 
213 
214 
215 
216 
217 
218  // ===> Attribute numReceptor
219 
220 
221 
222 
223 
228  int getNumReceptor() const;
229 
230 
231 
232 
240  void setNumReceptor (int numReceptor);
241 
242 
243 
244 
245 
246 
247 
248  // ===> Attribute beamOffset
249 
250 
251 
252 
253 
258  std::vector<std::vector<double > > getBeamOffset() const;
259 
260 
261 
262 
270  void setBeamOffset (std::vector<std::vector<double > > beamOffset);
271 
272 
273 
274 
275 
276 
277 
278  // ===> Attribute focusReference
279 
280 
281 
282 
283 
288  std::vector<std::vector<Length > > getFocusReference() const;
289 
290 
291 
292 
300  void setFocusReference (std::vector<std::vector<Length > > focusReference);
301 
302 
303 
304 
305 
306 
307 
308  // ===> Attribute polarizationTypes
309 
310 
311 
312 
313 
318  std::vector<PolarizationTypeMod::PolarizationType > getPolarizationTypes() const;
319 
320 
321 
322 
330  void setPolarizationTypes (std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes);
331 
332 
333 
334 
335 
336 
337 
338  // ===> Attribute polResponse
339 
340 
341 
342 
343 
348  std::vector<std::vector<Complex > > getPolResponse() const;
349 
350 
351 
352 
360  void setPolResponse (std::vector<std::vector<Complex > > polResponse);
361 
362 
363 
364 
365 
366 
367 
368  // ===> Attribute receptorAngle
369 
370 
371 
372 
373 
378  std::vector<Angle > getReceptorAngle() const;
379 
380 
381 
382 
390  void setReceptorAngle (std::vector<Angle > receptorAngle);
391 
392 
393 
394 
395 
396 
397 
398  // ===> Attribute feedNum, which is optional
399 
400 
401 
406  bool isFeedNumExists() const;
407 
408 
409 
415  int getFeedNum() const;
416 
417 
418 
419 
426  void setFeedNum (int feedNum);
427 
428 
429 
430 
434  void clearFeedNum ();
435 
436 
437 
438 
439  // ===> Attribute illumOffset, which is optional
440 
441 
442 
447  bool isIllumOffsetExists() const;
448 
449 
450 
456  std::vector<Length > getIllumOffset() const;
457 
458 
459 
460 
467  void setIllumOffset (std::vector<Length > illumOffset);
468 
469 
470 
471 
475  void clearIllumOffset ();
476 
477 
478 
479 
480  // ===> Attribute position, which is optional
481 
482 
483 
488  bool isPositionExists() const;
489 
490 
491 
497  std::vector<Length > getPosition() const;
498 
499 
500 
501 
508  void setPosition (std::vector<Length > position);
509 
510 
511 
512 
516  void clearPosition ();
517 
518 
519 
520 
521  // ===> Attribute skyCoupling, which is optional
522 
523 
524 
529  bool isSkyCouplingExists() const;
530 
531 
532 
538  float getSkyCoupling() const;
539 
540 
541 
542 
549  void setSkyCoupling (float skyCoupling);
550 
551 
552 
553 
557  void clearSkyCoupling ();
558 
559 
560 
561 
562  // ===> Attribute numChan, which is optional
563 
564 
565 
570  bool isNumChanExists() const;
571 
572 
573 
579  int getNumChan() const;
580 
581 
582 
583 
590  void setNumChan (int numChan);
591 
592 
593 
594 
598  void clearNumChan ();
599 
600 
601 
602 
603  // ===> Attribute skyCouplingSpectrum, which is optional
604 
605 
606 
611  bool isSkyCouplingSpectrumExists() const;
612 
613 
614 
620  std::vector<float > getSkyCouplingSpectrum() const;
621 
622 
623 
624 
631  void setSkyCouplingSpectrum (std::vector<float > skyCouplingSpectrum);
632 
633 
634 
635 
639  void clearSkyCouplingSpectrum ();
640 
641 
642 
644  // Extrinsic Table Attributes //
646 
647 
648  // ===> Attribute antennaId
649 
650 
651 
652 
653 
658  Tag getAntennaId() const;
659 
660 
661 
662 
672  void setAntennaId (Tag antennaId);
673 
674 
675 
676 
677 
678 
679 
680  // ===> Attribute receiverId
681 
682 
683 
684 
685 
690  std::vector<int> getReceiverId() const;
691 
692 
693 
694 
702  void setReceiverId (std::vector<int> receiverId);
703 
704 
705 
706 
707 
708 
709 
710  // ===> Attribute spectralWindowId
711 
712 
713 
714 
715 
720  Tag getSpectralWindowId() const;
721 
722 
723 
724 
735 
736 
737 
738 
739 
740 
742  // Links //
744 
745 
746 
747 
748 
756 
757 
758 
759 
760 
761 
762 
763 
771 
772 
773 
774 
775 
776 
784  void setReceiverId (int i, int receiverId);
785 
786 
787 
788 
789 
790 
791  // ===> Slices link from a row of Feed table to a collection of row of Receiver table.
792 
797  void addReceiverId(int id);
798 
803  void addReceiverId(std::vector<int> id);
804 
805 
810  const std::vector <ReceiverRow *> getReceivers(int i);
811 
812 
818  const std::vector <ReceiverRow *> getReceivers();
819 
820 
821 
822 
823 
824 
825 
826 
852  bool compareNoAutoInc(Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int numReceptor, std::vector<std::vector<double > > beamOffset, std::vector<std::vector<Length > > focusReference, std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector<std::vector<Complex > > polResponse, std::vector<Angle > receptorAngle, std::vector<int> receiverId);
853 
854 
855 
856 
876  bool compareRequiredValue(int numReceptor, std::vector<std::vector<double > > beamOffset, std::vector<std::vector<Length > > focusReference, std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector<std::vector<Complex > > polResponse, std::vector<Angle > receptorAngle, std::vector<int> receiverId);
877 
878 
887  bool equalByRequiredValue(FeedRow* x) ;
888 
889 #ifndef WITHOUT_ACS
890 
894  asdmIDL::FeedRowIDL *toIDL() const;
895 
903  void toIDL(asdmIDL::FeedRowIDL& x) const;
904 #endif
905 
906 #ifndef WITHOUT_ACS
907 
912  void setFromIDL (asdmIDL::FeedRowIDL x) ;
913 #endif
914 
919  std::string toXML() const;
920 
927  void setFromXML (std::string rowDoc) ;
928 
931  // binary-deserialization material from an EndianIStream //
933 
934  std::map<std::string, FeedAttributeFromBin> fromBinMethods;
935 void antennaIdFromBin( EndianIStream& eis);
938 void feedIdFromBin( EndianIStream& eis);
940 void beamOffsetFromBin( EndianIStream& eis);
945 void receiverIdFromBin( EndianIStream& eis);
946 
947 void feedNumFromBin( EndianIStream& eis);
949 void positionFromBin( EndianIStream& eis);
951 void numChanFromBin( EndianIStream& eis);
953 
954 
962  static FeedRow* fromBin(EndianIStream& eis, FeedTable& table, const std::vector<std::string>& attributesSeq);
963 
970  void fromText(const std::string& attributeName, const std::string& t);
972 
973 private:
982 
983  // This method is used by the Table class when this row is added to the table.
984  void isAdded(bool added);
985 
986 
996 
1014  FeedRow (FeedTable &table, FeedRow *row);
1015 
1017  // Intrinsic Table Attributes //
1019 
1020 
1021  // ===> Attribute feedId
1022 
1023 
1024 
1025  int feedId;
1026 
1027 
1028 
1029 
1039  void setFeedId (int feedId);
1040 
1041 
1042 
1043 
1044  // ===> Attribute timeInterval
1045 
1046 
1047 
1049 
1050 
1051 
1052 
1053 
1054 
1055  // ===> Attribute numReceptor
1056 
1057 
1058 
1060 
1061 
1062 
1063 
1064 
1065 
1066  // ===> Attribute beamOffset
1067 
1068 
1069 
1070  std::vector<std::vector<double > > beamOffset;
1071 
1072 
1073 
1074 
1075 
1076 
1077  // ===> Attribute focusReference
1078 
1079 
1080 
1081  std::vector<std::vector<Length > > focusReference;
1082 
1083 
1084 
1085 
1086 
1087 
1088  // ===> Attribute polarizationTypes
1089 
1090 
1091 
1092  std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
1093 
1094 
1095 
1096 
1097 
1098 
1099  // ===> Attribute polResponse
1100 
1101 
1102 
1103  std::vector<std::vector<Complex > > polResponse;
1104 
1105 
1106 
1107 
1108 
1109 
1110  // ===> Attribute receptorAngle
1111 
1112 
1113 
1114  std::vector<Angle > receptorAngle;
1115 
1116 
1117 
1118 
1119 
1120 
1121  // ===> Attribute feedNum, which is optional
1122 
1123 
1125 
1126 
1127  int feedNum;
1128 
1129 
1130 
1131 
1132 
1133 
1134  // ===> Attribute illumOffset, which is optional
1135 
1136 
1138 
1139 
1140  std::vector<Length > illumOffset;
1141 
1142 
1143 
1144 
1145 
1146 
1147  // ===> Attribute position, which is optional
1148 
1149 
1151 
1152 
1153  std::vector<Length > position;
1154 
1155 
1156 
1157 
1158 
1159 
1160  // ===> Attribute skyCoupling, which is optional
1161 
1162 
1164 
1165 
1167 
1168 
1169 
1170 
1171 
1172 
1173  // ===> Attribute numChan, which is optional
1174 
1175 
1177 
1178 
1179  int numChan;
1180 
1181 
1182 
1183 
1184 
1185 
1186  // ===> Attribute skyCouplingSpectrum, which is optional
1187 
1188 
1190 
1191 
1192  std::vector<float > skyCouplingSpectrum;
1193 
1194 
1195 
1196 
1197 
1199  // Extrinsic Table Attributes //
1201 
1202 
1203  // ===> Attribute antennaId
1204 
1205 
1206 
1207  Tag antennaId;
1208 
1209 
1210 
1211 
1212 
1213 
1214  // ===> Attribute receiverId
1215 
1216 
1217 
1218  std::vector<int> receiverId;
1219 
1220 
1221 
1222 
1223 
1224 
1225  // ===> Attribute spectralWindowId
1226 
1227 
1228 
1230 
1231 
1232 
1233 
1234 
1236  // Links //
1238 
1239 
1240 
1241 
1242 
1243 
1244 
1245 
1246 
1247 
1248 
1249 
1250 
1251 
1252 
1253 
1254 
1255 
1256 
1257 
1258 
1259 
1260 /*
1262  // binary-deserialization material from an EndianIStream //
1264  std::map<std::string, FeedAttributeFromBin> fromBinMethods;
1265 void antennaIdFromBin( EndianIStream& eis);
1266 void spectralWindowIdFromBin( EndianIStream& eis);
1267 void timeIntervalFromBin( EndianIStream& eis);
1268 void feedIdFromBin( EndianIStream& eis);
1269 void numReceptorFromBin( EndianIStream& eis);
1270 void beamOffsetFromBin( EndianIStream& eis);
1271 void focusReferenceFromBin( EndianIStream& eis);
1272 void polarizationTypesFromBin( EndianIStream& eis);
1273 void polResponseFromBin( EndianIStream& eis);
1274 void receptorAngleFromBin( EndianIStream& eis);
1275 void receiverIdFromBin( EndianIStream& eis);
1276 
1277 void feedNumFromBin( EndianIStream& eis);
1278 void illumOffsetFromBin( EndianIStream& eis);
1279 void positionFromBin( EndianIStream& eis);
1280 void skyCouplingFromBin( EndianIStream& eis);
1281 void numChanFromBin( EndianIStream& eis);
1282 void skyCouplingSpectrumFromBin( EndianIStream& eis);
1283 
1284 */
1285 
1287  // text-deserialization material //
1289  std::map<std::string, FeedAttributeFromText> fromTextMethods;
1290 
1291 void antennaIdFromText (const std::string & s);
1292 
1293 
1294 void spectralWindowIdFromText (const std::string & s);
1295 
1296 
1297 void timeIntervalFromText (const std::string & s);
1298 
1299 
1300 void feedIdFromText (const std::string & s);
1301 
1302 
1303 void numReceptorFromText (const std::string & s);
1304 
1305 
1306 void beamOffsetFromText (const std::string & s);
1307 
1308 
1309 void focusReferenceFromText (const std::string & s);
1310 
1311 
1312 void polarizationTypesFromText (const std::string & s);
1313 
1314 
1315 void polResponseFromText (const std::string & s);
1316 
1317 
1318 void receptorAngleFromText (const std::string & s);
1319 
1320 
1321 void receiverIdFromText (const std::string & s);
1322 
1323 
1324 
1325 void feedNumFromText (const std::string & s);
1326 
1327 
1328 void illumOffsetFromText (const std::string & s);
1329 
1330 
1331 void positionFromText (const std::string & s);
1332 
1333 
1334 void skyCouplingFromText (const std::string & s);
1335 
1336 
1337 void numChanFromText (const std::string & s);
1338 
1339 
1340 void skyCouplingSpectrumFromText (const std::string & s);
1341 
1342 
1343 
1348  void toBin(EndianOSStream& eoss);
1349 
1359 };
1360 
1361 } // End namespace asdm
1362 
1363 #endif /* Feed_CLASS */
void timeIntervalFromText(const std::string &s)
The FeedRow class is a row of a FeedTable.
Definition: FeedRow.h:141
void feedNumFromText(const std::string &s)
void clearPosition()
Mark position, which is an optional field, as non-existent.
void polarizationTypesFromBin(EndianIStream &eis)
void focusReferenceFromText(const std::string &s)
void timeIntervalFromBin(EndianIStream &eis)
void setAntennaId(Tag antennaId)
Set antennaId with the specified Tag.
bool isAdded() const
Has this row been added to its table ?
void setFocusReference(std::vector< std::vector< Length > > focusReference)
Set focusReference with the specified std::vector&lt;std::vector&lt;Length &gt; &gt;.
Links *AntennaRow * getAntennaUsingAntennaId()
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId ...
void setReceiverId(std::vector< int > receiverId)
Set receiverId with the specified std::vector&lt;int&gt; .
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
void numReceptorFromText(const std::string &s)
void setNumChan(int numChan)
Set numChan with the specified int.
void clearIllumOffset()
Mark illumOffset, which is an optional field, as non-existent.
void clearSkyCoupling()
Mark skyCoupling, which is an optional field, as non-existent.
void setPolResponse(std::vector< std::vector< Complex > > polResponse)
Set polResponse with the specified std::vector&lt;std::vector&lt;Complex &gt; &gt;.
void numReceptorFromBin(EndianIStream &eis)
void clearFeedNum()
Mark feedNum, which is an optional field, as non-existent.
bool equalByRequiredValue(FeedRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void polResponseFromBin(EndianIStream &eis)
void setSkyCouplingSpectrum(std::vector< float > skyCouplingSpectrum)
Set skyCouplingSpectrum with the specified std::vector&lt;float &gt;.
void illumOffsetFromText(const std::string &s)
void beamOffsetFromText(const std::string &s)
void receiverIdFromText(const std::string &s)
void skyCouplingSpectrumFromText(const std::string &s)
void addReceiverId(int id)
===&gt; Slices link from a row of Feed table to a collection of row of Receiver table.
FeedRow(FeedTable &table)
Create a FeedRow.
void numChanFromBin(EndianIStream &eis)
asdmIDL::FeedRowIDL * toIDL() const
Return this row in the form of an IDL struct.
Tag spectralWindowId
===&gt; Attribute spectralWindowId
Definition: FeedRow.h:1229
bool skyCouplingSpectrumExists
===&gt; Attribute skyCouplingSpectrum, which is optional
Definition: FeedRow.h:1189
void feedIdFromText(const std::string &s)
void receptorAngleFromText(const std::string &s)
void setIllumOffset(std::vector< Length > illumOffset)
Set illumOffset with the specified std::vector&lt;Length &gt;.
void feedNumFromBin(EndianIStream &eis)
void clearNumChan()
Mark numChan, which is an optional field, as non-existent.
bool numChanExists
===&gt; Attribute numChan, which is optional
Definition: FeedRow.h:1176
bool compareNoAutoInc(Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int numReceptor, std::vector< std::vector< double > > beamOffset, std::vector< std::vector< Length > > focusReference, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< Complex > > polResponse, std::vector< Angle > receptorAngle, std::vector< int > receiverId)
Compare each mandatory attribute except the autoincrementable one of this FeedRow with the correspond...
void skyCouplingFromText(const std::string &s)
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===&gt; Attribute polarizationTypes
void setReceptorAngle(std::vector< Angle > receptorAngle)
Set receptorAngle with the specified std::vector&lt;Angle &gt;.
void numChanFromText(const std::string &s)
bool illumOffsetExists
===&gt; Attribute illumOffset, which is optional
Definition: FeedRow.h:1137
ArrayTimeInterval timeInterval
===&gt; Attribute timeInterval
Definition: FeedRow.h:1048
FeedTable & table
The table to which this row belongs.
Definition: FeedRow.h:977
std::vector< float > getSkyCouplingSpectrum() const
Get skyCouplingSpectrum, which is optional.
void(FeedRow::* FeedAttributeFromBin)(EndianIStream &eis)
Definition: FeedRow.h:132
*text deserialization material std::map< std::string, FeedAttributeFromText > fromTextMethods
Definition: FeedRow.h:1289
std::vector< std::vector< Complex > > getPolResponse() const
===&gt; Attribute polResponse
void spectralWindowIdFromBin(EndianIStream &eis)
void setBeamOffset(std::vector< std::vector< double > > beamOffset)
Set beamOffset with the specified std::vector&lt;std::vector&lt;double &gt; &gt;.
void antennaIdFromBin(EndianIStream &eis)
ArrayTimeInterval getTimeInterval() const
===&gt; Attribute timeInterval
virtual ~FeedRow()
friend class asdm::TableStreamReader&lt;FeedTable, FeedRow&gt;;
void positionFromBin(EndianIStream &eis)
void setPosition(std::vector< Length > position)
Set position with the specified std::vector&lt;Length &gt;.
std::vector< std::vector< double > > beamOffset
===&gt; Attribute beamOffset
Definition: FeedRow.h:1070
bool isNumChanExists() const
===&gt; Attribute numChan, which is optional
The AntennaRow class is a row of a AntennaTable.
Definition: AntennaRow.h:120
void receiverIdFromBin(EndianIStream &eis)
void skyCouplingSpectrumFromBin(EndianIStream &eis)
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
float getSkyCoupling() const
Get skyCoupling, which is optional.
bool skyCouplingExists
===&gt; Attribute skyCoupling, which is optional
Definition: FeedRow.h:1163
SpectralWindowRow * getSpectralWindowUsingSpectralWindowId()
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
void illumOffsetFromBin(EndianIStream &eis)
std::vector< Length > getIllumOffset() const
Get illumOffset, which is optional.
bool compareRequiredValue(int numReceptor, std::vector< std::vector< double > > beamOffset, std::vector< std::vector< Length > > focusReference, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< Complex > > polResponse, std::vector< Angle > receptorAngle, std::vector< int > receiverId)
Compare each mandatory value (i.e.
bool feedNumExists
===&gt; Attribute feedNum, which is optional
Definition: FeedRow.h:1124
bool positionExists
===&gt; Attribute position, which is optional
Definition: FeedRow.h:1150
void polResponseFromText(const std::string &s)
void positionFromText(const std::string &s)
std::vector< float > skyCouplingSpectrum
Definition: FeedRow.h:1192
std::vector< int > receiverId
===&gt; Attribute receiverId
Definition: FeedRow.h:1218
void spectralWindowIdFromText(const std::string &s)
FeedTable & getTable() const
Return the table to which this row belongs.
void feedIdFromBin(EndianIStream &eis)
int numReceptor
===&gt; Attribute numReceptor
Definition: FeedRow.h:1059
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
Definition: Tag.h:73
void beamOffsetFromBin(EndianIStream &eis)
std::vector< int > getReceiverId() const
===&gt; Attribute receiverId
std::vector< Angle > getReceptorAngle() const
===&gt; Attribute receptorAngle
int getFeedNum() const
Get feedNum, which is optional.
std::vector< std::vector< Length > > getFocusReference() const
===&gt; Attribute focusReference
void setFeedNum(int feedNum)
Set feedNum with the specified int.
void setFeedId(int feedId)
Set feedId with the specified int value.
const std::vector< ReceiverRow * > getReceivers()
Get the collection of rows in the Receiver table having receiverId == receiverId[i] for any i in [O...
bool isFeedNumExists() const
===&gt; Attribute feedNum, which is optional
void setSkyCoupling(float skyCoupling)
Set skyCoupling with the specified float.
void antennaIdFromText(const std::string &s)
The FeedTable class is an Alma table.
Definition: FeedTable.h:274
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
std::vector< Angle > receptorAngle
===&gt; Attribute receptorAngle
Definition: FeedRow.h:1114
bool hasBeenAdded
Whether this row has been added to the table or not.
Definition: FeedRow.h:981
std::string toXML() const
Return this row in the form of an XML string.
void clearSkyCouplingSpectrum()
Mark skyCouplingSpectrum, which is an optional field, as non-existent.
bool isIllumOffsetExists() const
===&gt; Attribute illumOffset, which is optional
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector&lt;PolarizationTypeMod::PolarizationType &gt;...
Links *binary deserialization material from an EndianIStream std::map< std::string, FeedAttributeFromBin > fromBinMethods
Definition: FeedRow.h:1264
void receptorAngleFromBin(EndianIStream &eis)
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
void focusReferenceFromBin(EndianIStream &eis)
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===&gt; Attribute polarizationTypes
Definition: FeedRow.h:1092
void polarizationTypesFromText(const std::string &s)
std::vector< std::vector< Complex > > polResponse
===&gt; Attribute polResponse
Definition: FeedRow.h:1103
The SpectralWindowRow class is a row of a SpectralWindowTable.
std::vector< std::vector< double > > getBeamOffset() const
===&gt; Attribute beamOffset
std::vector< std::vector< Length > > focusReference
===&gt; Attribute focusReference
Definition: FeedRow.h:1081
bool isPositionExists() const
===&gt; Attribute position, which is optional
void setSpectralWindowId(Tag spectralWindowId)
Set spectralWindowId with the specified Tag.
int getNumChan() const
Get numChan, which is optional.
void(FeedRow::* FeedAttributeFromText)(const std::string &s)
Definition: FeedRow.h:133
int getNumReceptor() const
===&gt; Attribute numReceptor
bool isSkyCouplingSpectrumExists() const
===&gt; Attribute skyCouplingSpectrum, which is optional
Tag getSpectralWindowId() const
===&gt; Attribute spectralWindowId
void skyCouplingFromBin(EndianIStream &eis)
std::vector< Length > position
Definition: FeedRow.h:1153
bool isSkyCouplingExists() const
===&gt; Attribute skyCoupling, which is optional
float skyCoupling
Definition: FeedRow.h:1166
void setFromIDL(asdmIDL::FeedRowIDL x)
Fill the values of this row from the IDL struct FeedRowIDL.
std::vector< Length > getPosition() const
Get position, which is optional.
std::vector< Length > illumOffset
Definition: FeedRow.h:1140