34 #ifndef DataDescriptionRow_CLASS
35 #define DataDescriptionRow_CLASS
78 class PolarizationRow;
84 class SpectralWindowRow;
89 class DataDescriptionRow;
134 Tag getDataDescriptionId()
const;
158 Tag getPolOrHoloId()
const;
214 bool isPulsarIdExists()
const;
319 asdmIDL::DataDescriptionRowIDL *
toIDL()
const;
328 void toIDL(asdmIDL::DataDescriptionRowIDL& x)
const;
337 void setFromIDL (asdmIDL::DataDescriptionRowIDL x) ;
344 std::string
toXML()
const;
359 std::map<std::string, DataDescriptionAttributeFromBin>
fromBinMethods;
381 void fromText(
const std::string& attributeName,
const std::string& t);
436 Tag dataDescriptionId;
void setFromIDL(asdmIDL::DataDescriptionRowIDL x)
Fill the values of this row from the IDL struct DataDescriptionRowIDL.
*text deserialization material std::map< std::string, DataDescriptionAttributeFromText > fromTextMethods
bool hasBeenAdded
Whether this row has been added to the table or not.
void dataDescriptionIdFromBin(EndianIStream &eis)
Tag getSpectralWindowId() const
===> Attribute spectralWindowId
Links *PolarizationRow * getPolarizationUsingPolOrHoloId()
Returns pointer to the row in the Polarization table having Polarization.polarizationId == polOrHoloI...
DataDescriptionRow(DataDescriptionTable &table)
Create a DataDescriptionRow.
void clearPulsarId()
Mark pulsarId, which is an optional field, as non-existent.
void polOrHoloIdFromBin(EndianIStream &eis)
void setPulsarId(Tag pulsarId)
Set pulsarId with the specified Tag.
The HolographyRow class is a row of a HolographyTable.
void pulsarIdFromText(const std::string &s)
Tag getPulsarId() const
Get pulsarId, which is optional.
DataDescriptionTable & getTable() const
Return the table to which this row belongs.
The DataDescriptionTable class is an Alma table.
PulsarRow * getPulsarUsingPulsarId()
pulsarId pointer to the row in the Pulsar table having Pulsar.pulsarId == pulsarId ...
void pulsarIdFromBin(EndianIStream &eis)
bool isAdded() const
Has this row been added to its table ?
void setPolOrHoloId(Tag polOrHoloId)
Set polOrHoloId with the specified Tag.
void(DataDescriptionRow::* DataDescriptionAttributeFromText)(const std::string &s)
bool compareRequiredValue(Tag polOrHoloId, Tag spectralWindowId)
Compare each mandatory value (i.e.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
Tag spectralWindowId
===> Attribute spectralWindowId
void setDataDescriptionId(Tag dataDescriptionId)
Set dataDescriptionId with the specified Tag value.
asdmIDL::DataDescriptionRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void dataDescriptionIdFromText(const std::string &s)
void spectralWindowIdFromBin(EndianIStream &eis)
The PulsarRow class is a row of a PulsarTable.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
bool equalByRequiredValue(DataDescriptionRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
The DataDescriptionRow class is a row of a DataDescriptionTable.
bool compareNoAutoInc(Tag polOrHoloId, Tag spectralWindowId)
Compare each mandatory attribute except the autoincrementable one of this DataDescriptionRow with the...
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
SpectralWindowRow * getSpectralWindowUsingSpectralWindowId()
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
bool pulsarIdExists
===> Attribute pulsarId, which is optional
The PolarizationRow class is a row of a PolarizationTable.
void polOrHoloIdFromText(const std::string &s)
void spectralWindowIdFromText(const std::string &s)
DataDescriptionTable & table
The table to which this row belongs.
The SpectralWindowRow class is a row of a SpectralWindowTable.
std::string toXML() const
Return this row in the form of an XML string.
Links *binary deserialization material from an EndianIStream std::map< std::string, DataDescriptionAttributeFromBin > fromBinMethods
virtual ~DataDescriptionRow()
friend class asdm::TableStreamReader<DataDescriptionTable, DataDescriptionRow>;
HolographyRow * getHolographyUsingPolOrHoloId()
Returns pointer to the row in the Holograpy table having Holography.holographyId == polOrHoloId...
void setSpectralWindowId(Tag spectralWindowId)
Set spectralWindowId with the specified Tag.
void(DataDescriptionRow::* DataDescriptionAttributeFromBin)(EndianIStream &eis)