34 #ifndef HolographyRow_CLASS
35 #define HolographyRow_CLASS
137 Tag getHolographyId()
const;
247 std::vector<HolographyChannelTypeMod::HolographyChannelType >
getType()
const;
259 void setType (std::vector<HolographyChannelTypeMod::HolographyChannelType >
type);
326 asdmIDL::HolographyRowIDL *
toIDL()
const;
335 void toIDL(asdmIDL::HolographyRowIDL& x)
const;
344 void setFromIDL (asdmIDL::HolographyRowIDL x) ;
351 std::string
toXML()
const;
390 void fromText(
const std::string& attributeName,
const std::string& t);
501 std::vector<HolographyChannelTypeMod::HolographyChannelType >
type;
void typeFromBin(EndianIStream &eis)
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, HolographyAttributeFromBin > fromBinMethods
The HolographyRow class is a row of a HolographyTable.
void setType(std::vector< HolographyChannelTypeMod::HolographyChannelType > type)
Set type with the specified std::vector<HolographyChannelTypeMod::HolographyChannelType >...
void setFocus(Length focus)
Set focus with the specified Length.
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void typeFromText(const std::string &s)
std::string toXML() const
Return this row in the form of an XML string.
bool hasBeenAdded
Whether this row has been added to the table or not.
void numCorrFromBin(EndianIStream &eis)
std::vector< HolographyChannelTypeMod::HolographyChannelType > getType() const
===> Attribute type
HolographyTable & getTable() const
Return the table to which this row belongs.
void setDistance(Length distance)
Set distance with the specified Length.
Length getDistance() const
===> Attribute distance
Extrinsic Table Attributes Links *bool compareNoAutoInc(Length distance, Length focus, int numCorr, std::vector< HolographyChannelTypeMod::HolographyChannelType > type)
Compare each mandatory attribute except the autoincrementable one of this HolographyRow with the corr...
void setFromIDL(asdmIDL::HolographyRowIDL x)
Fill the values of this row from the IDL struct HolographyRowIDL.
Length getFocus() const
===> Attribute focus
void(HolographyRow::* HolographyAttributeFromBin)(EndianIStream &eis)
The HolographyTable class is an Alma table.
void(HolographyRow::* HolographyAttributeFromText)(const std::string &s)
The Length class implements a quantity of length in meters.
void distanceFromText(const std::string &s)
virtual ~HolographyRow()
friend class asdm::TableStreamReader<HolographyTable, HolographyRow>;
HolographyRow(HolographyTable &table)
Create a HolographyRow.
void numCorrFromText(const std::string &s)
void focusFromBin(EndianIStream &eis)
bool compareRequiredValue(Length distance, Length focus, int numCorr, std::vector< HolographyChannelTypeMod::HolographyChannelType > type)
Compare each mandatory value (i.e.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
Length distance
===> Attribute distance
void focusFromText(const std::string &s)
bool isAdded() const
Has this row been added to its table ?
*text deserialization material std::map< std::string, HolographyAttributeFromText > fromTextMethods
void setNumCorr(int numCorr)
Set numCorr with the specified int.
void holographyIdFromBin(EndianIStream &eis)
Length focus
===> Attribute focus
HolographyTable & table
The table to which this row belongs.
bool equalByRequiredValue(HolographyRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
std::vector< HolographyChannelTypeMod::HolographyChannelType > type
===> Attribute type
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
asdmIDL::HolographyRowIDL * toIDL() const
Return this row in the form of an IDL struct.
int numCorr
===> Attribute numCorr
void setHolographyId(Tag holographyId)
Set holographyId with the specified Tag value.
void holographyIdFromText(const std::string &s)
int getNumCorr() const
===> Attribute numCorr
void distanceFromBin(EndianIStream &eis)