34 #ifndef FlagCmdRow_CLASS
35 #define FlagCmdRow_CLASS
406 asdmIDL::FlagCmdRowIDL *
toIDL()
const;
415 void toIDL(asdmIDL::FlagCmdRowIDL& x)
const;
431 std::string
toXML()
const;
472 void fromText(
const std::string& attributeName,
const std::string& t);
asdmIDL::FlagCmdRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void(FlagCmdRow::* FlagCmdAttributeFromBin)(EndianIStream &eis)
bool compareRequiredValue(std::string type, std::string reason, int level, int severity, bool applied, std::string command)
Compare each mandatory value (i.e.
void setFromIDL(asdmIDL::FlagCmdRowIDL x)
Fill the values of this row from the IDL struct FlagCmdRowIDL.
FlagCmdTable & table
The table to which this row belongs.
void levelFromBin(EndianIStream &eis)
void setLevel(int level)
Set level with the specified int.
bool hasBeenAdded
Whether this row has been added to the table or not.
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
std::string getReason() const
===> Attribute reason
void(FlagCmdRow::* FlagCmdAttributeFromText)(const std::string &s)
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
bool isAdded() const
Has this row been added to its table ?
void setApplied(bool applied)
Set applied with the specified bool.
void typeFromText(const std::string &s)
The FlagCmdTable class is an Alma table.
int getLevel() const
===> Attribute level
void typeFromBin(EndianIStream &eis)
bool getApplied() const
===> Attribute applied
std::string reason
===> Attribute reason
void setType(std::string type)
Set type with the specified std::string.
int level
===> Attribute level
void commandFromBin(EndianIStream &eis)
void levelFromText(const std::string &s)
bool equalByRequiredValue(FlagCmdRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, FlagCmdAttributeFromBin > fromBinMethods
void timeIntervalFromBin(EndianIStream &eis)
std::string getType() const
===> Attribute type
The FlagCmdRow class is a row of a FlagCmdTable.
FlagCmdRow(FlagCmdTable &table)
Create a FlagCmdRow.
void commandFromText(const std::string &s)
void appliedFromBin(EndianIStream &eis)
void setCommand(std::string command)
Set command with the specified std::string.
void severityFromText(const std::string &s)
std::string command
===> Attribute command
bool applied
===> Attribute applied
Extrinsic Table Attributes Links *bool compareNoAutoInc(ArrayTimeInterval timeInterval, std::string type, std::string reason, int level, int severity, bool applied, std::string command)
Compare each mandatory attribute except the autoincrementable one of this FlagCmdRow with the corresp...
std::string type
===> Attribute type
void setReason(std::string reason)
Set reason with the specified std::string.
int getSeverity() const
===> Attribute severity
*text deserialization material std::map< std::string, FlagCmdAttributeFromText > fromTextMethods
void setSeverity(int severity)
Set severity with the specified int.
void reasonFromBin(EndianIStream &eis)
FlagCmdTable & getTable() const
Return the table to which this row belongs.
int severity
===> Attribute severity
std::string getCommand() const
===> Attribute command
void severityFromBin(EndianIStream &eis)
void reasonFromText(const std::string &s)
std::string toXML() const
Return this row in the form of an XML string.
void appliedFromText(const std::string &s)
virtual ~FlagCmdRow()
friend class asdm::TableStreamReader<FlagCmdTable, FlagCmdRow>;
void timeIntervalFromText(const std::string &s)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.