34 #ifndef DopplerRow_CLASS
35 #define DopplerRow_CLASS
128 int getDopplerId()
const;
178 DopplerReferenceCodeMod::DopplerReferenceCode
getVelDef()
const;
212 int getSourceId()
const;
248 std::vector <SourceRow *> getSources();
300 asdmIDL::DopplerRowIDL *
toIDL()
const;
309 void toIDL(asdmIDL::DopplerRowIDL& x)
const;
325 std::string
toXML()
const;
363 void fromText(
const std::string& attributeName,
const std::string& t);
452 DopplerReferenceCodeMod::DopplerReferenceCode
velDef;
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void sourceIdFromBin(EndianIStream &eis)
asdmIDL::DopplerRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void dopplerIdFromBin(EndianIStream &eis)
DopplerRow(DopplerTable &table)
Create a DopplerRow.
DopplerTable & table
The table to which this row belongs.
void setVelDef(DopplerReferenceCodeMod::DopplerReferenceCode velDef)
Set velDef with the specified DopplerReferenceCodeMod::DopplerReferenceCode.
The DopplerRow class is a row of a DopplerTable.
bool compareNoAutoInc(int sourceId, int transitionIndex, DopplerReferenceCodeMod::DopplerReferenceCode velDef)
Compare each mandatory attribute except the autoincrementable one of this DopplerRow with the corresp...
void(DopplerRow::* DopplerAttributeFromText)(const std::string &s)
void sourceIdFromText(const std::string &s)
void setSourceId(int sourceId)
Set sourceId with the specified int.
DopplerTable & getTable() const
Return the table to which this row belongs.
DopplerReferenceCodeMod::DopplerReferenceCode velDef
===> Attribute velDef
void setFromIDL(asdmIDL::DopplerRowIDL x)
Fill the values of this row from the IDL struct DopplerRowIDL.
void velDefFromText(const std::string &s)
int transitionIndex
===> Attribute transitionIndex
virtual ~DopplerRow()
friend class asdm::TableStreamReader<DopplerTable, DopplerRow>;
void setDopplerId(int dopplerId)
Set dopplerId with the specified int value.
DopplerReferenceCodeMod::DopplerReferenceCode getVelDef() const
===> Attribute velDef
bool equalByRequiredValue(DopplerRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
bool compareRequiredValue(int transitionIndex, DopplerReferenceCodeMod::DopplerReferenceCode velDef)
Compare each mandatory value (i.e.
void transitionIndexFromText(const std::string &s)
Links *binary deserialization material from an EndianIStream std::map< std::string, DopplerAttributeFromBin > fromBinMethods
void velDefFromBin(EndianIStream &eis)
void dopplerIdFromText(const std::string &s)
int getTransitionIndex() const
===> Attribute transitionIndex
*text deserialization material std::map< std::string, DopplerAttributeFromText > fromTextMethods
std::string toXML() const
Return this row in the form of an XML string.
void setTransitionIndex(int transitionIndex)
Set transitionIndex with the specified int.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
bool hasBeenAdded
Whether this row has been added to the table or not.
The DopplerTable class is an Alma table.
bool isAdded() const
Has this row been added to its table ?
void(DopplerRow::* DopplerAttributeFromBin)(EndianIStream &eis)
void transitionIndexFromBin(EndianIStream &eis)