34 #ifndef AlmaRadiometerRow_CLASS
35 #define AlmaRadiometerRow_CLASS
80 class SpectralWindowRow;
83 class AlmaRadiometerRow;
128 Tag getAlmaRadiometerId()
const;
191 bool isSpectralWindowIdExists()
const;
300 asdmIDL::AlmaRadiometerRowIDL *
toIDL()
const;
309 void toIDL(asdmIDL::AlmaRadiometerRowIDL& x)
const;
318 void setFromIDL (asdmIDL::AlmaRadiometerRowIDL x) ;
325 std::string
toXML()
const;
340 std::map<std::string, AlmaRadiometerAttributeFromBin>
fromBinMethods;
362 void fromText(
const std::string& attributeName,
const std::string& t);
417 Tag almaRadiometerId;
456 bool spectralWindowIdExists;
The AlmaRadiometerRow class is a row of a AlmaRadiometerTable.
void numAntennaFromBin(EndianIStream &eis)
void setNumAntenna(int numAntenna)
Set numAntenna with the specified int.
void clearNumAntenna()
Mark numAntenna, which is an optional field, as non-existent.
bool isAdded() const
Has this row been added to its table ?
The AlmaRadiometerTable class is an Alma table.
bool numAntennaExists
===> Attribute numAntenna, which is optional
void addSpectralWindowId(Tag id)
Append a Tag to spectralWindowId.
*text deserialization material std::map< std::string, AlmaRadiometerAttributeFromText > fromTextMethods
Links *binary deserialization material from an EndianIStream std::map< std::string, AlmaRadiometerAttributeFromBin > fromBinMethods
AlmaRadiometerRow(AlmaRadiometerTable &table)
Create a AlmaRadiometerRow.
void spectralWindowIdFromText(const std::string &s)
void setAlmaRadiometerId(Tag almaRadiometerId)
Set almaRadiometerId with the specified Tag value.
void setSpectralWindowId(std::vector< Tag > spectralWindowId)
Set spectralWindowId with the specified std::vector<Tag> .
void numAntennaFromText(const std::string &s)
void almaRadiometerIdFromBin(EndianIStream &eis)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
int getNumAntenna() const
Get numAntenna, which is optional.
void clearSpectralWindowId()
Mark spectralWindowId, which is an optional field, as non-existent.
std::vector< SpectralWindowRow * > getSpectralWindowsUsingSpectralWindowId()
Returns the vector of SpectralWindowRow* linked to this row via the Tags stored in spectralWindowId...
AlmaRadiometerTable & table
The table to which this row belongs.
asdmIDL::AlmaRadiometerRowIDL * toIDL() const
Return this row in the form of an IDL struct.
std::vector< Tag > getSpectralWindowId() const
Get spectralWindowId, which is optional.
std::string toXML() const
Return this row in the form of an XML string.
void(AlmaRadiometerRow::* AlmaRadiometerAttributeFromBin)(EndianIStream &eis)
SpectralWindowRow * getSpectralWindowUsingSpectralWindowId(int i)
Returns the SpectralWindowRow linked to this row via the tag stored in spectralWindowId at position i...
bool isNumAntennaExists() const
===> Attribute numAntenna, which is optional
bool equalByRequiredValue(AlmaRadiometerRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void setFromIDL(asdmIDL::AlmaRadiometerRowIDL x)
Fill the values of this row from the IDL struct AlmaRadiometerRowIDL.
std::vector< Tag > spectralWindowId
void(AlmaRadiometerRow::* AlmaRadiometerAttributeFromText)(const std::string &s)
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
virtual ~AlmaRadiometerRow()
friend class asdm::TableStreamReader<AlmaRadiometerTable, AlmaRadiometerRow>;
bool hasBeenAdded
Whether this row has been added to the table or not.
The SpectralWindowRow class is a row of a SpectralWindowTable.
void spectralWindowIdFromBin(EndianIStream &eis)
AlmaRadiometerTable & getTable() const
Return the table to which this row belongs.
void almaRadiometerIdFromText(const std::string &s)