This object describes how to treat the data in an array.
Ususally there is one static instance per type of array that will be used by all XsArrays of that type.
#include <xSens_MT4/xstypes/include/xsens/xsarray.h>
Public Attributes | |
const XsSize | itemSize |
The size of an array item in bytes. More... | |
void(* | itemSwap )(void *a, void *b) |
The function to use for swapping the data of two array items. More... | |
void(* | itemConstruct )(void *e) |
The function to use for constructing a new array item. More... | |
void(* | itemCopyConstruct )(void *e, void const *s) |
The function to use for constructing a new array item with a source initializer. More... | |
void(* | itemDestruct )(void *e) |
The function to use for destructing a array item. More... | |
void(* | itemCopy )(void *to, void const *from) |
The function to use for copying the data of from to to. More... | |
int(* | itemCompare )(void const *a, void const *b) |
The function to use for comparing two items. More... | |
The function to use for comparing two items.
a | Left hand side of comparison. |
b | Right hand side of comparison. |
const XsSize XsArrayDescriptor::itemSize |
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |