faudes::AttributePushdownGlobal Class Reference
|
Public Member Functions | |
AttributePushdownGlobal (void) | |
Constructor. | |
virtual bool | IsDefault (void) const |
Test for default value (no stack symbols). | |
Public Attributes | |
StackSymbolSet | mStackSymbols |
Stack Symbols. | |
Idx | mStackBottom |
SymbolTable * | mpStackSymbolTable |
Pointer to stack symbol table. | |
Protected Member Functions | |
void | DoAssign (const AttributePushdownGlobal &rSrcAttr) |
Assignment method. | |
bool | DoEqual (const AttributePushdownGlobal &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. | |
virtual void | DoXWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
Write configuration data of this object to TokenWriter in XML format. |
Global attribute with stack alphabet and stack bottom.
Definition at line 279 of file pd_attributes.h.
faudes::AttributePushdownGlobal::AttributePushdownGlobal | ( | void | ) | [inline] |
Constructor.
Definition at line 286 of file pd_attributes.h.
void faudes::AttributePushdownGlobal::DoAssign | ( | const AttributePushdownGlobal & | rSrcAttr | ) | [protected] |
Assignment method.
rSrcAttr | Source to assign from |
Definition at line 350 of file pd_attributes.cpp.
bool faudes::AttributePushdownGlobal::DoEqual | ( | const AttributePushdownGlobal & | rOther | ) | const [protected] |
Test equality.
rOther | Other attribute to compare with. |
Definition at line 360 of file pd_attributes.cpp.
void faudes::AttributePushdownGlobal::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 386 of file pd_attributes.cpp.
void faudes::AttributePushdownGlobal::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 368 of file pd_attributes.cpp.
virtual void faudes::AttributePushdownGlobal::DoXWrite | ( | TokenWriter & | rTw, | |
const std::string & | rLabel = "" , |
|||
const Type * | pContext = 0 | |||
) | const [inline, protected, virtual] |
Write configuration data of this object to TokenWriter in XML format.
Reimplement this method in derived classes to provide the XML token io interface defined in the public section of Type. The default implementation invokes the std token output via DoWrite(TokenWriter&, const std::string&,const Type* )
rTw | Reference to TokenWriter | |
rLabel | Label of section to write | |
pContext | Write context to provide contextual information |
Exception |
|
Reimplemented from faudes::Type.
Definition at line 361 of file pd_attributes.h.
virtual bool faudes::AttributePushdownGlobal::IsDefault | ( | void | ) | const [inline, virtual] |
Test for default value (no stack symbols).
Reimplemented from faudes::AttributeVoid.
Definition at line 295 of file pd_attributes.h.
Pointer to stack symbol table.
Definition at line 302 of file pd_attributes.h.
Definition at line 299 of file pd_attributes.h.
Stack Symbols.
Definition at line 295 of file pd_attributes.h.
libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen