faudes::AttributeGotoTransition Class Reference
|
Public Member Functions | |
AttributeGotoTransition (void) | |
Constructor. | |
virtual bool | IsDefault (void) const |
Test for default value (no grammar symbol set). | |
const GrammarSymbolPtr & | Symbol () const |
Getter for mpGrammarSymbol. | |
void | Symbol (const GrammarSymbolPtr &symbol) |
Setter for mpGrammarSymbol. | |
Public Attributes | |
GrammarSymbolPtr | mpGrammarSymbol |
Grammar Symbols. | |
Protected Member Functions | |
void | DoAssign (const AttributeGotoTransition &rSrcAttr) |
Assignment method. | |
bool | DoEqual (const AttributeGotoTransition &rOther) const |
Test equality. | |
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. |
Event attribute with grammar symbols.
Definition at line 27 of file pd_gotoattributes.h.
faudes::AttributeGotoTransition::AttributeGotoTransition | ( | void | ) | [inline] |
Constructor.
Definition at line 34 of file pd_gotoattributes.h.
void faudes::AttributeGotoTransition::DoAssign | ( | const AttributeGotoTransition & | rSrcAttr | ) | [protected] |
Assignment method.
rSrcAttr | Source to assign from |
Definition at line 25 of file pd_gotoattributes.cpp.
bool faudes::AttributeGotoTransition::DoEqual | ( | const AttributeGotoTransition & | rOther | ) | const [protected] |
Test equality.
rOther | Other attribute to compare with. |
Definition at line 33 of file pd_gotoattributes.cpp.
void faudes::AttributeGotoTransition::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 Clocks section, the method reads the global timing data 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 Clocks.
rTr | TokenReader to read from | |
rLabel | Section to read | |
pContext | Read context to provide contextual information |
Exception |
|
Reimplemented from faudes::AttributeVoid.
Definition at line 53 of file pd_gotoattributes.cpp.
void faudes::AttributeGotoTransition::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 a Clocks section to include global timing data. The label argument can be used to set a section label different the the default Clocks. 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::AttributeVoid.
Definition at line 41 of file pd_gotoattributes.cpp.
virtual bool faudes::AttributeGotoTransition::IsDefault | ( | void | ) | const [inline, virtual] |
Test for default value (no grammar symbol set).
Reimplemented from faudes::AttributeVoid.
Definition at line 42 of file pd_gotoattributes.h.
void faudes::AttributeGotoTransition::Symbol | ( | const GrammarSymbolPtr & | symbol | ) | [inline] |
Setter for mpGrammarSymbol.
symbol | the grammar symbol |
Definition at line 61 of file pd_gotoattributes.h.
const GrammarSymbolPtr& faudes::AttributeGotoTransition::Symbol | ( | ) | const [inline] |
Getter for mpGrammarSymbol.
Definition at line 53 of file pd_gotoattributes.h.
Grammar Symbols.
Definition at line 42 of file pd_gotoattributes.h.
libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen