casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CalPrimaryBeamRow.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 CalPrimaryBeamRow.h
32  */
33 
34 #ifndef CalPrimaryBeamRow_CLASS
35 #define CalPrimaryBeamRow_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/Frequency.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 
77 
78 
79 
80 
81 
82 
83 
85 
86 
87 
88 
89 
90 
91 
92 
93 
95 
96 
97 
98 
99 
100 
101 
102 
103 
104 
105 
106 
107 
108 
109 
111 
112 
113 
114 
115 
116 
117 
118 
120 #include <alma/ASDM/NoSuchRow.h>
122 
124 //#include <alma/ASDM/TableStreamReader.h>
125 
126 /*\file CalPrimaryBeam.h
127  \brief Generated from model's revision "-1", branch ""
128 */
129 
130 namespace asdm {
131 
132 //class asdm::CalPrimaryBeamTable;
133 
134 
135 // class asdm::CalReductionRow;
136 class CalReductionRow;
137 
138 // class asdm::CalDataRow;
139 class CalDataRow;
140 
141 
142 class CalPrimaryBeamRow;
144 typedef void (CalPrimaryBeamRow::*CalPrimaryBeamAttributeFromText) (const std::string& s);
145 
155 //friend class asdm::TableStreamReader<CalPrimaryBeamTable, CalPrimaryBeamRow>;
156 
157 public:
158 
159  virtual ~CalPrimaryBeamRow();
160 
164  CalPrimaryBeamTable &getTable() const;
165 
170  bool isAdded() const;
171 
173  // Intrinsic Table Attributes //
175 
176 
177  // ===> Attribute antennaName
178 
179 
180 
181 
182 
187  std::string getAntennaName() const;
188 
189 
190 
191 
201  void setAntennaName (std::string antennaName);
202 
203 
204 
205 
206 
207 
208 
209  // ===> Attribute receiverBand
210 
211 
212 
213 
214 
219  ReceiverBandMod::ReceiverBand getReceiverBand() const;
220 
221 
222 
223 
233  void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand);
234 
235 
236 
237 
238 
239 
240 
241  // ===> Attribute startValidTime
242 
243 
244 
245 
246 
252 
253 
254 
255 
264 
265 
266 
267 
268 
269 
270 
271  // ===> Attribute endValidTime
272 
273 
274 
275 
276 
281  ArrayTime getEndValidTime() const;
282 
283 
284 
285 
294 
295 
296 
297 
298 
299 
300 
301  // ===> Attribute antennaMake
302 
303 
304 
305 
306 
311  AntennaMakeMod::AntennaMake getAntennaMake() const;
312 
313 
314 
315 
323  void setAntennaMake (AntennaMakeMod::AntennaMake antennaMake);
324 
325 
326 
327 
328 
329 
330 
331  // ===> Attribute numSubband
332 
333 
334 
335 
336 
341  int getNumSubband() const;
342 
343 
344 
345 
353  void setNumSubband (int numSubband);
354 
355 
356 
357 
358 
359 
360 
361  // ===> Attribute frequencyRange
362 
363 
364 
365 
366 
371  std::vector<std::vector<Frequency > > getFrequencyRange() const;
372 
373 
374 
375 
383  void setFrequencyRange (std::vector<std::vector<Frequency > > frequencyRange);
384 
385 
386 
387 
388 
389 
390 
391  // ===> Attribute numReceptor
392 
393 
394 
395 
396 
401  int getNumReceptor() const;
402 
403 
404 
405 
413  void setNumReceptor (int numReceptor);
414 
415 
416 
417 
418 
419 
420 
421  // ===> Attribute polarizationTypes
422 
423 
424 
425 
426 
431  std::vector<PolarizationTypeMod::PolarizationType > getPolarizationTypes() const;
432 
433 
434 
435 
443  void setPolarizationTypes (std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes);
444 
445 
446 
447 
448 
449 
450 
451  // ===> Attribute mainBeamEfficiency
452 
453 
454 
455 
456 
461  std::vector<double > getMainBeamEfficiency() const;
462 
463 
464 
465 
473  void setMainBeamEfficiency (std::vector<double > mainBeamEfficiency);
474 
475 
476 
477 
478 
479 
480 
481  // ===> Attribute beamDescriptionUID
482 
483 
484 
485 
486 
492 
493 
494 
495 
504 
505 
506 
507 
508 
509 
510 
511  // ===> Attribute relativeAmplitudeRms
512 
513 
514 
515 
516 
521  float getRelativeAmplitudeRms() const;
522 
523 
524 
525 
534 
535 
536 
537 
538 
539 
540 
541  // ===> Attribute direction
542 
543 
544 
545 
546 
551  std::vector<Angle > getDirection() const;
552 
553 
554 
555 
563  void setDirection (std::vector<Angle > direction);
564 
565 
566 
567 
568 
569 
570 
571  // ===> Attribute minValidDirection
572 
573 
574 
575 
576 
581  std::vector<Angle > getMinValidDirection() const;
582 
583 
584 
585 
593  void setMinValidDirection (std::vector<Angle > minValidDirection);
594 
595 
596 
597 
598 
599 
600 
601  // ===> Attribute maxValidDirection
602 
603 
604 
605 
606 
611  std::vector<Angle > getMaxValidDirection() const;
612 
613 
614 
615 
623  void setMaxValidDirection (std::vector<Angle > maxValidDirection);
624 
625 
626 
627 
628 
629 
630 
631  // ===> Attribute descriptionType
632 
633 
634 
635 
636 
641  PrimaryBeamDescriptionMod::PrimaryBeamDescription getDescriptionType() const;
642 
643 
644 
645 
653  void setDescriptionType (PrimaryBeamDescriptionMod::PrimaryBeamDescription descriptionType);
654 
655 
656 
657 
658 
659 
660 
661  // ===> Attribute imageChannelNumber
662 
663 
664 
665 
666 
671  std::vector<int > getImageChannelNumber() const;
672 
673 
674 
675 
683  void setImageChannelNumber (std::vector<int > imageChannelNumber);
684 
685 
686 
687 
688 
689 
690 
691  // ===> Attribute imageNominalFrequency
692 
693 
694 
695 
696 
701  std::vector<Frequency > getImageNominalFrequency() const;
702 
703 
704 
705 
713  void setImageNominalFrequency (std::vector<Frequency > imageNominalFrequency);
714 
715 
716 
717 
718 
719 
721  // Extrinsic Table Attributes //
723 
724 
725  // ===> Attribute calDataId
726 
727 
728 
729 
730 
735  Tag getCalDataId() const;
736 
737 
738 
739 
749  void setCalDataId (Tag calDataId);
750 
751 
752 
753 
754 
755 
756 
757  // ===> Attribute calReductionId
758 
759 
760 
761 
762 
767  Tag getCalReductionId() const;
768 
769 
770 
771 
782 
783 
784 
785 
786 
787 
789  // Links //
791 
792 
793 
794 
795 
803 
804 
805 
806 
807 
808 
809 
810 
818 
819 
820 
821 
822 
823 
824 
870  bool compareNoAutoInc(std::string antennaName, ReceiverBandMod::ReceiverBand receiverBand, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, AntennaMakeMod::AntennaMake antennaMake, int numSubband, std::vector<std::vector<Frequency > > frequencyRange, int numReceptor, std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector<double > mainBeamEfficiency, EntityRef beamDescriptionUID, float relativeAmplitudeRms, std::vector<Angle > direction, std::vector<Angle > minValidDirection, std::vector<Angle > maxValidDirection, PrimaryBeamDescriptionMod::PrimaryBeamDescription descriptionType, std::vector<int > imageChannelNumber, std::vector<Frequency > imageNominalFrequency);
871 
872 
873 
874 
912  bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, AntennaMakeMod::AntennaMake antennaMake, int numSubband, std::vector<std::vector<Frequency > > frequencyRange, int numReceptor, std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector<double > mainBeamEfficiency, EntityRef beamDescriptionUID, float relativeAmplitudeRms, std::vector<Angle > direction, std::vector<Angle > minValidDirection, std::vector<Angle > maxValidDirection, PrimaryBeamDescriptionMod::PrimaryBeamDescription descriptionType, std::vector<int > imageChannelNumber, std::vector<Frequency > imageNominalFrequency);
913 
914 
924 
925 #ifndef WITHOUT_ACS
926 
930  asdmIDL::CalPrimaryBeamRowIDL *toIDL() const;
931 
939  void toIDL(asdmIDL::CalPrimaryBeamRowIDL& x) const;
940 #endif
941 
942 #ifndef WITHOUT_ACS
943 
948  void setFromIDL (asdmIDL::CalPrimaryBeamRowIDL x) ;
949 #endif
950 
955  std::string toXML() const;
956 
963  void setFromXML (std::string rowDoc) ;
964 
967  // binary-deserialization material from an EndianIStream //
969 
970  std::map<std::string, CalPrimaryBeamAttributeFromBin> fromBinMethods;
973 void calDataIdFromBin( EndianIStream& eis);
978 void numSubbandFromBin( EndianIStream& eis);
985 void directionFromBin( EndianIStream& eis);
991 
992 
993 
1001  static CalPrimaryBeamRow* fromBin(EndianIStream& eis, CalPrimaryBeamTable& table, const std::vector<std::string>& attributesSeq);
1002 
1009  void fromText(const std::string& attributeName, const std::string& t);
1011 
1012 private:
1021 
1022  // This method is used by the Table class when this row is added to the table.
1023  void isAdded(bool added);
1024 
1025 
1035 
1054 
1056  // Intrinsic Table Attributes //
1058 
1059 
1060  // ===> Attribute antennaName
1061 
1062 
1063 
1064  std::string antennaName;
1065 
1066 
1067 
1068 
1069 
1070 
1071  // ===> Attribute receiverBand
1072 
1073 
1074 
1075  ReceiverBandMod::ReceiverBand receiverBand;
1076 
1077 
1078 
1079 
1080 
1081 
1082  // ===> Attribute startValidTime
1083 
1084 
1085 
1087 
1088 
1089 
1090 
1091 
1092 
1093  // ===> Attribute endValidTime
1094 
1095 
1096 
1098 
1099 
1100 
1101 
1102 
1103 
1104  // ===> Attribute antennaMake
1105 
1106 
1107 
1108  AntennaMakeMod::AntennaMake antennaMake;
1109 
1110 
1111 
1112 
1113 
1114 
1115  // ===> Attribute numSubband
1116 
1117 
1118 
1120 
1121 
1122 
1123 
1124 
1125 
1126  // ===> Attribute frequencyRange
1127 
1128 
1129 
1130  std::vector<std::vector<Frequency > > frequencyRange;
1131 
1132 
1133 
1134 
1135 
1136 
1137  // ===> Attribute numReceptor
1138 
1139 
1140 
1142 
1143 
1144 
1145 
1146 
1147 
1148  // ===> Attribute polarizationTypes
1149 
1150 
1151 
1152  std::vector<PolarizationTypeMod::PolarizationType > polarizationTypes;
1153 
1154 
1155 
1156 
1157 
1158 
1159  // ===> Attribute mainBeamEfficiency
1160 
1161 
1162 
1163  std::vector<double > mainBeamEfficiency;
1164 
1165 
1166 
1167 
1168 
1169 
1170  // ===> Attribute beamDescriptionUID
1171 
1172 
1173 
1175 
1176 
1177 
1178 
1179 
1180 
1181  // ===> Attribute relativeAmplitudeRms
1182 
1183 
1184 
1186 
1187 
1188 
1189 
1190 
1191 
1192  // ===> Attribute direction
1193 
1194 
1195 
1196  std::vector<Angle > direction;
1197 
1198 
1199 
1200 
1201 
1202 
1203  // ===> Attribute minValidDirection
1204 
1205 
1206 
1207  std::vector<Angle > minValidDirection;
1208 
1209 
1210 
1211 
1212 
1213 
1214  // ===> Attribute maxValidDirection
1215 
1216 
1217 
1218  std::vector<Angle > maxValidDirection;
1219 
1220 
1221 
1222 
1223 
1224 
1225  // ===> Attribute descriptionType
1226 
1227 
1228 
1229  PrimaryBeamDescriptionMod::PrimaryBeamDescription descriptionType;
1230 
1231 
1232 
1233 
1234 
1235 
1236  // ===> Attribute imageChannelNumber
1237 
1238 
1239 
1240  std::vector<int > imageChannelNumber;
1241 
1242 
1243 
1244 
1245 
1246 
1247  // ===> Attribute imageNominalFrequency
1248 
1249 
1250 
1251  std::vector<Frequency > imageNominalFrequency;
1252 
1253 
1254 
1255 
1256 
1258  // Extrinsic Table Attributes //
1260 
1261 
1262  // ===> Attribute calDataId
1263 
1264 
1265 
1266  Tag calDataId;
1267 
1268 
1269 
1270 
1271 
1272 
1273  // ===> Attribute calReductionId
1274 
1275 
1276 
1278 
1279 
1280 
1281 
1282 
1284  // Links //
1286 
1287 
1288 
1289 
1290 
1291 
1292 
1293 
1294 
1295 
1296 
1297 
1298 
1299 
1300 
1301 
1302 /*
1304  // binary-deserialization material from an EndianIStream //
1306  std::map<std::string, CalPrimaryBeamAttributeFromBin> fromBinMethods;
1307 void antennaNameFromBin( EndianIStream& eis);
1308 void receiverBandFromBin( EndianIStream& eis);
1309 void calDataIdFromBin( EndianIStream& eis);
1310 void calReductionIdFromBin( EndianIStream& eis);
1311 void startValidTimeFromBin( EndianIStream& eis);
1312 void endValidTimeFromBin( EndianIStream& eis);
1313 void antennaMakeFromBin( EndianIStream& eis);
1314 void numSubbandFromBin( EndianIStream& eis);
1315 void frequencyRangeFromBin( EndianIStream& eis);
1316 void numReceptorFromBin( EndianIStream& eis);
1317 void polarizationTypesFromBin( EndianIStream& eis);
1318 void mainBeamEfficiencyFromBin( EndianIStream& eis);
1319 void beamDescriptionUIDFromBin( EndianIStream& eis);
1320 void relativeAmplitudeRmsFromBin( EndianIStream& eis);
1321 void directionFromBin( EndianIStream& eis);
1322 void minValidDirectionFromBin( EndianIStream& eis);
1323 void maxValidDirectionFromBin( EndianIStream& eis);
1324 void descriptionTypeFromBin( EndianIStream& eis);
1325 void imageChannelNumberFromBin( EndianIStream& eis);
1326 void imageNominalFrequencyFromBin( EndianIStream& eis);
1327 
1328 
1329 */
1330 
1332  // text-deserialization material //
1334  std::map<std::string, CalPrimaryBeamAttributeFromText> fromTextMethods;
1335 
1336 void antennaNameFromText (const std::string & s);
1337 
1338 
1339 void receiverBandFromText (const std::string & s);
1340 
1341 
1342 void calDataIdFromText (const std::string & s);
1343 
1344 
1345 void calReductionIdFromText (const std::string & s);
1346 
1347 
1348 void startValidTimeFromText (const std::string & s);
1349 
1350 
1351 void endValidTimeFromText (const std::string & s);
1352 
1353 
1354 void antennaMakeFromText (const std::string & s);
1355 
1356 
1357 void numSubbandFromText (const std::string & s);
1358 
1359 
1360 void frequencyRangeFromText (const std::string & s);
1361 
1362 
1363 void numReceptorFromText (const std::string & s);
1364 
1365 
1366 void polarizationTypesFromText (const std::string & s);
1367 
1368 
1369 void mainBeamEfficiencyFromText (const std::string & s);
1370 
1371 
1372 
1373 void relativeAmplitudeRmsFromText (const std::string & s);
1374 
1375 
1376 void directionFromText (const std::string & s);
1377 
1378 
1379 void minValidDirectionFromText (const std::string & s);
1380 
1381 
1382 void maxValidDirectionFromText (const std::string & s);
1383 
1384 
1385 void descriptionTypeFromText (const std::string & s);
1386 
1387 
1388 void imageChannelNumberFromText (const std::string & s);
1389 
1390 
1391 void imageNominalFrequencyFromText (const std::string & s);
1392 
1393 
1394 
1395 
1400  void toBin(EndianOSStream& eoss);
1401 
1411 };
1412 
1413 } // End namespace asdm
1414 
1415 #endif /* CalPrimaryBeam_CLASS */
float relativeAmplitudeRms
===&gt; Attribute relativeAmplitudeRms
The CalPrimaryBeamRow class is a row of a CalPrimaryBeamTable.
EntityRef beamDescriptionUID
===&gt; Attribute beamDescriptionUID
void polarizationTypesFromText(const std::string &s)
PrimaryBeamDescriptionMod::PrimaryBeamDescription getDescriptionType() const
===&gt; Attribute descriptionType
void relativeAmplitudeRmsFromBin(EndianIStream &eis)
void receiverBandFromBin(EndianIStream &eis)
void antennaMakeFromText(const std::string &s)
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector&lt;PolarizationTypeMod::PolarizationType &gt;...
virtual ~CalPrimaryBeamRow()
friend class asdm::TableStreamReader&lt;CalPrimaryBeamTable, CalPrimaryBeamRow&gt;;
void minValidDirectionFromBin(EndianIStream &eis)
The CalPrimaryBeamTable class is an Alma table.
void receiverBandFromText(const std::string &s)
void numSubbandFromText(const std::string &s)
ArrayTime endValidTime
===&gt; Attribute endValidTime
std::vector< double > mainBeamEfficiency
===&gt; Attribute mainBeamEfficiency
std::vector< double > getMainBeamEfficiency() const
===&gt; Attribute mainBeamEfficiency
std::vector< Angle > maxValidDirection
===&gt; Attribute maxValidDirection
void setMainBeamEfficiency(std::vector< double > mainBeamEfficiency)
Set mainBeamEfficiency with the specified std::vector&lt;double &gt;.
*text deserialization material std::map< std::string, CalPrimaryBeamAttributeFromText > fromTextMethods
CalPrimaryBeamTable & table
The table to which this row belongs.
ArrayTime getEndValidTime() const
===&gt; Attribute endValidTime
void antennaNameFromText(const std::string &s)
void calReductionIdFromText(const std::string &s)
asdmIDL::CalPrimaryBeamRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void mainBeamEfficiencyFromText(const std::string &s)
std::vector< int > imageChannelNumber
===&gt; Attribute imageChannelNumber
void setImageChannelNumber(std::vector< int > imageChannelNumber)
Set imageChannelNumber with the specified std::vector&lt;int &gt;.
void polarizationTypesFromBin(EndianIStream &eis)
void setImageNominalFrequency(std::vector< Frequency > imageNominalFrequency)
Set imageNominalFrequency with the specified std::vector&lt;Frequency &gt;.
void setMaxValidDirection(std::vector< Angle > maxValidDirection)
Set maxValidDirection with the specified std::vector&lt;Angle &gt;.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
std::vector< Angle > direction
===&gt; Attribute direction
AntennaMakeMod::AntennaMake antennaMake
===&gt; Attribute antennaMake
Tag calReductionId
===&gt; Attribute calReductionId
void numReceptorFromBin(EndianIStream &eis)
void setFrequencyRange(std::vector< std::vector< Frequency > > frequencyRange)
Set frequencyRange with the specified std::vector&lt;std::vector&lt;Frequency &gt; &gt;.
void setFromIDL(asdmIDL::CalPrimaryBeamRowIDL x)
Fill the values of this row from the IDL struct CalPrimaryBeamRowIDL.
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===&gt; Attribute polarizationTypes
Tag getCalReductionId() const
===&gt; Attribute calReductionId
void startValidTimeFromBin(EndianIStream &eis)
float getRelativeAmplitudeRms() const
===&gt; Attribute relativeAmplitudeRms
void(CalPrimaryBeamRow::* CalPrimaryBeamAttributeFromBin)(EndianIStream &eis)
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
std::string toXML() const
Return this row in the form of an XML string.
AntennaMakeMod::AntennaMake getAntennaMake() const
===&gt; Attribute antennaMake
The EntityRef class is an identification of a persistant entity in the ALMA archive.
Definition: EntityRef.h:58
void calDataIdFromText(const std::string &s)
void maxValidDirectionFromText(const std::string &s)
void setMinValidDirection(std::vector< Angle > minValidDirection)
Set minValidDirection with the specified std::vector&lt;Angle &gt;.
void frequencyRangeFromText(const std::string &s)
void endValidTimeFromText(const std::string &s)
std::vector< std::vector< Frequency > > frequencyRange
===&gt; Attribute frequencyRange
std::vector< Frequency > getImageNominalFrequency() const
===&gt; Attribute imageNominalFrequency
void(CalPrimaryBeamRow::* CalPrimaryBeamAttributeFromText)(const std::string &s)
void setDirection(std::vector< Angle > direction)
Set direction with the specified std::vector&lt;Angle &gt;.
EntityRef getBeamDescriptionUID() const
===&gt; Attribute beamDescriptionUID
void numReceptorFromText(const std::string &s)
void setNumSubband(int numSubband)
Set numSubband with the specified int.
Links *binary deserialization material from an EndianIStream std::map< std::string, CalPrimaryBeamAttributeFromBin > fromBinMethods
The CalReductionRow class is a row of a CalReductionTable.
void imageNominalFrequencyFromText(const std::string &s)
void numSubbandFromBin(EndianIStream &eis)
void antennaMakeFromBin(EndianIStream &eis)
std::vector< Angle > getMaxValidDirection() const
===&gt; Attribute maxValidDirection
CalPrimaryBeamRow(CalPrimaryBeamTable &table)
Create a CalPrimaryBeamRow.
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
void imageChannelNumberFromText(const std::string &s)
void beamDescriptionUIDFromBin(EndianIStream &eis)
void setDescriptionType(PrimaryBeamDescriptionMod::PrimaryBeamDescription descriptionType)
Set descriptionType with the specified PrimaryBeamDescriptionMod::PrimaryBeamDescription.
CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
Definition: ArrayTime.h:89
void directionFromBin(EndianIStream &eis)
void maxValidDirectionFromBin(EndianIStream &eis)
CalPrimaryBeamTable & getTable() const
Return the table to which this row belongs.
std::vector< Angle > getDirection() const
===&gt; Attribute direction
void startValidTimeFromText(const std::string &s)
void setAntennaName(std::string antennaName)
Set antennaName with the specified std::string.
int getNumSubband() const
===&gt; Attribute numSubband
void frequencyRangeFromBin(EndianIStream &eis)
std::vector< int > getImageChannelNumber() const
===&gt; Attribute imageChannelNumber
void mainBeamEfficiencyFromBin(EndianIStream &eis)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
Definition: Tag.h:73
Links *CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void directionFromText(const std::string &s)
ReceiverBandMod::ReceiverBand receiverBand
===&gt; Attribute receiverBand
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, AntennaMakeMod::AntennaMake antennaMake, int numSubband, std::vector< std::vector< Frequency > > frequencyRange, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< double > mainBeamEfficiency, EntityRef beamDescriptionUID, float relativeAmplitudeRms, std::vector< Angle > direction, std::vector< Angle > minValidDirection, std::vector< Angle > maxValidDirection, PrimaryBeamDescriptionMod::PrimaryBeamDescription descriptionType, std::vector< int > imageChannelNumber, std::vector< Frequency > imageNominalFrequency)
Compare each mandatory value (i.e.
int getNumReceptor() const
===&gt; Attribute numReceptor
void calDataIdFromBin(EndianIStream &eis)
ReceiverBandMod::ReceiverBand getReceiverBand() const
===&gt; Attribute receiverBand
std::vector< Frequency > imageNominalFrequency
===&gt; Attribute imageNominalFrequency
void relativeAmplitudeRmsFromText(const std::string &s)
std::vector< Angle > getMinValidDirection() const
===&gt; Attribute minValidDirection
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===&gt; Attribute polarizationTypes
void imageNominalFrequencyFromBin(EndianIStream &eis)
bool hasBeenAdded
Whether this row has been added to the table or not.
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
std::vector< Angle > minValidDirection
===&gt; Attribute minValidDirection
bool compareNoAutoInc(std::string antennaName, ReceiverBandMod::ReceiverBand receiverBand, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, AntennaMakeMod::AntennaMake antennaMake, int numSubband, std::vector< std::vector< Frequency > > frequencyRange, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< double > mainBeamEfficiency, EntityRef beamDescriptionUID, float relativeAmplitudeRms, std::vector< Angle > direction, std::vector< Angle > minValidDirection, std::vector< Angle > maxValidDirection, PrimaryBeamDescriptionMod::PrimaryBeamDescription descriptionType, std::vector< int > imageChannelNumber, std::vector< Frequency > imageNominalFrequency)
Compare each mandatory attribute except the autoincrementable one of this CalPrimaryBeamRow with the ...
The CalDataRow class is a row of a CalDataTable.
Definition: CalDataRow.h:130
PrimaryBeamDescriptionMod::PrimaryBeamDescription descriptionType
===&gt; Attribute descriptionType
bool isAdded() const
Has this row been added to its table ?
void setBeamDescriptionUID(EntityRef beamDescriptionUID)
Set beamDescriptionUID with the specified EntityRef.
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
void descriptionTypeFromText(const std::string &s)
int numSubband
===&gt; Attribute numSubband
void setRelativeAmplitudeRms(float relativeAmplitudeRms)
Set relativeAmplitudeRms with the specified float.
ArrayTime startValidTime
===&gt; Attribute startValidTime
void setAntennaMake(AntennaMakeMod::AntennaMake antennaMake)
Set antennaMake with the specified AntennaMakeMod::AntennaMake.
void antennaNameFromBin(EndianIStream &eis)
void minValidDirectionFromText(const std::string &s)
int numReceptor
===&gt; Attribute numReceptor
ArrayTime getStartValidTime() const
===&gt; Attribute startValidTime
void imageChannelNumberFromBin(EndianIStream &eis)
void calReductionIdFromBin(EndianIStream &eis)
void descriptionTypeFromBin(EndianIStream &eis)
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
void endValidTimeFromBin(EndianIStream &eis)
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
std::vector< std::vector< Frequency > > getFrequencyRange() const
===&gt; Attribute frequencyRange
bool equalByRequiredValue(CalPrimaryBeamRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...