Electronics and Software
Engineering Innovation
Beam-lib  2.15.1
BString.h File Reference
#include <BTypes.h>
#include <BRefData.h>
#include <BList.h>
#include <BArray.h>
#include <iostream>

Classes

class  BString
 

Functions

std::ostream & operator<< (std::ostream &o, BString &s)
 
std::istream & operator>> (std::istream &i, BString &s)
 
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)
 

Function Documentation

◆ 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

◆ fromBString() [1/6]

void fromBString ( BString s,
BString v 
)

◆ fromBString() [2/6]

void fromBString ( BString s,
BStringList &  v 
)

◆ fromBString() [3/6]

void fromBString ( BString s,
BInt32 v 
)

◆ fromBString() [4/6]

void fromBString ( BString s,
BUInt32 v 
)

◆ fromBString() [5/6]

void fromBString ( BString s,
BUInt64 v 
)

◆ fromBString() [6/6]

void fromBString ( BString s,
BFloat64 v 
)

◆ 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 
)

◆ operator<<()

std::ostream& operator<< ( std::ostream &  o,
BString s 
)

◆ operator>>()

std::istream& operator>> ( std::istream &  i,
BString s 
)

◆ to_hex()

char to_hex ( char  code)
inline

◆ toBString() [1/6]

void toBString ( BString v,
BString s 
)

◆ toBString() [2/6]

void toBString ( BStringList &  v,
BString s 
)

◆ toBString() [3/6]

void toBString ( BInt32 v,
BString s 
)

◆ toBString() [4/6]

void toBString ( BUInt32 v,
BString s 
)

◆ toBString() [5/6]

void toBString ( BUInt64 v,
BString s 
)

◆ toBString() [6/6]

void toBString ( BFloat64 v,
BString s 
)