110 class SpectralWindowRow;
158 Tag getFlagId()
const;
510 std::vector<std::vector<int > >
getChannel()
const;
866 asdmIDL::FlagRowIDL *
toIDL()
const;
875 void toIDL(asdmIDL::FlagRowIDL& x)
const;
891 std::string
toXML()
const;
939 void fromText(
const std::string& attributeName,
const std::string& t);
1143 std::vector<Tag> antennaId;
ArrayTime startTime
===> Attribute startTime
FlagRow(FlagTable &table)
Create a FlagRow.
bool numPolarizationTypeExists
===> Attribute numPolarizationType, which is optional
std::vector< AntennaRow * > getAntennasUsingPairedAntennaId()
Returns the vector of AntennaRow* linked to this row via the Tags stored in pairedAntennaId.
void numPolarizationTypeFromBin(EndianIStream &eis)
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.
std::vector< Tag > pairedAntennaId
Links *binary deserialization material from an EndianIStream std::map< std::string, FlagAttributeFromBin > fromBinMethods
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
int numAntenna
===> Attribute numAntenna
bool pairedAntennaIdExists
===> Attribute pairedAntennaId, which is optional
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
===> Attribute numSpectralWindow, which is optional
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
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
===> Attribute reason
bool hasBeenAdded
Whether this row has been added to the table or not.
void(FlagRow::* FlagAttributeFromText)(const std::string &s)
void setAntennaId(std::vector< Tag > antennaId)
Set antennaId with the specified std::vector<Tag> .
void(FlagRow::* FlagAttributeFromBin)(EndianIStream &eis)
std::vector< Tag > getSpectralWindowId() const
Get spectralWindowId, which is optional.
void pairedAntennaIdFromBin(EndianIStream &eis)
*text deserialization material std::map< std::string, FlagAttributeFromText > fromTextMethods
void setNumAntenna(int numAntenna)
Set numAntenna with the specified int.
bool isNumPairedAntennaExists() const
===> 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
===> Attribute spectralWindowId, which is optional
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<FlagTable, FlagRow>;
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
===> 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
===> Attribute numSpectralWindow, which is optional
The AntennaRow class is a row of a AntennaTable.
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<std::vector<int > >.
void setFromIDL(asdmIDL::FlagRowIDL x)
Fill the values of this row from the IDL struct FlagRowIDL.
bool isNumChanExists() const
===> Attribute numChan, which is optional
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
void spectralWindowIdFromText(const std::string &s)
ArrayTime getStartTime() const
===> 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
===> Attribute channel, which is optional
bool isSpectralWindowIdExists() const
===> Attribute spectralWindowId, which is optional
void setSpectralWindowId(std::vector< Tag > spectralWindowId)
Set spectralWindowId with the specified std::vector<Tag> .
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void endTimeFromText(const std::string &s)
bool numChanExists
===> Attribute numChan, which is optional
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
===> Attribute endTime
std::vector< PolarizationTypeMod::PolarizationType > polarizationType
void setPolarizationType(std::vector< PolarizationTypeMod::PolarizationType > polarizationType)
Set polarizationType with the specified std::vector<PolarizationTypeMod::PolarizationType >...
ArrayTime getEndTime() const
===> Attribute endTime
void setNumPairedAntenna(int numPairedAntenna)
Set numPairedAntenna with the specified int.
bool numPairedAntennaExists
===> Attribute numPairedAntenna, which is optional
bool isChannelExists() const
===> 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.
std::vector< AntennaRow * > getAntennasUsingAntennaId()
Returns the vector of AntennaRow* linked to this row via the Tags stored in antennaId.
bool isPolarizationTypeExists() const
===> Attribute polarizationType, which is optional
bool isPairedAntennaIdExists() const
===> Attribute pairedAntennaId, which is optional
bool polarizationTypeExists
===> Attribute polarizationType, which is optional
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<Tag> .
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.
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
===> Attribute numPolarizationType, which is optional
void channelFromText(const std::string &s)
void setEndTime(ArrayTime endTime)
Set endTime with the specified ArrayTime.
std::string reason
===> Attribute reason