SERIALBOX_API serialboxFieldMetainfo_t * | serialboxFieldMetainfoCreate (enum serialboxTypeID type, const int *dimensions, int numDimensions) |
Construct a meta-information for a field. More... | |
SERIALBOX_API serialboxFieldMetainfo_t * | serialboxFieldMetainfoCreateFromFieldMetainfo (const serialboxFieldMetainfo_t *other) |
Copy construct the FieldMetainfoImpl. More... | |
SERIALBOX_API void | serialboxFieldMetainfoDestroy (serialboxFieldMetainfo_t *fieldMetainfo) |
Destroy the field meta-information and deallocate all memory. More... | |
SERIALBOX_API int | serialboxFieldMetainfoEqual (const serialboxFieldMetainfo_t *f1, const serialboxFieldMetainfo_t *f2) |
Check if FieldMetainfoImpl f1 is equal to FieldMetainfoImpl f2 More... | |
SERIALBOX_API char * | serialboxFieldMetainfoToString (const serialboxFieldMetainfo_t *fieldMetainfo) |
Convert to string. More... | |
SERIALBOX_API enum serialboxTypeID | serialboxFieldMetainfoGetTypeID (const serialboxFieldMetainfo_t *fieldMetainfo) |
Get type-id. More... | |
SERIALBOX_API const int * | serialboxFieldMetainfoGetDimensions (const serialboxFieldMetainfo_t *fieldMetainfo) |
Get dimensions. More... | |
SERIALBOX_API int | serialboxFieldMetainfoGetNumDimensions (const serialboxFieldMetainfo_t *fieldMetainfo) |
Get number of dimensions. More... | |
SERIALBOX_API serialboxMetainfo_t * | serialboxFieldMetainfoGetMetainfo (serialboxFieldMetainfo_t *fieldMetainfo) |
Allocate a new serialboxMetainfo_t which maps to the meta-information of the Field meta-information. More... | |
SERIALBOX_API serialboxFieldMetainfo_t* serialboxFieldMetainfoCreate | ( | enum serialboxTypeID | type, |
const int * | dimensions, | ||
int | numDimensions | ||
) |
Construct a meta-information for a field.
type | TypeID of the described field |
dimensions | Array of dimensions |
numDimensions | Number of dimensions |
Definition at line 24 of file FieldMetainfo.cpp.
SERIALBOX_API serialboxFieldMetainfo_t* serialboxFieldMetainfoCreateFromFieldMetainfo | ( | const serialboxFieldMetainfo_t * | other | ) |
Copy construct the FieldMetainfoImpl.
other | FieldMetainfoImpl to copy from |
Definition at line 41 of file FieldMetainfo.cpp.
SERIALBOX_API void serialboxFieldMetainfoDestroy | ( | serialboxFieldMetainfo_t * | fieldMetainfo | ) |
Destroy the field meta-information and deallocate all memory.
fieldMetainfo | Field meta-information to use |
Definition at line 55 of file FieldMetainfo.cpp.
SERIALBOX_API int serialboxFieldMetainfoEqual | ( | const serialboxFieldMetainfo_t * | f1, |
const serialboxFieldMetainfo_t * | f2 | ||
) |
Check if FieldMetainfoImpl f1
is equal to FieldMetainfoImpl f2
f1 | First FieldMetainfoImpl to use |
f2 | Second FieldMetainfoImpl to use |
f1 == f2
, 0 otherwise Definition at line 68 of file FieldMetainfo.cpp.
SERIALBOX_API const int* serialboxFieldMetainfoGetDimensions | ( | const serialboxFieldMetainfo_t * | fieldMetainfo | ) |
Get dimensions.
fieldMetainfo | Field meta-information to use |
int
s of size serialboxFieldMetainfoGetNumDimensions
Definition at line 89 of file FieldMetainfo.cpp.
SERIALBOX_API serialboxMetainfo_t* serialboxFieldMetainfoGetMetainfo | ( | serialboxFieldMetainfo_t * | fieldMetainfo | ) |
Allocate a new serialboxMetainfo_t
which maps to the meta-information of the Field meta-information.
fieldMetainfo | Field meta-information to use |
Definition at line 103 of file FieldMetainfo.cpp.
SERIALBOX_API int serialboxFieldMetainfoGetNumDimensions | ( | const serialboxFieldMetainfo_t * | fieldMetainfo | ) |
Get number of dimensions.
fieldMetainfo | Field meta-information to use |
Definition at line 94 of file FieldMetainfo.cpp.
SERIALBOX_API enum serialboxTypeID serialboxFieldMetainfoGetTypeID | ( | const serialboxFieldMetainfo_t * | fieldMetainfo | ) |
Get type-id.
fieldMetainfo | Field meta-information to use |
Definition at line 84 of file FieldMetainfo.cpp.
SERIALBOX_API char* serialboxFieldMetainfoToString | ( | const serialboxFieldMetainfo_t * | fieldMetainfo | ) |
Convert to string.
The function will allocate a sufficiently large char
buffer (using malloc()) which needs be freed by the user using free().
fieldMetainfo | Field meta-information to use |
Definition at line 75 of file FieldMetainfo.cpp.