casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FlagRow.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 FlagRow.h
32  */
33 
34 #ifndef FlagRow_CLASS
35 #define FlagRow_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/ArrayTime.h>
52 
53 
54 
55 #include <alma/ASDM/Tag.h>
56 
57 
58 
59 
60 
61 
62 
63 
64 
65 
66 
67 
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 
78 
79 
81 
82 
83 
84 
85 
86 
88 #include <alma/ASDM/NoSuchRow.h>
90 
92 //#include <alma/ASDM/TableStreamReader.h>
93 
94 /*\file Flag.h
95  \brief Generated from model's revision "-1", branch ""
96 */
97 
98 namespace asdm {
99 
100 //class asdm::FlagTable;
101 
102 
103 // class asdm::AntennaRow;
104 class AntennaRow;
105 
106 // class asdm::AntennaRow;
107 class AntennaRow;
108 
109 // class asdm::SpectralWindowRow;
110 class SpectralWindowRow;
111 
112 
113 class FlagRow;
115 typedef void (FlagRow::*FlagAttributeFromText) (const std::string& s);
116 
123 class FlagRow {
124 friend class asdm::FlagTable;
126 //friend class asdm::TableStreamReader<FlagTable, FlagRow>;
127 
128 public:
129 
130  virtual ~FlagRow();
131 
135  FlagTable &getTable() const;
136 
141  bool isAdded() const;
142 
144  // Intrinsic Table Attributes //
146 
147 
148  // ===> Attribute flagId
149 
150 
151 
152 
153 
158  Tag getFlagId() const;
159 
160 
161 
162 
163 
164 
165 
166 
167 
168  // ===> Attribute startTime
169 
170 
171 
172 
173 
178  ArrayTime getStartTime() const;
179 
180 
181 
182 
191 
192 
193 
194 
195 
196 
197 
198  // ===> Attribute endTime
199 
200 
201 
202 
203 
208  ArrayTime getEndTime() const;
209 
210 
211 
212 
221 
222 
223 
224 
225 
226 
227 
228  // ===> Attribute reason
229 
230 
231 
232 
233 
238  std::string getReason() const;
239 
240 
241 
242 
250  void setReason (std::string reason);
251 
252 
253 
254 
255 
256 
257 
258  // ===> Attribute numAntenna
259 
260 
261 
262 
263 
268  int getNumAntenna() const;
269 
270 
271 
272 
280  void setNumAntenna (int numAntenna);
281 
282 
283 
284 
285 
286 
287 
288  // ===> Attribute numPolarizationType, which is optional
289 
290 
291 
296  bool isNumPolarizationTypeExists() const;
297 
298 
299 
305  int getNumPolarizationType() const;
306 
307 
308 
309 
317 
318 
319 
320 
324  void clearNumPolarizationType ();
325 
326 
327 
328 
329  // ===> Attribute numSpectralWindow, which is optional
330 
331 
332 
337  bool isNumSpectralWindowExists() const;
338 
339 
340 
346  int getNumSpectralWindow() const;
347 
348 
349 
350 
358 
359 
360 
361 
365  void clearNumSpectralWindow ();
366 
367 
368 
369 
370  // ===> Attribute numPairedAntenna, which is optional
371 
372 
373 
378  bool isNumPairedAntennaExists() const;
379 
380 
381 
387  int getNumPairedAntenna() const;
388 
389 
390 
391 
399 
400 
401 
402 
406  void clearNumPairedAntenna ();
407 
408 
409 
410 
411  // ===> Attribute numChan, which is optional
412 
413 
414 
419  bool isNumChanExists() const;
420 
421 
422 
428  int getNumChan() const;
429 
430 
431 
432 
439  void setNumChan (int numChan);
440 
441 
442 
443 
447  void clearNumChan ();
448 
449 
450 
451 
452  // ===> Attribute polarizationType, which is optional
453 
454 
455 
460  bool isPolarizationTypeExists() const;
461 
462 
463 
469  std::vector<PolarizationTypeMod::PolarizationType > getPolarizationType() const;
470 
471 
472 
473 
480  void setPolarizationType (std::vector<PolarizationTypeMod::PolarizationType > polarizationType);
481 
482 
483 
484 
488  void clearPolarizationType ();
489 
490 
491 
492 
493  // ===> Attribute channel, which is optional
494 
495 
496 
501  bool isChannelExists() const;
502 
503 
504 
510  std::vector<std::vector<int > > getChannel() const;
511 
512 
513 
514 
521  void setChannel (std::vector<std::vector<int > > channel);
522 
523 
524 
525 
529  void clearChannel ();
530 
531 
532 
534  // Extrinsic Table Attributes //
536 
537 
538  // ===> Attribute antennaId
539 
540 
541 
542 
543 
548  std::vector<Tag> getAntennaId() const;
549 
550 
551 
552 
560  void setAntennaId (std::vector<Tag> antennaId);
561 
562 
563 
564 
565 
566 
567 
568  // ===> Attribute pairedAntennaId, which is optional
569 
570 
571 
576  bool isPairedAntennaIdExists() const;
577 
578 
579 
585  std::vector<Tag> getPairedAntennaId() const;
586 
587 
588 
589 
596  void setPairedAntennaId (std::vector<Tag> pairedAntennaId);
597 
598 
599 
600 
604  void clearPairedAntennaId ();
605 
606 
607 
608 
609  // ===> Attribute spectralWindowId, which is optional
610 
611 
612 
617  bool isSpectralWindowIdExists() const;
618 
619 
620 
626  std::vector<Tag> getSpectralWindowId() const;
627 
628 
629 
630 
637  void setSpectralWindowId (std::vector<Tag> spectralWindowId);
638 
639 
640 
641 
645  void clearSpectralWindowId ();
646 
647 
648 
650  // Links //
652 
653 
654 
662  void setAntennaId (int i, Tag antennaId);
663 
664 
665 
666 
667 
672  void addAntennaId(Tag id);
673 
678  void addAntennaId(const std::vector<Tag> & id);
679 
680 
686  const Tag getAntennaId(int i);
687 
696 
701  std::vector<AntennaRow *> getAntennasUsingAntennaId();
702 
703 
704 
705 
706 
707 
714  void setPairedAntennaId (int i, Tag pairedAntennaId) ;
715 
716 
717 
718 
719 
724  void addPairedAntennaId(Tag id);
725 
730  void addPairedAntennaId(const std::vector<Tag> & id);
731 
732 
738  const Tag getPairedAntennaId(int i);
739 
748 
753  std::vector<AntennaRow *> getAntennasUsingPairedAntennaId();
754 
755 
756 
757 
758 
759 
767 
768 
769 
770 
771 
776  void addSpectralWindowId(Tag id);
777 
782  void addSpectralWindowId(const std::vector<Tag> & id);
783 
784 
790  const Tag getSpectralWindowId(int i);
791 
800 
805  std::vector<SpectralWindowRow *> getSpectralWindowsUsingSpectralWindowId();
806 
807 
808 
809 
810 
811 
812 
828  bool compareNoAutoInc(ArrayTime startTime, ArrayTime endTime, std::string reason, int numAntenna, std::vector<Tag> antennaId);
829 
830 
831 
832 
848  bool compareRequiredValue(ArrayTime startTime, ArrayTime endTime, std::string reason, int numAntenna, std::vector<Tag> antennaId);
849 
850 
859  bool equalByRequiredValue(FlagRow* x) ;
860 
861 #ifndef WITHOUT_ACS
862 
866  asdmIDL::FlagRowIDL *toIDL() const;
867 
875  void toIDL(asdmIDL::FlagRowIDL& x) const;
876 #endif
877 
878 #ifndef WITHOUT_ACS
879 
884  void setFromIDL (asdmIDL::FlagRowIDL x) ;
885 #endif
886 
891  std::string toXML() const;
892 
899  void setFromXML (std::string rowDoc) ;
900 
903  // binary-deserialization material from an EndianIStream //
905 
906  std::map<std::string, FlagAttributeFromBin> fromBinMethods;
907 void flagIdFromBin( EndianIStream& eis);
908 void startTimeFromBin( EndianIStream& eis);
909 void endTimeFromBin( EndianIStream& eis);
910 void reasonFromBin( EndianIStream& eis);
911 void numAntennaFromBin( EndianIStream& eis);
912 void antennaIdFromBin( EndianIStream& eis);
913 
917 void numChanFromBin( EndianIStream& eis);
919 void channelFromBin( EndianIStream& eis);
922 
923 
931  static FlagRow* fromBin(EndianIStream& eis, FlagTable& table, const std::vector<std::string>& attributesSeq);
932 
939  void fromText(const std::string& attributeName, const std::string& t);
941 
942 private:
951 
952  // This method is used by the Table class when this row is added to the table.
953  void isAdded(bool added);
954 
955 
965 
983  FlagRow (FlagTable &table, FlagRow *row);
984 
986  // Intrinsic Table Attributes //
988 
989 
990  // ===> Attribute flagId
991 
992 
993 
994  Tag flagId;
995 
996 
997 
998 
1008  void setFlagId (Tag flagId);
1009 
1010 
1011 
1012 
1013  // ===> Attribute startTime
1014 
1015 
1016 
1018 
1019 
1020 
1021 
1022 
1023 
1024  // ===> Attribute endTime
1025 
1026 
1027 
1029 
1030 
1031 
1032 
1033 
1034 
1035  // ===> Attribute reason
1036 
1037 
1038 
1039  std::string reason;
1040 
1041 
1042 
1043 
1044 
1045 
1046  // ===> Attribute numAntenna
1047 
1048 
1049 
1051 
1052 
1053 
1054 
1055 
1056 
1057  // ===> Attribute numPolarizationType, which is optional
1058 
1059 
1061 
1062 
1064 
1065 
1066 
1067 
1068 
1069 
1070  // ===> Attribute numSpectralWindow, which is optional
1071 
1072 
1074 
1075 
1077 
1078 
1079 
1080 
1081 
1082 
1083  // ===> Attribute numPairedAntenna, which is optional
1084 
1085 
1087 
1088 
1090 
1091 
1092 
1093 
1094 
1095 
1096  // ===> Attribute numChan, which is optional
1097 
1098 
1100 
1101 
1102  int numChan;
1103 
1104 
1105 
1106 
1107 
1108 
1109  // ===> Attribute polarizationType, which is optional
1110 
1111 
1113 
1114 
1115  std::vector<PolarizationTypeMod::PolarizationType > polarizationType;
1116 
1117 
1118 
1119 
1120 
1121 
1122  // ===> Attribute channel, which is optional
1123 
1124 
1126 
1127 
1128  std::vector<std::vector<int > > channel;
1129 
1130 
1131 
1132 
1133 
1135  // Extrinsic Table Attributes //
1137 
1138 
1139  // ===> Attribute antennaId
1140 
1141 
1142 
1143  std::vector<Tag> antennaId;
1144 
1145 
1146 
1147 
1148 
1149 
1150  // ===> Attribute pairedAntennaId, which is optional
1151 
1152 
1154 
1155 
1156  std::vector<Tag> pairedAntennaId;
1157 
1158 
1159 
1160 
1161 
1162 
1163  // ===> Attribute spectralWindowId, which is optional
1164 
1165 
1167 
1168 
1169  std::vector<Tag> spectralWindowId;
1170 
1171 
1172 
1173 
1174 
1176  // Links //
1178 
1179 
1180 
1181 
1182 
1183 
1184 
1185 
1186 
1187 
1188 
1189 
1190 
1191 
1192 
1193 
1194 
1195 
1196 
1197 
1198 /*
1200  // binary-deserialization material from an EndianIStream //
1202  std::map<std::string, FlagAttributeFromBin> fromBinMethods;
1203 void flagIdFromBin( EndianIStream& eis);
1204 void startTimeFromBin( EndianIStream& eis);
1205 void endTimeFromBin( EndianIStream& eis);
1206 void reasonFromBin( EndianIStream& eis);
1207 void numAntennaFromBin( EndianIStream& eis);
1208 void antennaIdFromBin( EndianIStream& eis);
1209 
1210 void numPolarizationTypeFromBin( EndianIStream& eis);
1211 void numSpectralWindowFromBin( EndianIStream& eis);
1212 void numPairedAntennaFromBin( EndianIStream& eis);
1213 void numChanFromBin( EndianIStream& eis);
1214 void polarizationTypeFromBin( EndianIStream& eis);
1215 void channelFromBin( EndianIStream& eis);
1216 void pairedAntennaIdFromBin( EndianIStream& eis);
1217 void spectralWindowIdFromBin( EndianIStream& eis);
1218 
1219 */
1220 
1222  // text-deserialization material //
1224  std::map<std::string, FlagAttributeFromText> fromTextMethods;
1225 
1226 void flagIdFromText (const std::string & s);
1227 
1228 
1229 void startTimeFromText (const std::string & s);
1230 
1231 
1232 void endTimeFromText (const std::string & s);
1233 
1234 
1235 void reasonFromText (const std::string & s);
1236 
1237 
1238 void numAntennaFromText (const std::string & s);
1239 
1240 
1241 void antennaIdFromText (const std::string & s);
1242 
1243 
1244 
1245 void numPolarizationTypeFromText (const std::string & s);
1246 
1247 
1248 void numSpectralWindowFromText (const std::string & s);
1249 
1250 
1251 void numPairedAntennaFromText (const std::string & s);
1252 
1253 
1254 void numChanFromText (const std::string & s);
1255 
1256 
1257 void polarizationTypeFromText (const std::string & s);
1258 
1259 
1260 void channelFromText (const std::string & s);
1261 
1262 
1263 void pairedAntennaIdFromText (const std::string & s);
1264 
1265 
1266 void spectralWindowIdFromText (const std::string & s);
1267 
1268 
1269 
1274  void toBin(EndianOSStream& eoss);
1275 
1285 };
1286 
1287 } // End namespace asdm
1288 
1289 #endif /* Flag_CLASS */
ArrayTime startTime
===&gt; Attribute startTime
Definition: FlagRow.h:1017
FlagRow(FlagTable &table)
Create a FlagRow.
bool numPolarizationTypeExists
===&gt; Attribute numPolarizationType, which is optional
Definition: FlagRow.h:1060
std::vector< AntennaRow * > getAntennasUsingPairedAntennaId()
Returns the vector of AntennaRow* linked to this row via the Tags stored in pairedAntennaId.
void numPolarizationTypeFromBin(EndianIStream &eis)
int numSpectralWindow
Definition: FlagRow.h:1076
std::vector< std::vector< int > > getChannel() const
Get channel, which is optional.
int getNumPairedAntenna() const
Get numPairedAntenna, which is optional.
void numChanFromBin(EndianIStream &eis)
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationType() const
Get polarizationType, which is optional.
void numSpectralWindowFromText(const std::string &s)
std::vector< SpectralWindowRow * > getSpectralWindowsUsingSpectralWindowId()
Returns the vector of SpectralWindowRow* linked to this row via the Tags stored in spectralWindowId...
void clearNumSpectralWindow()
Mark numSpectralWindow, which is an optional field, as non-existent.
FlagTable & table
The table to which this row belongs.
Definition: FlagRow.h:946
std::vector< Tag > pairedAntennaId
Definition: FlagRow.h:1156
Links *binary deserialization material from an EndianIStream std::map< std::string, FlagAttributeFromBin > fromBinMethods
Definition: FlagRow.h:1202
FlagTable & getTable() const
Return the table to which this row belongs.
void pairedAntennaIdFromText(const std::string &s)
void clearPairedAntennaId()
Mark pairedAntennaId, which is an optional field, as non-existent.
SpectralWindowRow * getSpectralWindowUsingSpectralWindowId(int i)
Returns the SpectralWindowRow linked to this row via the tag stored in spectralWindowId at position i...
std::vector< std::vector< int > > channel
Definition: FlagRow.h:1128
int numAntenna
===&gt; Attribute numAntenna
Definition: FlagRow.h:1050
bool pairedAntennaIdExists
===&gt; Attribute pairedAntennaId, which is optional
Definition: FlagRow.h:1153
void startTimeFromText(const std::string &s)
void endTimeFromBin(EndianIStream &eis)
const Tag getAntennaId(int i)
Returns the Tag stored in antennaId at position i.
void polarizationTypeFromBin(EndianIStream &eis)
void flagIdFromBin(EndianIStream &eis)
int getNumChan() const
Get numChan, which is optional.
bool numSpectralWindowExists
===&gt; Attribute numSpectralWindow, which is optional
Definition: FlagRow.h:1073
bool isAdded() const
Has this row been added to its table ?
void clearNumChan()
Mark numChan, which is an optional field, as non-existent.
void clearSpectralWindowId()
Mark spectralWindowId, which is an optional field, as non-existent.
std::string toXML() const
Return this row in the form of an XML string.
std::vector< Tag > spectralWindowId
Definition: FlagRow.h:1169
void setNumChan(int numChan)
Set numChan with the specified int.
void setFlagId(Tag flagId)
Set flagId with the specified Tag value.
std::string getReason() const
===&gt; Attribute reason
bool hasBeenAdded
Whether this row has been added to the table or not.
Definition: FlagRow.h:950
void(FlagRow::* FlagAttributeFromText)(const std::string &s)
Definition: FlagRow.h:115
void setAntennaId(std::vector< Tag > antennaId)
Set antennaId with the specified std::vector&lt;Tag&gt; .
void(FlagRow::* FlagAttributeFromBin)(EndianIStream &eis)
Definition: FlagRow.h:114
std::vector< Tag > getSpectralWindowId() const
Get spectralWindowId, which is optional.
void pairedAntennaIdFromBin(EndianIStream &eis)
*text deserialization material std::map< std::string, FlagAttributeFromText > fromTextMethods
Definition: FlagRow.h:1224
void setNumAntenna(int numAntenna)
Set numAntenna with the specified int.
bool isNumPairedAntennaExists() const
===&gt; Attribute numPairedAntenna, which is optional
void numAntennaFromText(const std::string &s)
void clearNumPolarizationType()
Mark numPolarizationType, which is an optional field, as non-existent.
void spectralWindowIdFromBin(EndianIStream &eis)
void numPairedAntennaFromText(const std::string &s)
void channelFromBin(EndianIStream &eis)
void clearChannel()
Mark channel, which is an optional field, as non-existent.
bool spectralWindowIdExists
===&gt; Attribute spectralWindowId, which is optional
Definition: FlagRow.h:1166
void polarizationTypeFromText(const std::string &s)
void antennaIdFromBin(EndianIStream &eis)
void addPairedAntennaId(Tag id)
Append a Tag to pairedAntennaId.
virtual ~FlagRow()
friend class asdm::TableStreamReader&lt;FlagTable, FlagRow&gt;;
bool compareNoAutoInc(ArrayTime startTime, ArrayTime endTime, std::string reason, int numAntenna, std::vector< Tag > antennaId)
Compare each mandatory attribute except the autoincrementable one of this FlagRow with the correspond...
int getNumAntenna() const
===&gt; Attribute numAntenna
int getNumSpectralWindow() const
Get numSpectralWindow, which is optional.
void numChanFromText(const std::string &s)
void flagIdFromText(const std::string &s)
void numPairedAntennaFromBin(EndianIStream &eis)
void addAntennaId(Tag id)
Append a Tag to antennaId.
AntennaRow * getAntennaUsingPairedAntennaId(int i)
Returns the AntennaRow linked to this row via the tag stored in pairedAntennaId at position i...
bool isNumSpectralWindowExists() const
===&gt; Attribute numSpectralWindow, which is optional
The AntennaRow class is a row of a AntennaTable.
Definition: AntennaRow.h:120
bool compareRequiredValue(ArrayTime startTime, ArrayTime endTime, std::string reason, int numAntenna, std::vector< Tag > antennaId)
Compare each mandatory value (i.e.
void clearNumPairedAntenna()
Mark numPairedAntenna, which is an optional field, as non-existent.
void setChannel(std::vector< std::vector< int > > channel)
Set channel with the specified std::vector&lt;std::vector&lt;int &gt; &gt;.
void setFromIDL(asdmIDL::FlagRowIDL x)
Fill the values of this row from the IDL struct FlagRowIDL.
bool isNumChanExists() const
===&gt; Attribute numChan, which is optional
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
Definition: ArrayTime.h:89
void spectralWindowIdFromText(const std::string &s)
ArrayTime getStartTime() const
===&gt; Attribute startTime
asdmIDL::FlagRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void setNumPolarizationType(int numPolarizationType)
Set numPolarizationType with the specified int.
std::vector< Tag > getPairedAntennaId() const
Get pairedAntennaId, which is optional.
bool channelExists
===&gt; Attribute channel, which is optional
Definition: FlagRow.h:1125
bool isSpectralWindowIdExists() const
===&gt; Attribute spectralWindowId, which is optional
void setSpectralWindowId(std::vector< Tag > spectralWindowId)
Set spectralWindowId with the specified std::vector&lt;Tag&gt; .
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
Definition: Tag.h:73
void endTimeFromText(const std::string &s)
bool numChanExists
===&gt; Attribute numChan, which is optional
Definition: FlagRow.h:1099
void setReason(std::string reason)
Set reason with the specified std::string.
void setNumSpectralWindow(int numSpectralWindow)
Set numSpectralWindow with the specified int.
void numSpectralWindowFromBin(EndianIStream &eis)
ArrayTime endTime
===&gt; Attribute endTime
Definition: FlagRow.h:1028
std::vector< PolarizationTypeMod::PolarizationType > polarizationType
Definition: FlagRow.h:1115
void setPolarizationType(std::vector< PolarizationTypeMod::PolarizationType > polarizationType)
Set polarizationType with the specified std::vector&lt;PolarizationTypeMod::PolarizationType &gt;...
ArrayTime getEndTime() const
===&gt; Attribute endTime
void setNumPairedAntenna(int numPairedAntenna)
Set numPairedAntenna with the specified int.
bool numPairedAntennaExists
===&gt; Attribute numPairedAntenna, which is optional
Definition: FlagRow.h:1086
bool isChannelExists() const
===&gt; Attribute channel, which is optional
int getNumPolarizationType() const
Get numPolarizationType, which is optional.
void clearPolarizationType()
Mark polarizationType, which is an optional field, as non-existent.
The FlagRow class is a row of a FlagTable.
Definition: FlagRow.h:123
std::vector< AntennaRow * > getAntennasUsingAntennaId()
Returns the vector of AntennaRow* linked to this row via the Tags stored in antennaId.
bool isPolarizationTypeExists() const
===&gt; Attribute polarizationType, which is optional
bool isPairedAntennaIdExists() const
===&gt; Attribute pairedAntennaId, which is optional
bool polarizationTypeExists
===&gt; Attribute polarizationType, which is optional
Definition: FlagRow.h:1112
void antennaIdFromText(const std::string &s)
void numPolarizationTypeFromText(const std::string &s)
void numAntennaFromBin(EndianIStream &eis)
void setStartTime(ArrayTime startTime)
Set startTime with the specified ArrayTime.
void startTimeFromBin(EndianIStream &eis)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void setPairedAntennaId(std::vector< Tag > pairedAntennaId)
Set pairedAntennaId with the specified std::vector&lt;Tag&gt; .
bool equalByRequiredValue(FlagRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
The SpectralWindowRow class is a row of a SpectralWindowTable.
The FlagTable class is an Alma table.
Definition: FlagTable.h:234
int numPairedAntenna
Definition: FlagRow.h:1089
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
AntennaRow * getAntennaUsingAntennaId(int i)
Returns the AntennaRow linked to this row via the tag stored in antennaId at position i...
void reasonFromText(const std::string &s)
void reasonFromBin(EndianIStream &eis)
void addSpectralWindowId(Tag id)
Append a Tag to spectralWindowId.
bool isNumPolarizationTypeExists() const
===&gt; Attribute numPolarizationType, which is optional
void channelFromText(const std::string &s)
int numPolarizationType
Definition: FlagRow.h:1063
void setEndTime(ArrayTime endTime)
Set endTime with the specified ArrayTime.
std::string reason
===&gt; Attribute reason
Definition: FlagRow.h:1039