#include <gimbal_meta.hpp>
|
template<typename V = MetaTypeVTable<T>> |
requires std::is_base_of_v< GblMetaTypeVTable, V > | MetaType (const V *pVTable, const char *pTypeName="Unknown") |
|
const char * | getTypeName (void) const |
|
MetaTypeId | getMetaTypeId (void) const |
|
auto | getFlags (void) const |
|
Size | getSize (void) const |
|
Size | getAlignment (void) const |
|
Size | getVTableSize (void) const |
|
T * | create (Context *pCtx, const Variant &variant) const |
|
void | construct (Context *pCtx, T *pData, const Variant &variant) const |
|
void | destroy (Context *pCtx, T *pData) const |
|
void | destruct (Context *pCtx, T *pData) const |
|
void | convert (Context *pCtx, const T *pData, Variant *pTo) const |
|
gimbal::Int | compare (Context *pCtx, const T *pData, const Variant &rhs) const |
|
bool | compare (Context *pCtx, const T *pData, const Variant &rhs, Variant::OpCmpType cmpType) const |
|
bool | serialize (Context *pCtx, const T *pData, void *pBuffer, Size *pSize) const |
|
bool | deserialize (Context *pCtx, T *pData, const void *pBuffer, Size *pSize) const |
|
template<typename T = void>
class gimbal::MetaType< T >
Definition at line 160 of file gimbal_meta.hpp.
◆ MetaType()
requires std::is_base_of_v<GblMetaTypeVTable, V> MetaType |
( |
const V * |
pVTable, |
|
|
const char * |
pTypeName = "Unknown" |
|
) |
| |
|
inline |
◆ compare() [1/2]
◆ compare() [2/2]
bool compare |
( |
Context * |
pCtx, |
|
|
const T * |
pData, |
|
|
const Variant & |
rhs, |
|
|
Variant::OpCmpType |
cmpType |
|
) |
| const |
|
inline |
◆ construct()
void construct |
( |
Context * |
pCtx, |
|
|
T * |
pData, |
|
|
const Variant & |
variant |
|
) |
| const |
|
inline |
◆ convert()
void convert |
( |
Context * |
pCtx, |
|
|
const T * |
pData, |
|
|
Variant * |
pTo |
|
) |
| const |
|
inline |
◆ create()
T* create |
( |
Context * |
pCtx, |
|
|
const Variant & |
variant |
|
) |
| const |
|
inline |
◆ deserialize()
bool deserialize |
( |
Context * |
pCtx, |
|
|
T * |
pData, |
|
|
const void * |
pBuffer, |
|
|
Size * |
pSize |
|
) |
| const |
|
inline |
◆ destroy()
void destroy |
( |
Context * |
pCtx, |
|
|
T * |
pData |
|
) |
| const |
|
inline |
◆ destruct()
void destruct |
( |
Context * |
pCtx, |
|
|
T * |
pData |
|
) |
| const |
|
inline |
◆ getAlignment()
Size getAlignment |
( |
void |
| ) |
const |
|
inline |
◆ getFlags()
auto getFlags |
( |
void |
| ) |
const |
|
inline |
◆ getMetaTypeId()
MetaTypeId getMetaTypeId |
( |
void |
| ) |
const |
|
inline |
◆ getSize()
Size getSize |
( |
void |
| ) |
const |
|
inline |
◆ getTypeName()
const char* getTypeName |
( |
void |
| ) |
const |
|
inline |
◆ getVTableSize()
Size getVTableSize |
( |
void |
| ) |
const |
|
inline |
◆ serialize()
bool serialize |
( |
Context * |
pCtx, |
|
|
const T * |
pData, |
|
|
void * |
pBuffer, |
|
|
Size * |
pSize |
|
) |
| const |
|
inline |
The documentation for this class was generated from the following file: