Event attributes for hierarchical discrete event systems with inputs and outputs.
More...
Public Member Functions |
| HioEventFlags (void) |
| Default constructor.
|
| HioEventFlags (const HioEventFlags &rSrc) |
| Copy constructor.
|
virtual | ~HioEventFlags (void) |
void | SetY (void) |
| Set Y-flag.
|
void | ClrY (void) |
| Clear Y-flag.
|
void | SetU (void) |
| Set U-flag.
|
void | ClrU (void) |
| Clear U-flag.
|
bool | IsY (void) const |
| Query Y-flag.
|
bool | IsU (void) const |
| Query U-flag.
|
void | SetP (void) |
| Set P-flag.
|
void | ClrP (void) |
| Clear P-flag.
|
bool | IsP (void) const |
| Query P-flag.
|
void | SetE (void) |
| Set E-flag.
|
void | ClrE (void) |
| Clear E-flag.
|
bool | IsE (void) const |
| Query E-flag.
|
void | SetC (void) |
| Set C-flag.
|
void | ClrC (void) |
| Clear C-flag.
|
bool | IsC (void) const |
| Query C-flag.
|
void | SetL (void) |
| Set L-flag.
|
void | ClrL (void) |
| Clear L-flag.
|
bool | IsL (void) const |
| Query L-flag.
|
bool | IsDefault (void) const |
| Test for default value (ie input and membership in neither P-,E-,C-, nor L-alphabet)
|
| 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 HioEventFlags &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.
|
void | DoAssign (const AttributeFlags &rSrcAttr) |
| Assignment method.
|
virtual bool | DoEqual (const AttributeFlags &rOther) const |
| Test equality of configuration data.
|
virtual void | DoXWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| Write to TokenWriter, see Type for public wrappers.
|
virtual void | DoAssign (const AttributeVoid &rSrcAttr) |
| Assign attribute members.
|
virtual bool | DoEqual (const AttributeVoid &rOther) const |
| Test equality of configuration data.
|
virtual void | DoAssign (const Type &rSrc) |
| Assign configuration data from other object.
|
virtual bool | DoEqual (const Type &rOther) const |
| Test equality of configuration data.
|
virtual void | DoDWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| Write configuration data in debugging format to TokenWriter.
|
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 |
Event attributes for hierarchical discrete event systems with inputs and outputs.
These Attributes are:
- the input/output flag U and Y.
- the flags C, P, E and L that designate membership in one or the union of more alphabets.
Definition at line 32 of file hio_attributes.h.