Main MRPT website > C++ reference for MRPT 1.5.7
Macros | Typedefs | Functions | Variables
xsstring.h File Reference
#include "xstypesconfig.h"
#include "xsarray.h"
#include <wchar.h>
#include <string.h>
Include dependency graph for xsstring.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define XsString_INITIALIZER   XSARRAY_INITIALIZER(&g_xsStringDescriptor)
 
#define XSSTRING_INITIALIZER   XsString_INITIALIZER
 
#define XsString_copy(thisPtr, copy)   XsArray_copy(copy, thisPtr)
 
#define XsString_swap(a, b)   XsArray_swap(a, b)
 

Typedefs

typedef struct XsString XsString
 

Functions

 XSARRAY_STRUCT (XsString, char)
 
XSTYPES_DLL_API void XsString_construct (XsString *thisPtr)
 
XSTYPES_DLL_API void XsString_destruct (XsString *thisPtr)
 
XSTYPES_DLL_API void XsString_assign (XsString *thisPtr, XsSize count, const char *src)
 
XSTYPES_DLL_API void XsString_assignCharArray (XsString *thisPtr, const char *src)
 
XSTYPES_DLL_API void XsString_assignWCharArray (XsString *thisPtr, const wchar_t *src)
 
XSTYPES_DLL_API XsSize XsString_copyToWCharArray (const XsString *thisPtr, wchar_t *dest, XsSize size)
 
XSTYPES_DLL_API void XsString_resize (XsString *thisPtr, XsSize count)
 
XSTYPES_DLL_API void XsString_append (XsString *thisPtr, XsString const *other)
 
XSTYPES_DLL_API void XsString_erase (XsString *thisPtr, XsSize index, XsSize count)
 

Variables

XsArrayDescriptor const XSTYPES_DLL_API g_xsStringDescriptor
 

Macro Definition Documentation

◆ XsString_copy

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

Definition at line 56 of file xsstring.h.

◆ XsString_INITIALIZER

#define XsString_INITIALIZER   XSARRAY_INITIALIZER(&g_xsStringDescriptor)

Definition at line 32 of file xsstring.h.

◆ XSSTRING_INITIALIZER

#define XSSTRING_INITIALIZER   XsString_INITIALIZER

Definition at line 36 of file xsstring.h.

◆ XsString_swap

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

Definition at line 57 of file xsstring.h.

Typedef Documentation

◆ XsString

typedef struct XsString XsString

Definition at line 34 of file xsstring.h.

Function Documentation

◆ XSARRAY_STRUCT()

XSARRAY_STRUCT ( XsString  ,
char   
)

◆ XsString_append()

XSTYPES_DLL_API void XsString_append ( XsString thisPtr,
XsString const *  other 
)

◆ XsString_assign()

XSTYPES_DLL_API void XsString_assign ( XsString thisPtr,
XsSize  count,
const char *  src 
)

◆ XsString_assignCharArray()

XSTYPES_DLL_API void XsString_assignCharArray ( XsString thisPtr,
const char *  src 
)

◆ XsString_assignWCharArray()

XSTYPES_DLL_API void XsString_assignWCharArray ( XsString thisPtr,
const wchar_t *  src 
)

◆ XsString_construct()

XSTYPES_DLL_API void XsString_construct ( XsString thisPtr)

◆ XsString_copyToWCharArray()

XSTYPES_DLL_API XsSize XsString_copyToWCharArray ( const XsString thisPtr,
wchar_t *  dest,
XsSize  size 
)

◆ XsString_destruct()

XSTYPES_DLL_API void XsString_destruct ( XsString thisPtr)

◆ XsString_erase()

XSTYPES_DLL_API void XsString_erase ( XsString thisPtr,
XsSize  index,
XsSize  count 
)

◆ XsString_resize()

XSTYPES_DLL_API void XsString_resize ( XsString thisPtr,
XsSize  count 
)

Variable Documentation

◆ g_xsStringDescriptor

XsArrayDescriptor const XSTYPES_DLL_API g_xsStringDescriptor



Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019