DUECA/DUSIME
|
Base class with common elements for both anonymous/introspective read and write access to channel data. More...
#include <CommObjectReaderWriter.hxx>
Public Member Functions | |
CommObjectReaderWriter (const char *classname) | |
Constructor, for testing purposes, and for recursively accessing complex objects. | |
~CommObjectReaderWriter () | |
Destructor. | |
const char * | getMemberName (unsigned i) const |
Return an element name based on index. | |
const char * | getMemberClass (unsigned i) const |
Return an element's class based on index. | |
const char * | getMemberKeyClass (unsigned i) const |
Return an element's key class based on index. | |
MemberArity | getMemberArity (unsigned i) const |
Return the member arity. | |
size_t | getMemberSize (unsigned i) const |
Get member fixed length, if available. | |
const char * | getClassname () const |
Return the classname of the currently written or read type; typically for debugging messages. | |
size_t | getNumMembers () const |
Determine the number of members in the object. | |
CommObjectReaderWriter & | operator= (const CommObjectReaderWriter &o) |
assignment, needed for temporary copy MSGPACKtoDCO | |
Protected Attributes | |
DataClassRegistry_entry_type | entry |
entry giving the class information | |
Base class with common elements for both anonymous/introspective read and write access to channel data.
Constructor, for testing purposes, and for recursively accessing complex objects.
classname | Type of data; must match, or the result is nonsense! |
Return an element name based on index.
DataClassMemberNotFound |
Return an element's class based on index.
DataClassMemberNotFound |
Return an element's key class based on index.
DataClassMemberNotFound |