#include <tp_attributes.h>
Inheritance diagram for faudes::AttributeTimedState:
Definition at line 104 of file tp_attributes.h.
Public Member Functions | |
AttributeTimedState (void) | |
Constructor. | |
bool | IsDefault (void) const |
Test for default value (ie empty invariant and default flags). | |
Public Attributes | |
TimeConstraint | mInvariant |
Invariant. | |
Protected Member Functions | |
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. |
|
Constructor.
Definition at line 108 of file tp_attributes.h. |
|
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.
Reimplemented from faudes::AttributeFlags. Definition at line 101 of file tp_attributes.cpp. |
|
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.
Reimplemented from faudes::AttributeFlags. Definition at line 88 of file tp_attributes.cpp. |
|
Test for default value (ie empty invariant and default flags).
Reimplemented from faudes::AttributeFlags. Definition at line 116 of file tp_attributes.h. |
|
Invariant.
Definition at line 116 of file tp_attributes.h. |