faudes::AttributeColoredState Class Reference
[Multitasking PlugIn]

State attributes for multitasking automata. More...

#include <mtc_attributes.h>

List of all members.

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 ColorSetColors (void) const
 Read access to color set.
ColorSetColors (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.
SymbolTableColorSymTabp (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.
SymbolTablempColorSymbolTable
 Pointer to colorsymboltable.

Detailed Description

State attributes for multitasking automata.

Definition at line 41 of file mtc_attributes.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

void faudes::AttributeColoredState::Colors ( const ColorSet rColors  )  [inline]

Set the color set.

Parameters:
rColors New color set

Definition at line 95 of file mtc_attributes.h.

ColorSet& faudes::AttributeColoredState::Colors ( void   )  [inline]

Writable access to color set.

Returns:
Reference to attribute data

Definition at line 87 of file mtc_attributes.h.

const ColorSet& faudes::AttributeColoredState::Colors ( void   )  const [inline]

Read access to color set.

Returns:
Reference to attribute data

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.

Parameters:
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.

Returns:
Pointer to current color symbol table

Definition at line 92 of file mtc_attributes.cpp.

void faudes::AttributeColoredState::DoAssign ( const AttributeColoredState rSrcAttr  )  [protected, virtual]

Assignment method.

Parameters:
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.

Parameters:
rOther Other attribute to compare with.
Returns:
True on match.

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.

Parameters:
rTr Tokenreader to read from
rLabel Section to read
pContext Read context to provide contextual information
Exceptions:
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.

Parameters:
rTw Tokenreader to write to
rLabel Section to write
pContext Write context to provide contextual information
Exceptions:
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.

Parameters:
rTw Tokenreader to write to
rLabel Section to write
pContext Write context to provide contextual information
Exceptions:
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.

Returns:
True for defaultvalue

Reimplemented from faudes::AttributeFlags.

Definition at line 60 of file mtc_attributes.h.


Member Data Documentation

Colorset.

Definition at line 116 of file mtc_attributes.h.

Pointer to colorsymboltable.

Definition at line 119 of file mtc_attributes.h.


The documentation for this class was generated from the following files:

libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen