MRPT  1.9.9
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_INITIALIZER   XSARRAY_INITIALIZER(&g_xsByteArrayDescriptor)
 
#define XsByteArray_ref(thisPtr, sz, src, flags)   XsArray_ref(thisPtr, sz, src, flags)
 
#define XsByteArray_assign(thisPtr, sz, src)   XsArray_assign(thisPtr, sz, src)
 
#define XsByteArray_destruct(thisPtr)   XsArray_destruct(thisPtr)
 
#define XsByteArray_copy(thisPtr, copy)   XsArray_copy(copy, thisPtr)
 
#define XsByteArray_append(thisPtr, other)   XsArray_append(thisPtr, other)
 
#define XsByteArray_popFront(thisPtr, count)   XsArray_erase(thisPtr, 0, count)
 
#define XsByteArray_popBack(thisPtr, count)   XsArray_erase(thisPtr, (XsSize)-1, count)
 
#define XsByteArray_fromString(str, copy)
 
#define XsByteArray_swap(a, b)   XsArray_swap(a, b)
 
#define XsByteArray_erase(thisPtr, index, count)   XsArray_erase(thisPtr, index, count)
 

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

XsArrayDescriptor const XSTYPES_DLL_API g_xsByteArrayDescriptor
 

Macro Definition Documentation

◆ XsByteArray_append

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

Definition at line 35 of file xsbytearray.h.

◆ XsByteArray_assign

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

Definition at line 32 of file xsbytearray.h.

◆ XsByteArray_copy

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

Definition at line 34 of file xsbytearray.h.

◆ XsByteArray_destruct

#define XsByteArray_destruct (   thisPtr)    XsArray_destruct(thisPtr)

Definition at line 33 of file xsbytearray.h.

◆ XsByteArray_erase

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

Definition at line 43 of file xsbytearray.h.

◆ XsByteArray_fromString

#define XsByteArray_fromString (   str,
  copy 
)
Value:
copy, str->m_size ? str->m_size : 1, str->m_size ? str->m_data : "\0")
XSTYPES_DLL_API void XsArray_assign(void *thisPtr, XsSize count, void const *src)

Definition at line 39 of file xsbytearray.h.

◆ XSBYTEARRAY_INITIALIZER

#define XSBYTEARRAY_INITIALIZER   XSARRAY_INITIALIZER(&g_xsByteArrayDescriptor)

Definition at line 23 of file xsbytearray.h.

◆ XsByteArray_popBack

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

Definition at line 37 of file xsbytearray.h.

◆ XsByteArray_popFront

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

Definition at line 36 of file xsbytearray.h.

◆ XsByteArray_ref

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

Definition at line 30 of file xsbytearray.h.

◆ XsByteArray_swap

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

Definition at line 42 of file xsbytearray.h.

Typedef Documentation

◆ XsByteArray

typedef struct XsByteArray XsByteArray

Definition at line 25 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 
)

Variable Documentation

◆ g_xsByteArrayDescriptor

XsArrayDescriptor const XSTYPES_DLL_API g_xsByteArrayDescriptor



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020