faudes::HioEventFlags Class Reference
|
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). | |
Static Public Attributes | |
static const fType | mUFlag = 0x04 |
static const fType | mYFlag = 0x08 |
static const fType | mPFlag = 0x10 |
static const fType | mEFlag = 0x20 |
static const fType | mCFlag = 0x40 |
static const fType | mLFlag = 0x80 |
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. | |
Static Private Attributes | |
static const fType | mDefHioEventFlags = 0x00 |
static const fType | mAllHioEventFlags = 0xFC |
Event attributes for hierarchical discrete event systems with inputs and outputs.
These Attributes are:
Definition at line 32 of file hio_attributes.h.
faudes::HioEventFlags::HioEventFlags | ( | void | ) | [inline] |
Default constructor.
Definition at line 39 of file hio_attributes.h.
faudes::HioEventFlags::HioEventFlags | ( | const HioEventFlags & | rSrc | ) | [inline] |
Copy constructor.
Definition at line 42 of file hio_attributes.h.
virtual faudes::HioEventFlags::~HioEventFlags | ( | void | ) | [inline, virtual] |
Definition at line 45 of file hio_attributes.h.
void faudes::HioEventFlags::ClrC | ( | void | ) | [inline] |
Clear C-flag.
Definition at line 128 of file hio_attributes.h.
void faudes::HioEventFlags::ClrE | ( | void | ) | [inline] |
Clear E-flag.
Definition at line 111 of file hio_attributes.h.
void faudes::HioEventFlags::ClrL | ( | void | ) | [inline] |
Clear L-flag.
Definition at line 147 of file hio_attributes.h.
void faudes::HioEventFlags::ClrP | ( | void | ) | [inline] |
Clear P-flag.
Definition at line 93 of file hio_attributes.h.
void faudes::HioEventFlags::ClrU | ( | void | ) | [inline] |
Clear U-flag.
Definition at line 69 of file hio_attributes.h.
void faudes::HioEventFlags::ClrY | ( | void | ) | [inline] |
Clear Y-flag.
Definition at line 57 of file hio_attributes.h.
void faudes::HioEventFlags::DoAssign | ( | const HioEventFlags & | rSrcAttr | ) | [protected] |
Assignment method.
rSrcAttr | Source to assign from |
Definition at line 25 of file hio_attributes.cpp.
void faudes::HioEventFlags::DoRead | ( | TokenReader & | rTr, | |
const std::string & | rLabel = "" , |
|||
const Type * | pContext = 0 | |||
) | [protected, virtual] |
Reads attribute from TokenReader, see AttributeVoid for public wrappers.
Reads a single token if it can be interpreted as HioEventFlag, that is, if it is a respective option string or hex number. Label and Context argument are ignored. No token mismatch exceptions are thrown on error.
rTr | TokenReader to read from | |
rLabel | Section to read | |
pContext | Read context to provide contextual information |
Exception |
|
Reimplemented from faudes::AttributeFlags.
Definition at line 66 of file hio_attributes.cpp.
void faudes::HioEventFlags::DoWrite | ( | TokenWriter & | rTw, | |
const std::string & | rLabel = "" , |
|||
const Type * | pContext = 0 | |||
) | const [protected, virtual] |
Writes attribute to TokenWriter, see AttributeVoid for public wrappers.
Label and Context argument are ignored.
rTw | TokenWriter to write to | |
rLabel | Section to write | |
pContext | Write context to provide contextual information |
Exception |
|
Reimplemented from faudes::AttributeFlags.
Definition at line 31 of file hio_attributes.cpp.
bool faudes::HioEventFlags::IsC | ( | void | ) | const [inline] |
Query C-flag.
Definition at line 134 of file hio_attributes.h.
bool faudes::HioEventFlags::IsDefault | ( | void | ) | const [inline, virtual] |
Test for default value (ie input and membership in neither P-,E-,C-, nor L-alphabet).
Reimplemented from faudes::AttributeFlags.
Definition at line 158 of file hio_attributes.h.
bool faudes::HioEventFlags::IsE | ( | void | ) | const [inline] |
Query E-flag.
Definition at line 117 of file hio_attributes.h.
bool faudes::HioEventFlags::IsL | ( | void | ) | const [inline] |
Query L-flag.
Definition at line 153 of file hio_attributes.h.
bool faudes::HioEventFlags::IsP | ( | void | ) | const [inline] |
Query P-flag.
Definition at line 99 of file hio_attributes.h.
bool faudes::HioEventFlags::IsU | ( | void | ) | const [inline] |
Query U-flag.
Definition at line 81 of file hio_attributes.h.
bool faudes::HioEventFlags::IsY | ( | void | ) | const [inline] |
Query Y-flag.
Definition at line 75 of file hio_attributes.h.
void faudes::HioEventFlags::SetC | ( | void | ) | [inline] |
Set C-flag.
Definition at line 122 of file hio_attributes.h.
void faudes::HioEventFlags::SetE | ( | void | ) | [inline] |
Set E-flag.
Definition at line 105 of file hio_attributes.h.
void faudes::HioEventFlags::SetL | ( | void | ) | [inline] |
Set L-flag.
Definition at line 141 of file hio_attributes.h.
void faudes::HioEventFlags::SetP | ( | void | ) | [inline] |
Set P-flag.
Definition at line 87 of file hio_attributes.h.
void faudes::HioEventFlags::SetU | ( | void | ) | [inline] |
Set U-flag.
Definition at line 63 of file hio_attributes.h.
void faudes::HioEventFlags::SetY | ( | void | ) | [inline] |
Set Y-flag.
Definition at line 51 of file hio_attributes.h.
const fType faudes::HioEventFlags::mAllHioEventFlags = 0xFC [static, private] |
Definition at line 174 of file hio_attributes.h.
const fType faudes::HioEventFlags::mCFlag = 0x40 [static] |
Definition at line 166 of file hio_attributes.h.
const fType faudes::HioEventFlags::mDefHioEventFlags = 0x00 [static, private] |
Definition at line 171 of file hio_attributes.h.
const fType faudes::HioEventFlags::mEFlag = 0x20 [static] |
Definition at line 165 of file hio_attributes.h.
const fType faudes::HioEventFlags::mLFlag = 0x80 [static] |
Definition at line 167 of file hio_attributes.h.
const fType faudes::HioEventFlags::mPFlag = 0x10 [static] |
Definition at line 164 of file hio_attributes.h.
const fType faudes::HioEventFlags::mUFlag = 0x04 [static] |
Definition at line 162 of file hio_attributes.h.
const fType faudes::HioEventFlags::mYFlag = 0x08 [static] |
Definition at line 163 of file hio_attributes.h.
libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen