Main MRPT website > C++ reference for MRPT 1.5.9
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_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)   XsArray_assign(copy, str->m_size?str->m_size:1, str->m_size?str->m_data:"\0")
 
#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 33 of file xsbytearray.h.

◆ XsByteArray_assign

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

Definition at line 30 of file xsbytearray.h.

◆ XsByteArray_copy

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

Definition at line 32 of file xsbytearray.h.

◆ XsByteArray_destruct

#define XsByteArray_destruct (   thisPtr)    XsArray_destruct(thisPtr)

Definition at line 31 of file xsbytearray.h.

◆ XsByteArray_erase

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

Definition at line 38 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 36 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 35 of file xsbytearray.h.

◆ XsByteArray_popFront

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

Definition at line 34 of file xsbytearray.h.

◆ XsByteArray_ref

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

Definition at line 29 of file xsbytearray.h.

◆ XsByteArray_swap

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

Definition at line 37 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.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020