Public Member Functions |
| | AttributeIosState (void) |
| | Default constructor.
|
| | AttributeIosState (const AttributeIosState &rSrc) |
| | Copy constructor.
|
| virtual | ~AttributeIosState (void) |
| | Destructor.
|
| void | SetOutput (void) |
| | Set output flag.
|
| void | ClrOutput (void) |
| | Clear output flag.
|
| void | SetInput (void) |
| | Set input flag.
|
| void | ClrInput (void) |
| | Clear input flag.
|
| void | SetError (void) |
| | Set error flag.
|
| void | ClrError (void) |
| | Clear error flag.
|
| bool | Output (void) const |
| | Test output flag.
|
| bool | Input (void) const |
| | Test input flag.
|
| bool | Error (void) const |
| | Check error flag.
|
| bool | IsDefault (void) const |
| | Check a state's io-properties for default value.
|
| virtual std::string | ToString (void) const |
| | Write attribute to string.
|
| | AttributeFlags (void) |
| | Default constructor.
|
| | AttributeFlags (const AttributeFlags &rOther) |
| | Copy constructor.
|
| virtual | ~AttributeFlags (void) |
| | Destructor.
|
| bool | Test (fType mask) const |
| | Test a flag.
|
| bool | TestAll (fType mask) const |
| | Test multible flags, combine by "and".
|
| bool | TestSome (fType mask) const |
| | Test multible flags, combine by "or".
|
| bool | TestNone (fType mask) const |
| | Test multible flags, combine by "not or".
|
| void | Set (fType mask) |
| | Set multiple flags.
|
| void | Clr (fType mask) |
| | Clear multiple flags.
|
| | AttributeVoid (void) |
| | Constructor.
|
| virtual | ~AttributeVoid (void) |
| | Destructor.
|
| virtual void | SetDefault (void) |
| | Set to default value.
|
| virtual void | Clear (void) |
| | Synonym for SetDefault to match std interface.
|
| | Type (void) |
| | Constructor.
|
| | Type (const Type &rType) |
| | Copy constructor.
|
| virtual | ~Type (void) |
| | Destructor.
|
| virtual Type * | New (void) const |
| | Construct on heap.
|
| virtual Type * | Copy (void) const |
| | Construct on heap.
|
| virtual const Type * | Cast (const Type *pOther) const |
| | Cast other object to this type.
|
| virtual Type & | Assign (const Type &rSrc) |
| | Assign configuration data from other object.
|
| virtual Type & | operator= (const Type &rSrc) |
| | Assign configurationdata from other object.
|
| virtual bool | Equal (const Type &rOther) const |
| | Test equality of configuration data.
|
| virtual bool | operator== (const Type &rOther) const |
| | Test equality of configuration data.
|
| virtual bool | operator!= (const Type &rOther) const |
| | Test equality of configuration data.
|
| virtual void | Name (const std::string &rName) |
| | Set the objects's name.
|
| virtual const std::string & | Name (void) const |
| | Get objects's name.
|
| void | Write (const Type *pContext=0) const |
| | Write configuration data to console.
|
| void | Write (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const |
| | Write configuration data to a file.
|
| void | Write (const std::string &pFileName, std::ios::openmode openmode) const |
| | Write configuration data to a file.
|
| void | Write (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| | Write configuration data to TokenWriter.
|
| virtual void | XWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0) const |
| | Write configuration data to an XML file.
|
| void | XWrite (const Type *pContext=0) const |
| | Write configuration data in XML format to concole Note: this write function uses the virtual function DoXWrite(), to be reimplemented by derived classes.
|
| void | XWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| | Write configuration data in XML format to TokenWriter.
|
| std::string | ToString (const std::string &rLabel="", const Type *pContext=0) const |
| | Write configuration data to a string.
|
| std::string | ToText (const std::string &rLabel="", const Type *pContext=0) const |
| | Write configuration data to a formated string.
|
| void | DWrite (const Type *pContext=0) const |
| | Write configuration data to console, debugging format.
|
| void | DWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const |
| | Write configuration data to a file, debugging format.
|
| void | DWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| | Write configuration data in debug format to TokenWriter.
|
| void | SWrite (TokenWriter &rTw) const |
| | Write statistics comment to TokenWriter.
|
| void | SWrite (void) const |
| | Write statistics comment to console.
|
| std::string | ToSText (void) const |
| | Write statistics to a string.
|
| void | Read (const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0) |
| | Read configuration data from file with label specified.
|
| void | FromString (const std::string &rString, const std::string &rLabel="", const Type *pContext=0) |
| | Read configuration data from a string.
|
| void | Read (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
| | Read configuration data from TokenReader with label sepcified.
|
Protected Member Functions |
| void | DoAssign (const AttributeIosState &rSrcAttr) |
| | Assignment method.
|
| virtual void | DoRead (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
| | Reads attribute from TokenReader, see AttributeVoid for public wrappers.
|
| virtual void | DoWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| | Writes attribute to TokenWriter, see AttributeVoid for public wrappers.
|
| virtual void | DoXWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| | Writes attribute to TokenWriter, see AttributeVoid for public wrappers.
|
| void | DoAssign (const AttributeFlags &rSrcAttr) |
| | Assignment method.
|
| bool | DoEqual (const AttributeFlags &rOther) const |
| | Test equality of configuration data.
|
| void | DoAssign (const AttributeVoid &rSrcAttr) |
| | Assign attribute members.
|
| bool | DoEqual (const AttributeVoid &rOther) const |
| | Test equality of configuration data.
|
| virtual void | DoDWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| | Actual write method to write the attribute to a TokenWriter.
|
| void | DoAssign (const Type &rSrc) |
| | Assign configuration data from other object.
|
| bool | DoEqual (const Type &rOther) const |
| | Test equality of configuration data.
|
| virtual void | DoSWrite (TokenWriter &rTw) const |
| | Write statistical data as a comment to TokenWriter.
|
| virtual const TypeDefinition * | TypeDefinitionp (void) const |
| | Get objects's type definition.
|
| virtual const std::string & | TypeName (void) const |
| | Get objects's type name.
|
| virtual Token | XBeginTag (const std::string &rLabel="", const std::string &rFallbackLabel="") const |
Attributes for states in DESs with in- and outputs.
The class AttributeIosState holds a bitarray to handle a state's io-properties. A state is said to be an in- or output state if the set of active events contains only in- or output events.
In order to envolve the state's io-properties during file-io the DoRead/DoWrite methods were overwritten. Use +I+ for input, +O+ for output states.
Definition at line 245 of file ios_attributes.h.