HDK
|
#include <TypeDesc.h>
Public Member Functions | |
void | registerType (TypeDesc type) |
Register an existing type decription. More... | |
void | registerType (const string &name, uint8_t basetype, uint8_t semantic, uint16_t size, StructMemberDescVecPtr members=nullptr) |
Create and register a new type description. More... | |
TypeDesc | getType (const string &name) const |
const TypeDescVec & | getTypes () const |
Return all registered type descriptions. More... | |
Static Public Member Functions | |
static TypeSystemPtr | create () |
Create a new type system. More... | |
Protected Member Functions | |
TypeSystem () | |
Class handling registration, storage and query of type descriptions.
Definition at line 223 of file TypeDesc.h.
|
protected |
|
static |
Create a new type system.
Return a type description by name. If no type is found Type::NONE is returned.
|
inline |
Return all registered type descriptions.
Definition at line 240 of file TypeDesc.h.
void TypeSystem::registerType | ( | const string & | name, |
uint8_t | basetype, | ||
uint8_t | semantic, | ||
uint16_t | size, | ||
StructMemberDescVecPtr | members = nullptr |
||
) |
Create and register a new type description.