Beamlib 3.3.2
This is the Beam C++ class library.
|
#include <BTypes.h>
#include <BRefData.h>
#include <BList.h>
#include <BArray.h>
#include <iostream>
Go to the source code of this file.
Classes | |
class | BString |
This class stores and manipulates ASCII strings. More... | |
Typedefs | |
typedef BList< BString > | BStringList |
typedef BArray< BString > | BStringArray |
Functions | |
std::ostream & | operator<< (std::ostream &o, BString &s) |
std::istream & | operator>> (std::istream &i, BString &s) |
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... | |
BStringList | charToList (const char **str) |
BString | barrayToString (const BStringArray &list) |
Convert a string array to a comma separated string. More... | |
BStringArray | bstringToArray (BString str, int stripSpaces=0) |
Convert a comma separated string to a string array. More... | |
BStringArray | charToArray (const char **str) |
void | toBString (BString &v, BString &s) |
void | toBString (BStringList &v, BString &s) |
void | toBString (BInt32 &v, BString &s) |
void | toBString (BUInt32 &v, BString &s) |
void | toBString (BUInt64 &v, BString &s) |
void | toBString (BFloat64 &v, BString &s) |
void | fromBString (BString &s, BString &v) |
void | fromBString (BString &s, BStringList &v) |
void | fromBString (BString &s, BInt32 &v) |
void | fromBString (BString &s, BUInt32 &v) |
void | fromBString (BString &s, BUInt64 &v) |
void | fromBString (BString &s, BFloat64 &v) |
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 BList<BString> BStringList |
typedef BArray<BString> BStringArray |
std::ostream & operator<< | ( | std::ostream & | o, |
BString & | s | ||
) |
std::istream & operator>> | ( | std::istream & | i, |
BString & | s | ||
) |
int bstringListinList | ( | BStringList & | l, |
BString | s | ||
) |
BString blistToString | ( | const BStringList & | list | ) |
Convert a string list to a comma separated string.
BStringList bstringToList | ( | BString | str, |
int | stripSpaces = 0 |
||
) |
Convert a comma separated string to a string list.
BStringList charToList | ( | const char ** | str | ) |
BString barrayToString | ( | const BStringArray & | list | ) |
Convert a string array to a comma separated string.
BStringArray bstringToArray | ( | BString | str, |
int | stripSpaces = 0 |
||
) |
Convert a comma separated string to a string array.
BStringArray charToArray | ( | const char ** | str | ) |
void toBString | ( | BStringList & | v, |
BString & | s | ||
) |
void fromBString | ( | BString & | s, |
BStringList & | v | ||
) |
|
inline |
|
inline |
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 |
||
) |