| |
libFAUDES
Sections
Index
|
faudes::AttributeColoredState Class Reference |
Public Member Functions | |
AttributeColoredState (void) | |
Default constructor. | |
~AttributeColoredState (void) | |
virtual AttributeColoredState * | New (void) const |
Construct on heap. | |
virtual void | Copy (AttributeVoid &rOtherAttr) const |
Copy attribute. | |
bool | IsDefault (void) const |
Test for default value. | |
NameSet::Iterator | Begin () |
Iterator for first entry in mColors. | |
NameSet::Iterator | End () |
Iterator for last entry in mColors. | |
void | ColorSymTab (SymbolTable *pSymTab) |
Set pointer to color symbol table. | |
SymbolTable * | ColorSymTabp (void) const |
Get pointer to color symbol table. | |
Public Attributes | |
ColorSet | mColors |
Colorset. | |
Protected Member Functions | |
void | DoCopy (AttributeColoredState &rOtherAttr) const |
Copy attribute members. | |
virtual void | DoWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
Write attributes to tokenwriter. | |
virtual void | DoRead (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
Read attributes from tokenreader. | |
Protected Attributes | |
SymbolTable * | mpColorSymbolTable |
Pointer to colorsymboltable. |
faudes::AttributeColoredState::AttributeColoredState | ( | void | ) | [inline] |
Default constructor.
faudes::AttributeColoredState::~AttributeColoredState | ( | void | ) | [inline] |
virtual AttributeColoredState* faudes::AttributeColoredState::New | ( | void | ) | const [inline, virtual] |
Construct on heap.
Technically not a constructor, this function creates an object with the same type AttributeVoid.
Reimplemented from faudes::AttributeFlags.
void faudes::AttributeColoredState::Copy | ( | AttributeVoid & | rOtherAttr | ) | const [virtual] |
Copy attribute.
Virtual interface to copy members using a dynamic cast to figure the actual type of the destination. If the latter is known at compiletime, performance is better via the assignment operator.
rOtherAttr | Destination to copy to |
Reimplemented from faudes::AttributeFlags.
bool faudes::AttributeColoredState::IsDefault | ( | void | ) | const [inline, virtual] |
NameSet::Iterator faudes::AttributeColoredState::Begin | ( | void | ) |
Iterator for first entry in mColors.
NameSet::Iterator faudes::AttributeColoredState::End | ( | void | ) |
Iterator for last entry in mColors.
void faudes::AttributeColoredState::ColorSymTab | ( | SymbolTable * | pSymTab | ) |
Set pointer to color symbol table.
pSymTab | New color symbol table |
SymbolTable * faudes::AttributeColoredState::ColorSymTabp | ( | void | ) | const |
Get pointer to color symbol table.
void faudes::AttributeColoredState::DoCopy | ( | AttributeColoredState & | rOtherAttr | ) | const [protected] |
Copy attribute members.
rOtherAttr | Destination to copy to |
void faudes::AttributeColoredState::DoWrite | ( | TokenWriter & | rTw, | |
const std::string & | rLabel = "" , |
|||
const Type * | pContext = 0 | |||
) | const [protected, virtual] |
Write attributes to tokenwriter.
rTw | Tokenreader to write to | |
rLabel | Section to write | |
pContext | Write context to provide contextual information |
Exception | I/O errors |
Reimplemented from faudes::AttributeFlags.
void faudes::AttributeColoredState::DoRead | ( | TokenReader & | rTr, | |
const std::string & | rLabel = "" , |
|||
const Type * | pContext = 0 | |||
) | [protected, virtual] |
Read attributes from tokenreader.
rTr | Tokenreader to read from | |
rLabel | Section to read | |
pContext | Read context to provide contextual information |
Exception | Thrown on file format errors (ids 50, 51) |
Reimplemented from faudes::AttributeFlags.
Pointer to colorsymboltable.
libFAUDES 2.13a c++ source docu by doxygen 1.5.6