faudes::AttributeTimedState Class Reference
|
Public Member Functions | |
AttributeTimedState (void) | |
Constructor. | |
virtual bool | IsDefault (void) const |
Test for default value (ie empty invariant and default flags). | |
Public Attributes | |
TimeConstraint | mInvariant |
Invariant. | |
Protected Member Functions | |
void | DoAssign (const AttributeTimedState &rSrcAttr) |
Assignment method. | |
bool | DoEqual (const AttributeTimedState &rOther) const |
Test eaulity. | |
virtual void | DoRead (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
Reads the attribute from TokenReader, see AttributeVoid for public wrappers. | |
virtual void | DoWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
Writes the attribute to TokenWriter, see AttributeVoid for public wrappers. |
State attribute with invariant.
Definition at line 121 of file tp_attributes.h.
faudes::AttributeTimedState::AttributeTimedState | ( | void | ) | [inline] |
Constructor.
Definition at line 128 of file tp_attributes.h.
void faudes::AttributeTimedState::DoAssign | ( | const AttributeTimedState & | rSrcAttr | ) | [protected] |
Assignment method.
rSrcAttr | Source to assign from |
Definition at line 114 of file tp_attributes.cpp.
bool faudes::AttributeTimedState::DoEqual | ( | const AttributeTimedState & | rOther | ) | const [protected] |
Test eaulity.
rOther | Other attribute to compare with. |
Definition at line 122 of file tp_attributes.cpp.
void faudes::AttributeTimedState::DoRead | ( | TokenReader & | rTr, | |
const std::string & | rLabel = "" , |
|||
const Type * | pContext = 0 | |||
) | [protected, virtual] |
Reads the attribute from TokenReader, see AttributeVoid for public wrappers.
If the current token indicates a invariant section, the method reads the invariant from that section. Else, it does nothing. Exceptions may only be thrown on invalid data within the timing section. The context argument is ignored, the label argument can be used to override the default section name Invariant.
rTr | TokenReader to read from | |
rLabel | Section to read | |
pContext | Read context to provide contextual information |
Exception |
|
Reimplemented from faudes::AttributeFlags.
Definition at line 146 of file tp_attributes.cpp.
void faudes::AttributeTimedState::DoWrite | ( | TokenWriter & | rTw, | |
const std::string & | rLabel = "" , |
|||
const Type * | pContext = 0 | |||
) | const [protected, virtual] |
Writes the attribute to TokenWriter, see AttributeVoid for public wrappers.
Writes am Invariant section to include data on the invariant. The label argument can be used to set a section label different the the default Invariant. Th context argument is ignored.
rTw | TokenWriter to write to | |
rLabel | Section to write | |
pContext | Write context to provide contextual information |
Exception |
|
Reimplemented from faudes::AttributeFlags.
Definition at line 133 of file tp_attributes.cpp.
virtual bool faudes::AttributeTimedState::IsDefault | ( | void | ) | const [inline, virtual] |
Test for default value (ie empty invariant and default flags).
Reimplemented from faudes::AttributeFlags.
Definition at line 136 of file tp_attributes.h.
Invariant.
Definition at line 136 of file tp_attributes.h.
libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen