Main MRPT website > C++ reference for MRPT 1.5.6
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

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

Definition at line 33 of file xsbytearray.h.

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

Definition at line 30 of file xsbytearray.h.

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

Definition at line 32 of file xsbytearray.h.

#define XsByteArray_destruct (   thisPtr)    XsArray_destruct(thisPtr)

Definition at line 31 of file xsbytearray.h.

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

Definition at line 38 of file xsbytearray.h.

#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.

#define XSBYTEARRAY_INITIALIZER   XSARRAY_INITIALIZER(&g_xsByteArrayDescriptor)

Definition at line 23 of file xsbytearray.h.

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

Definition at line 35 of file xsbytearray.h.

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

Definition at line 34 of file xsbytearray.h.

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

Definition at line 29 of file xsbytearray.h.

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

Definition at line 37 of file xsbytearray.h.

Typedef Documentation

typedef struct XsByteArray XsByteArray

Definition at line 25 of file xsbytearray.h.

Function Documentation

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

Variable Documentation

XsArrayDescriptor const XSTYPES_DLL_API g_xsByteArrayDescriptor



Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018