ArmSys Support
ArmsysApi  0.12.18
BString.h File Reference
#include <BTypes.h>
#include <BList.h>
#include <ctype.h>

Classes

struct  BRefData
 
class  BRefString
 
class  BString
 

Typedefs

typedef BList< BStringBStringList
 

Functions

int bstringListinList (BStringList &l, BString s)
 
BString blistToString (const BStringList &list)
 Convert a string list to a comma separated string. More...
 
BStringList bstringToList (BString str, int stripSpaces=0)
 Convert a comma separated string to a string list. More...
 
char from_hex (char ch)
 
char to_hex (char code)
 
char * bstrncpy (char *dest, const char *src, size_t n)
 
char * bstrtrim (char *str)
 
const char * intToString (char *str, BUInt strLen, int value, int base=10)
 
const char * int64ToString (char *str, BUInt strLen, BInt64 value, int base=10)
 
const char * floatToString (char *str, BUInt strLen, BFloat32 f, BUInt precision)
 

Typedef Documentation

◆ BStringList

Function Documentation

◆ blistToString()

BString blistToString ( const BStringList list)

Convert a string list to a comma separated string.

◆ bstringListinList()

int bstringListinList ( BStringList l,
BString  s 
)

◆ bstringToList()

BStringList bstringToList ( BString  str,
int  stripSpaces = 0 
)

Convert a comma separated string to a string list.

◆ bstrncpy()

char* bstrncpy ( char *  dest,
const char *  src,
size_t  n 
)

◆ bstrtrim()

char* bstrtrim ( char *  str)

◆ floatToString()

const char* floatToString ( char *  str,
BUInt  strLen,
BFloat32  f,
BUInt  precision 
)

◆ from_hex()

char from_hex ( char  ch)
inline

◆ int64ToString()

const char* int64ToString ( char *  str,
BUInt  strLen,
BInt64  value,
int  base = 10 
)

◆ intToString()

const char* intToString ( char *  str,
BUInt  strLen,
int  value,
int  base = 10 
)

◆ to_hex()

char to_hex ( char  code)
inline