34 #ifndef ObservationRow_CLASS
35 #define ObservationRow_CLASS
123 Tag getObservationId()
const;
161 asdmIDL::ObservationRowIDL *
toIDL()
const;
170 void toIDL(asdmIDL::ObservationRowIDL& x)
const;
179 void setFromIDL (asdmIDL::ObservationRowIDL x) ;
186 std::string
toXML()
const;
201 std::map<std::string, ObservationAttributeFromBin>
fromBinMethods;
221 void fromText(
const std::string& attributeName,
const std::string& t);
void(ObservationRow::* ObservationAttributeFromBin)(EndianIStream &eis)
*text deserialization material std::map< std::string, ObservationAttributeFromText > fromTextMethods
void setFromIDL(asdmIDL::ObservationRowIDL x)
Fill the values of this row from the IDL struct ObservationRowIDL.
void observationIdFromBin(EndianIStream &eis)
bool hasBeenAdded
Whether this row has been added to the table or not.
Extrinsic Table Attributes Links *bool equalByRequiredValue(ObservationRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
std::string toXML() const
Return this row in the form of an XML string.
void observationIdFromText(const std::string &s)
virtual ~ObservationRow()
friend class asdm::TableStreamReader<ObservationTable, ObservationRow>;
asdmIDL::ObservationRowIDL * toIDL() const
Return this row in the form of an IDL struct.
The ObservationTable class is an Alma table.
bool isAdded() const
Has this row been added to its table ?
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void setObservationId(Tag observationId)
Set observationId with the specified Tag value.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
ObservationRow(ObservationTable &table)
Create a ObservationRow.
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, ObservationAttributeFromBin > fromBinMethods
ObservationTable & getTable() const
Return the table to which this row belongs.
The ObservationRow class is a row of a ObservationTable.
void(ObservationRow::* ObservationAttributeFromText)(const std::string &s)
ObservationTable & table
The table to which this row belongs.