![]() |
MAK Data Logger API Documentation for HLA
|
Base class representing any HLA 1516 class. More...
Inheritance diagram for MAKLogger::DtBaseHla1516Class< ValueType >:
Collaboration diagram for MAKLogger::DtBaseHla1516Class< ValueType >:Public Member Functions | |
| DtBaseHla1516Class (const DtString &name, DtBaseHlaClass< ValueType > *baseClass, DtLgrHlaHandle handle, const DtLgrVariableLengthData &code) | |
| Constructor with valid pointer to base class object. More... | |
| DtBaseHla1516Class (const DtString &name, const DtString &baseClassName, DtLgrHlaHandle handle, const DtLgrVariableLengthData &code) | |
| Constructor with only the base class name. More... | |
| DtBaseHla1516Class (const DtBaseHla1516Class< ValueType > &src) | |
| Copy constructor. More... | |
| DtBaseHla1516Class< ValueType > & | operator= (const DtBaseHla1516Class< ValueType > &src) |
| Assignment operator. More... | |
| virtual | ~DtBaseHla1516Class () |
| DTOR. More... | |
| ValueType * | findValueByCode (const DtLgrVariableLengthData &code, bool thisClassOnly) |
| Look up a value by its encoded handle. More... | |
| const ValueType * | findValueByCode (const DtLgrVariableLengthData &code, bool thisClassOnly) const |
| Look up a value by its encoded handle. More... | |
Public Member Functions inherited from MAKLogger::DtBaseHlaClass< ValueType > | |
| DtBaseHlaClass (const DtString &name, DtBaseHlaClass< ValueType > *baseClass, DtLgrHlaHandle handle) | |
| Constructor with valid pointer to base class object. More... | |
| DtBaseHlaClass (const DtString &name, const DtString &baseClassName, DtLgrHlaHandle handle) | |
| Constructor with only the base class name. More... | |
| DtBaseHlaClass (const DtBaseHlaClass< ValueType > &src) | |
| Copy constructor. More... | |
| DtBaseHlaClass< ValueType > & | operator= (const DtBaseHlaClass< ValueType > &src) |
| Assignment operator. More... | |
| virtual | ~DtBaseHlaClass () |
| DTOR. More... | |
| const DtString & | baseName () const |
| Get the base class name, it can be empty. More... | |
| DtString | simpleName () const |
| Get the simple class name, which does not include the base name. More... | |
| const char * | baseName2print () const |
| Get a raw pointer to the base name for printing. More... | |
| void | setBaseNameOnly (const DtString &name0) |
| Set the base class name. More... | |
| void | setBaseClass (DtBaseHlaClass< ValueType > *baseClass) |
| Set the base class pointer. More... | |
| bool | isOfClass (DtLgrHlaHandle handle) const |
| Checks whether this class is or inherits from a class with the handle. More... | |
| bool | isOfClass (const DtString &name) const |
| Checks whether this class is or inherits from a class with the name. More... | |
| bool | isOfClass (const DtBaseHlaClass &baseClass) const |
| Checks whether this class is or inherits from the class (via ptr) More... | |
| void | addValue (const ValueType &value) |
| Add a value to the class. More... | |
| void | clearValues () |
| Clears all values added. More... | |
| int | valueCount (bool thisClassOnly) const |
| Get the number of values in this class. More... | |
| int | minHandle (bool thisClassOnly) const |
| Get the minum handle of its values; If thisClassOnly = true, only this class will be checked. More... | |
| int | maxHandle (bool thisClassOnly) const |
| Get the maximum handle of its values; If thisClassOnly = true, only this class will be checked. More... | |
| DtBaseHlaClass< ValueType > * | baseClass () |
| Get the base class. More... | |
| const DtBaseHlaClass< ValueType > * | baseClass () const |
| Get the base class. More... | |
| iterator | begin () |
| Get iterator to first value. More... | |
| const_iterator | begin () const |
| Get iterator to first value. More... | |
| iterator | end () |
| Get iterator past last value. More... | |
| const_iterator | end () const |
| Get iterator past last value. More... | |
| ValueType * | findValueByName (const DtString &name, bool thisClassOnly) |
| Look up a value by its name. More... | |
| const ValueType * | findValueByName (const DtString &name, bool thisClassOnly) const |
| Look up a value by its name. More... | |
| ValueType * | findValueByHandle (DtLgrHlaHandle handle, bool thisClassOnly) |
| Look up a value by its handle. More... | |
| const ValueType * | findValueByHandle (DtLgrHlaHandle handle, bool thisClassOnly) const |
| Look up a value by its handle. More... | |
Public Member Functions inherited from MAKLogger::DtBaseHlaValue | |
| DtBaseHlaValue (const DtString &name, DtLgrHlaHandle handle) | |
| virtual | ~DtBaseHlaValue () |
| DtBaseHlaValue (const DtBaseHlaValue &value) | |
| DtBaseHlaValue & | operator= (const DtBaseHlaValue &value) |
| DtU32 | flags () const |
| Get the encoded flags. More... | |
| void | setFlags (DtU32) |
| Set the encoded flags. More... | |
| const DtString & | name () const |
| void | setName (const DtString &name) |
| const char * | name2print () const |
| DtLgrHlaHandle | handle () const |
| void | setHandle (DtLgrHlaHandle handle) |
Public Member Functions inherited from MAKLogger::DtBaseHla1516Value | |
| DtBaseHla1516Value (const DtString &name, DtU32 handle, const DtLgrVariableLengthData &code) | |
| Main constructor. More... | |
| virtual | ~DtBaseHla1516Value () |
| Destructor. More... | |
| DtBaseHla1516Value (const DtBaseHla1516Value &src) | |
| Copy constructor. More... | |
| DtBaseHla1516Value & | operator= (const DtBaseHla1516Value &src) |
| Assignment operator. More... | |
| const DtLgrVariableLengthData & | encodedHandle () const |
| Get the encoded handle. More... | |
| const void * | code () const |
| Return the encoded handle data.. More... | |
| int | codeLength () const |
| Return the encoded handle size. More... | |
| void | setCode (const DtLgrVariableLengthData &code) |
| Set the encoded handle. More... | |
| void | setCode (const void *data, int size) |
| Set the encoded handle. More... | |
Additional Inherited Members | |
Public Types inherited from MAKLogger::DtBaseHlaClass< ValueType > | |
| typedef std::vector< ValueType > | ValueVector |
| typedef ValueVector::iterator | iterator |
| typedef ValueVector::const_iterator | const_iterator |
Base class representing any HLA 1516 class.
| MAKLogger::DtBaseHla1516Class< ValueType >::DtBaseHla1516Class | ( | const DtString & | name, |
| DtBaseHlaClass< ValueType > * | baseClass, | ||
| DtLgrHlaHandle | handle, | ||
| const DtLgrVariableLengthData & | code | ||
| ) |
Constructor with valid pointer to base class object.
| MAKLogger::DtBaseHla1516Class< ValueType >::DtBaseHla1516Class | ( | const DtString & | name, |
| const DtString & | baseClassName, | ||
| DtLgrHlaHandle | handle, | ||
| const DtLgrVariableLengthData & | code | ||
| ) |
Constructor with only the base class name.
| MAKLogger::DtBaseHla1516Class< ValueType >::DtBaseHla1516Class | ( | const DtBaseHla1516Class< ValueType > & | src | ) |
Copy constructor.
|
virtual |
DTOR.
| ValueType* MAKLogger::DtBaseHla1516Class< ValueType >::findValueByCode | ( | const DtLgrVariableLengthData & | code, |
| bool | thisClassOnly | ||
| ) |
Look up a value by its encoded handle.
If thisClassOnly = true, base classes will not be checked. If thisClassOnly = false if the value is not found in this class the base class findValueByName is called.
| const ValueType* MAKLogger::DtBaseHla1516Class< ValueType >::findValueByCode | ( | const DtLgrVariableLengthData & | code, |
| bool | thisClassOnly | ||
| ) | const |
Look up a value by its encoded handle.
If thisClassOnly = true, base classes will not be checked. If thisClassOnly = false if the value is not found in this class the base class findValueByName is called.
| DtBaseHla1516Class<ValueType>& MAKLogger::DtBaseHla1516Class< ValueType >::operator= | ( | const DtBaseHla1516Class< ValueType > & | src | ) |
Assignment operator.