faudes::AttributeColoredState Class Reference
|
Public Member Functions | |
AttributeColoredState (void) | |
Default constructor. | |
virtual | ~AttributeColoredState (void) |
bool | IsDefault (void) const |
Test for default value. | |
NameSet::Iterator | ColorsBegin () const |
Iterator for first entry in mColors. | |
NameSet::Iterator | ColorsEnd () const |
Iterator for last entry in mColors. | |
const ColorSet & | Colors (void) const |
Read access to color set. | |
ColorSet & | Colors (void) |
Writable access to color set. | |
void | Colors (const ColorSet &rColors) |
Set the color set. | |
void | ColorSymTab (SymbolTable *pSymTab) |
Set pointer to color symbol table. | |
SymbolTable * | ColorSymTabp (void) const |
Get pointer to color symbol table. | |
Protected Member Functions | |
virtual void | DoAssign (const AttributeColoredState &rSrcAttr) |
Assignment method. | |
virtual bool | DoEqual (const AttributeColoredState &rOther) const |
Test equality of configuration data. | |
virtual void | DoWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
Write attributes to tokenwriter. | |
virtual void | DoXWrite (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 | |
ColorSet | mColors |
Colorset. | |
SymbolTable * | mpColorSymbolTable |
Pointer to colorsymboltable. |
State attributes for multitasking automata.
Definition at line 41 of file mtc_attributes.h.
faudes::AttributeColoredState::AttributeColoredState | ( | void | ) | [inline] |
Default constructor.
Definition at line 49 of file mtc_attributes.h.
virtual faudes::AttributeColoredState::~AttributeColoredState | ( | void | ) | [inline, virtual] |
Definition at line 52 of file mtc_attributes.h.
void faudes::AttributeColoredState::Colors | ( | const ColorSet & | rColors | ) | [inline] |
Set the color set.
rColors | New color set |
Definition at line 95 of file mtc_attributes.h.
ColorSet& faudes::AttributeColoredState::Colors | ( | void | ) | [inline] |
Writable access to color set.
Definition at line 87 of file mtc_attributes.h.
const ColorSet& faudes::AttributeColoredState::Colors | ( | void | ) | const [inline] |
Read access to color set.
Definition at line 78 of file mtc_attributes.h.
NameSet::Iterator faudes::AttributeColoredState::ColorsBegin | ( | ) | const |
Iterator for first entry in mColors.
Definition at line 77 of file mtc_attributes.cpp.
NameSet::Iterator faudes::AttributeColoredState::ColorsEnd | ( | ) | const |
Iterator for last entry in mColors.
Definition at line 82 of file mtc_attributes.cpp.
void faudes::AttributeColoredState::ColorSymTab | ( | SymbolTable * | pSymTab | ) |
Set pointer to color symbol table.
pSymTab | New color symbol table |
Definition at line 87 of file mtc_attributes.cpp.
SymbolTable * faudes::AttributeColoredState::ColorSymTabp | ( | void | ) | const |
Get pointer to color symbol table.
Definition at line 92 of file mtc_attributes.cpp.
void faudes::AttributeColoredState::DoAssign | ( | const AttributeColoredState & | rSrcAttr | ) | [protected, virtual] |
Assignment method.
rSrcAttr | Source to assign from |
Definition at line 35 of file mtc_attributes.cpp.
bool faudes::AttributeColoredState::DoEqual | ( | const AttributeColoredState & | rOther | ) | const [protected, virtual] |
Test equality of configuration data.
rOther | Other attribute to compare with. |
Definition at line 43 of file mtc_attributes.cpp.
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.
Definition at line 67 of file mtc_attributes.cpp.
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.
Definition at line 55 of file mtc_attributes.cpp.
void faudes::AttributeColoredState::DoXWrite | ( | 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.
Definition at line 60 of file mtc_attributes.cpp.
bool faudes::AttributeColoredState::IsDefault | ( | void | ) | const [inline, virtual] |
Test for default value.
Reimplemented from faudes::AttributeFlags.
Definition at line 60 of file mtc_attributes.h.
ColorSet faudes::AttributeColoredState::mColors [protected] |
Colorset.
Definition at line 116 of file mtc_attributes.h.
Pointer to colorsymboltable.
Definition at line 119 of file mtc_attributes.h.
libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen