34 #ifndef HistoryRow_CLASS
35 #define HistoryRow_CLASS
390 Tag getExecBlockId()
const;
498 asdmIDL::HistoryRowIDL *
toIDL()
const;
507 void toIDL(asdmIDL::HistoryRowIDL& x)
const;
523 std::string
toXML()
const;
566 void fromText(
const std::string& attributeName,
const std::string& t);
HistoryTable & table
The table to which this row belongs.
void messageFromText(const std::string &s)
void(HistoryRow::* HistoryAttributeFromText)(const std::string &s)
void setApplication(std::string application)
Set application with the specified std::string.
std::string getPriority() const
===> Attribute priority
std::string appParms
===> Attribute appParms
std::string application
===> Attribute application
void timeFromText(const std::string &s)
std::string origin
===> Attribute origin
*text deserialization material std::map< std::string, HistoryAttributeFromText > fromTextMethods
void originFromBin(EndianIStream &eis)
std::string priority
===> Attribute priority
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
std::string toXML() const
Return this row in the form of an XML string.
void priorityFromBin(EndianIStream &eis)
The ExecBlockRow class is a row of a ExecBlockTable.
Links *binary deserialization material from an EndianIStream std::map< std::string, HistoryAttributeFromBin > fromBinMethods
std::string getOrigin() const
===> Attribute origin
virtual ~HistoryRow()
friend class asdm::TableStreamReader<HistoryTable, HistoryRow>;
bool hasBeenAdded
Whether this row has been added to the table or not.
std::string getCliCommand() const
===> Attribute cliCommand
void applicationFromText(const std::string &s)
Links *ExecBlockRow * getExecBlockUsingExecBlockId()
execBlockId pointer to the row in the ExecBlock table having ExecBlock.execBlockId == execBlockId ...
void cliCommandFromBin(EndianIStream &eis)
void setObjectId(std::string objectId)
Set objectId with the specified std::string.
bool isAdded() const
Has this row been added to its table ?
std::string message
===> Attribute message
void objectIdFromBin(EndianIStream &eis)
bool compareNoAutoInc(Tag execBlockId, ArrayTime time, std::string message, std::string priority, std::string origin, std::string objectId, std::string application, std::string cliCommand, std::string appParms)
Compare each mandatory attribute except the autoincrementable one of this HistoryRow with the corresp...
void objectIdFromText(const std::string &s)
void(HistoryRow::* HistoryAttributeFromBin)(EndianIStream &eis)
void cliCommandFromText(const std::string &s)
std::string getApplication() const
===> Attribute application
void appParmsFromBin(EndianIStream &eis)
void setFromIDL(asdmIDL::HistoryRowIDL x)
Fill the values of this row from the IDL struct HistoryRowIDL.
void setExecBlockId(Tag execBlockId)
Set execBlockId with the specified Tag.
void setAppParms(std::string appParms)
Set appParms with the specified std::string.
std::string getMessage() const
===> Attribute message
The HistoryRow class is a row of a HistoryTable.
std::string getObjectId() const
===> Attribute objectId
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
bool equalByRequiredValue(HistoryRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void timeFromBin(EndianIStream &eis)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
HistoryTable & getTable() const
Return the table to which this row belongs.
std::string getAppParms() const
===> Attribute appParms
void execBlockIdFromText(const std::string &s)
std::string objectId
===> Attribute objectId
std::string cliCommand
===> Attribute cliCommand
bool compareRequiredValue(std::string message, std::string priority, std::string origin, std::string objectId, std::string application, std::string cliCommand, std::string appParms)
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 appParmsFromText(const std::string &s)
void applicationFromBin(EndianIStream &eis)
The HistoryTable class is an Alma table.
void setOrigin(std::string origin)
Set origin with the specified std::string.
void execBlockIdFromBin(EndianIStream &eis)
void setMessage(std::string message)
Set message with the specified std::string.
void setCliCommand(std::string cliCommand)
Set cliCommand with the specified std::string.
void setPriority(std::string priority)
Set priority with the specified std::string.
void messageFromBin(EndianIStream &eis)
void setTime(ArrayTime time)
Set time with the specified ArrayTime.
void priorityFromText(const std::string &s)
HistoryRow(HistoryTable &table)
Create a HistoryRow.
asdmIDL::HistoryRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void originFromText(const std::string &s)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.