Macros | Typedefs | Functions | Variables
xsbytearray.h File Reference
#include "xsarray.h"
#include "pstdint.h"
Include dependency graph for xsbytearray.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define XsByteArray_append(thisPtr, other)   XsArray_append(thisPtr, other)
 
#define XsByteArray_assign(thisPtr, sz, src)   XsArray_assign(thisPtr, sz, src)
 
#define XsByteArray_copy(thisPtr, copy)   XsArray_copy(copy, thisPtr)
 
#define XsByteArray_destruct(thisPtr)   XsArray_destruct(thisPtr)
 
#define XsByteArray_erase(thisPtr, index, count)   XsArray_erase(thisPtr, index, count)
 
#define XsByteArray_fromString(str, copy)   XsArray_assign(copy, str->m_size?str->m_size:1, str->m_size?str->m_data:"\0")
 
#define XSBYTEARRAY_INITIALIZER   XSARRAY_INITIALIZER(&g_xsByteArrayDescriptor)
 
#define XsByteArray_popBack(thisPtr, count)   XsArray_erase(thisPtr, (XsSize)-1, count)
 
#define XsByteArray_popFront(thisPtr, count)   XsArray_erase(thisPtr, 0, count)
 
#define XsByteArray_ref(thisPtr, sz, src, flags)   XsArray_ref(thisPtr, sz, src, flags)
 
#define XsByteArray_swap(a, b)   XsArray_swap(a, b)
 

Typedefs

typedef struct XsByteArray XsByteArray
 

Functions

 XSARRAY_STRUCT (XsByteArray, uint8_t)
 
XSTYPES_DLL_API void XsByteArray_construct (XsByteArray *thisPtr, XsSize count, uint8_t const *src)
 

Variables

const XsArrayDescriptor XSTYPES_DLL_API g_xsByteArrayDescriptor
 Descriptor for XsByteArray. More...
 

Macro Definition Documentation

◆ XsByteArray_append

#define XsByteArray_append (   thisPtr,
  other 
)    XsArray_append(thisPtr, other)

Definition at line 89 of file xsbytearray.h.

◆ XsByteArray_assign

#define XsByteArray_assign (   thisPtr,
  sz,
  src 
)    XsArray_assign(thisPtr, sz, src)

Definition at line 86 of file xsbytearray.h.

◆ XsByteArray_copy

#define XsByteArray_copy (   thisPtr,
  copy 
)    XsArray_copy(copy, thisPtr)

Definition at line 88 of file xsbytearray.h.

◆ XsByteArray_destruct

#define XsByteArray_destruct (   thisPtr)    XsArray_destruct(thisPtr)

Definition at line 87 of file xsbytearray.h.

◆ XsByteArray_erase

#define XsByteArray_erase (   thisPtr,
  index,
  count 
)    XsArray_erase(thisPtr, index, count)

Definition at line 94 of file xsbytearray.h.

◆ XsByteArray_fromString

#define XsByteArray_fromString (   str,
  copy 
)    XsArray_assign(copy, str->m_size?str->m_size:1, str->m_size?str->m_data:"\0")

Definition at line 92 of file xsbytearray.h.

◆ XSBYTEARRAY_INITIALIZER

#define XSBYTEARRAY_INITIALIZER   XSARRAY_INITIALIZER(&g_xsByteArrayDescriptor)

Definition at line 79 of file xsbytearray.h.

◆ XsByteArray_popBack

#define XsByteArray_popBack (   thisPtr,
  count 
)    XsArray_erase(thisPtr, (XsSize)-1, count)

Definition at line 91 of file xsbytearray.h.

◆ XsByteArray_popFront

#define XsByteArray_popFront (   thisPtr,
  count 
)    XsArray_erase(thisPtr, 0, count)

Definition at line 90 of file xsbytearray.h.

◆ XsByteArray_ref

#define XsByteArray_ref (   thisPtr,
  sz,
  src,
  flags 
)    XsArray_ref(thisPtr, sz, src, flags)

Definition at line 85 of file xsbytearray.h.

◆ XsByteArray_swap

#define XsByteArray_swap (   a,
 
)    XsArray_swap(a, b)

Definition at line 93 of file xsbytearray.h.

Typedef Documentation

◆ XsByteArray

typedef struct XsByteArray XsByteArray

Definition at line 81 of file xsbytearray.h.

Function Documentation

◆ XSARRAY_STRUCT()

XSARRAY_STRUCT ( XsByteArray  ,
uint8_t   
)

◆ XsByteArray_construct()

XSTYPES_DLL_API void XsByteArray_construct ( XsByteArray thisPtr,
XsSize  count,
uint8_t const *  src 
)
related

Variable Documentation

◆ g_xsByteArrayDescriptor

const XsArrayDescriptor XSTYPES_DLL_API g_xsByteArrayDescriptor

Descriptor for XsByteArray.

Definition at line 103 of file xsbytearray.c.



xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:21