24 #define XSBYTEARRAY_INITIALIZER XSARRAY_INITIALIZER(&g_xsByteArrayDescriptor) 31 #define XsByteArray_ref(thisPtr, sz, src, flags) \ 32 XsArray_ref(thisPtr, sz, src, flags) 33 #define XsByteArray_assign(thisPtr, sz, src) XsArray_assign(thisPtr, sz, src) 34 #define XsByteArray_destruct(thisPtr) XsArray_destruct(thisPtr) 35 #define XsByteArray_copy(thisPtr, copy) XsArray_copy(copy, thisPtr) 36 #define XsByteArray_append(thisPtr, other) XsArray_append(thisPtr, other) 37 #define XsByteArray_popFront(thisPtr, count) XsArray_erase(thisPtr, 0, count) 38 #define XsByteArray_popBack(thisPtr, count) \ 39 XsArray_erase(thisPtr, (XsSize)-1, count) 40 #define XsByteArray_fromString(str, copy) \ 42 copy, str->m_size ? str->m_size : 1, str->m_size ? str->m_data : "\0") 43 #define XsByteArray_swap(a, b) XsArray_swap(a, b) 44 #define XsByteArray_erase(thisPtr, index, count) \ 45 XsArray_erase(thisPtr, index, count) 53 :
public XsArrayImpl<uint8_t, g_xsByteArrayDescriptor, XsByteArray>
67 : ArrayImpl(
ref, sz, flags)
70 #ifndef XSENS_NOITERATOR 73 template <
typename Iterator>
74 inline XsByteArray(Iterator beginIt, Iterator endIt)
75 : ArrayImpl(beginIt, endIt)
84 src.size() + 1,
reinterpret_cast<uint8_t const*
>(
src.c_str()));
GLuint GLuint GLsizei count
This object describes how to treat the data in an array.
struct XsByteArray XsByteArray
size_t XsSize
XsSize must be unsigned number!
XsArrayDescriptor const XSTYPES_DLL_API g_xsByteArrayDescriptor
XSARRAY_STRUCT(XsByteArray, uint8_t)
const_iterator begin() const
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.