34 #ifndef ProcessorRow_CLASS
35 #define ProcessorRow_CLASS
133 Tag getProcessorId()
const;
288 asdmIDL::ProcessorRowIDL *
toIDL()
const;
297 void toIDL(asdmIDL::ProcessorRowIDL& x)
const;
306 void setFromIDL (asdmIDL::ProcessorRowIDL x) ;
313 std::string
toXML()
const;
351 void fromText(
const std::string& attributeName,
const std::string& t);
ProcessorSubTypeMod::ProcessorSubType processorSubType
===> Attribute processorSubType
void processorIdFromBin(EndianIStream &eis)
ProcessorSubTypeMod::ProcessorSubType getProcessorSubType() const
===> Attribute processorSubType
void setProcessorType(ProcessorTypeMod::ProcessorType processorType)
Set processorType with the specified ProcessorTypeMod::ProcessorType.
ProcessorTypeMod::ProcessorType getProcessorType() const
===> Attribute processorType
ProcessorTypeMod::ProcessorType processorType
===> Attribute processorType
bool equalByRequiredValue(ProcessorRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
bool compareRequiredValue(Tag modeId, ProcessorTypeMod::ProcessorType processorType, ProcessorSubTypeMod::ProcessorSubType processorSubType)
Compare each mandatory value (i.e.
void setModeId(Tag modeId)
Set modeId with the specified Tag.
Tag modeId
===> Attribute modeId
void processorSubTypeFromText(const std::string &s)
bool hasBeenAdded
Whether this row has been added to the table or not.
void modeIdFromText(const std::string &s)
bool isAdded() const
Has this row been added to its table ?
void setFromIDL(asdmIDL::ProcessorRowIDL x)
Fill the values of this row from the IDL struct ProcessorRowIDL.
void(ProcessorRow::* ProcessorAttributeFromText)(const std::string &s)
ProcessorTable & getTable() const
Return the table to which this row belongs.
void processorTypeFromText(const std::string &s)
The ProcessorTable class is an Alma table.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
ProcessorRow(ProcessorTable &table)
Create a ProcessorRow.
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void(ProcessorRow::* ProcessorAttributeFromBin)(EndianIStream &eis)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void setProcessorSubType(ProcessorSubTypeMod::ProcessorSubType processorSubType)
Set processorSubType with the specified ProcessorSubTypeMod::ProcessorSubType.
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, ProcessorAttributeFromBin > fromBinMethods
std::string toXML() const
Return this row in the form of an XML string.
Extrinsic Table Attributes Links *bool compareNoAutoInc(Tag modeId, ProcessorTypeMod::ProcessorType processorType, ProcessorSubTypeMod::ProcessorSubType processorSubType)
Compare each mandatory attribute except the autoincrementable one of this ProcessorRow with the corre...
virtual ~ProcessorRow()
friend class asdm::TableStreamReader<ProcessorTable, ProcessorRow>;
asdmIDL::ProcessorRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void processorTypeFromBin(EndianIStream &eis)
Tag getModeId() const
===> Attribute modeId
void setProcessorId(Tag processorId)
Set processorId with the specified Tag value.
void processorSubTypeFromBin(EndianIStream &eis)
ProcessorTable & table
The table to which this row belongs.
void modeIdFromBin(EndianIStream &eis)
The ProcessorRow class is a row of a ProcessorTable.
void processorIdFromText(const std::string &s)
*text deserialization material std::map< std::string, ProcessorAttributeFromText > fromTextMethods