23 #define XSBYTEARRAY_INITIALIZER XSARRAY_INITIALIZER(&g_xsByteArrayDescriptor) 29 #define XsByteArray_ref(thisPtr, sz, src, flags) XsArray_ref(thisPtr, sz, src, flags) 30 #define XsByteArray_assign(thisPtr, sz, src) XsArray_assign(thisPtr, sz, src) 31 #define XsByteArray_destruct(thisPtr) XsArray_destruct(thisPtr) 32 #define XsByteArray_copy(thisPtr, copy) XsArray_copy(copy, thisPtr) 33 #define XsByteArray_append(thisPtr, other) XsArray_append(thisPtr, other) 34 #define XsByteArray_popFront(thisPtr, count) XsArray_erase(thisPtr, 0, count) 35 #define XsByteArray_popBack(thisPtr, count) XsArray_erase(thisPtr, (XsSize)-1, count) 36 #define XsByteArray_fromString(str, copy) XsArray_assign(copy, str->m_size?str->m_size:1, str->m_size?str->m_data:"\0") 37 #define XsByteArray_swap(a, b) XsArray_swap(a, b) 38 #define XsByteArray_erase(thisPtr, index, count) XsArray_erase(thisPtr, index, count) 45 struct XsByteArray :
public XsArrayImpl<uint8_t, g_xsByteArrayDescriptor, XsByteArray> {
60 : ArrayImpl(
ref, sz, flags)
63 #ifndef XSENS_NOITERATOR 65 template <
typename Iterator>
66 inline XsByteArray(Iterator beginIt, Iterator endIt)
67 : ArrayImpl(beginIt, endIt)
GLuint GLuint GLsizei count
This object describes how to treat the data in an array.
struct XsByteArray XsByteArray
EIGEN_STRONG_INLINE iterator begin()
size_t XsSize
XsSize must be unsigned number!
XsArrayDescriptor const XSTYPES_DLL_API g_xsByteArrayDescriptor
XSARRAY_STRUCT(XsByteArray, uint8_t)
EIGEN_STRONG_INLINE void assign(const Scalar v)
XSTYPES_DLL_API void XsByteArray_construct(XsByteArray *thisPtr, XsSize count, uint8_t const *src)
GLsizei GLsizei GLenum GLenum const GLvoid * data
XsDataFlags
These flags define the behaviour of data contained by Xsens data structures.