34 #ifndef SquareLawDetectorRow_CLASS
35 #define SquareLawDetectorRow_CLASS
84 class SquareLawDetectorRow;
129 Tag getSquareLawDetectorId()
const;
179 DetectorBandTypeMod::DetectorBandType
getBandType()
const;
250 asdmIDL::SquareLawDetectorRowIDL *
toIDL()
const;
259 void toIDL(asdmIDL::SquareLawDetectorRowIDL& x)
const;
268 void setFromIDL (asdmIDL::SquareLawDetectorRowIDL x) ;
275 std::string
toXML()
const;
290 std::map<std::string, SquareLawDetectorAttributeFromBin>
fromBinMethods;
312 void fromText(
const std::string& attributeName,
const std::string& t);
367 Tag squareLawDetectorId;
void bandTypeFromBin(EndianIStream &eis)
virtual ~SquareLawDetectorRow()
friend class asdm::TableStreamReader<SquareLawDetectorTable, SquareLawDetectorRow>; ...
asdmIDL::SquareLawDetectorRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void numBandFromText(const std::string &s)
bool compareRequiredValue(int numBand, DetectorBandTypeMod::DetectorBandType bandType)
Compare each mandatory value (i.e.
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void(SquareLawDetectorRow::* SquareLawDetectorAttributeFromText)(const std::string &s)
bool equalByRequiredValue(SquareLawDetectorRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void setBandType(DetectorBandTypeMod::DetectorBandType bandType)
Set bandType with the specified DetectorBandTypeMod::DetectorBandType.
DetectorBandTypeMod::DetectorBandType getBandType() const
===> Attribute bandType
int getNumBand() const
===> Attribute numBand
bool isAdded() const
Has this row been added to its table ?
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, SquareLawDetectorAttributeFromBin > fromBinMethods
void setSquareLawDetectorId(Tag squareLawDetectorId)
Set squareLawDetectorId with the specified Tag value.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
std::string toXML() const
Return this row in the form of an XML string.
Extrinsic Table Attributes Links *bool compareNoAutoInc(int numBand, DetectorBandTypeMod::DetectorBandType bandType)
Compare each mandatory attribute except the autoincrementable one of this SquareLawDetectorRow with t...
The SquareLawDetectorRow class is a row of a SquareLawDetectorTable.
SquareLawDetectorTable & getTable() const
Return the table to which this row belongs.
SquareLawDetectorRow(SquareLawDetectorTable &table)
Create a SquareLawDetectorRow.
int numBand
===> Attribute numBand
void setFromIDL(asdmIDL::SquareLawDetectorRowIDL x)
Fill the values of this row from the IDL struct SquareLawDetectorRowIDL.
The SquareLawDetectorTable class is an Alma table.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
bool hasBeenAdded
Whether this row has been added to the table or not.
*text deserialization material std::map< std::string, SquareLawDetectorAttributeFromText > fromTextMethods
void setNumBand(int numBand)
Set numBand with the specified int.
void bandTypeFromText(const std::string &s)
void squareLawDetectorIdFromText(const std::string &s)
void numBandFromBin(EndianIStream &eis)
DetectorBandTypeMod::DetectorBandType bandType
===> Attribute bandType
SquareLawDetectorTable & table
The table to which this row belongs.
void(SquareLawDetectorRow::* SquareLawDetectorAttributeFromBin)(EndianIStream &eis)
void squareLawDetectorIdFromBin(EndianIStream &eis)