MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
Functions | |
template<class Field , class T , auto Ptr> | |
void * | access (void *p) |
Type | serializedType (const TypeInfo &type) |
Determines the type used for serialization purposes. More... | |
constexpr size_t | serializedSizeForBasicType (Type type, const void *info=nullptr) |
Gets the size of a basic type (including bitfields and enums if class_ is not NULL). More... | |
constexpr size_t | serializedSizeForBasicType (const TypeInfo &type) |
constexpr const char * | nameForBasicType (Type type) |
constexpr const char * | nameOfType (const TypeInfo &type) |
void* mip::metadata::utils::access | ( | void * | p | ) |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Gets the size of a basic type (including bitfields and enums if class_ is not NULL).
Determines the type used for serialization purposes.
This essentially translates bitfields and enums to their underlying types.