DABC (Data Acquisition Backbone Core)  2.9.9
Data Structures | Namespaces | Functions
string.h File Reference
#include <string>

Go to the source code of this file.

Data Structures

class  dabc::NumericLocale
 

Namespaces

 dabc
 Event manipulation API.
 

Functions

std::string dabc::format (const char *fmt,...)
 
void dabc::formats (std::string &sbuf, const char *fmt,...)
 
std::string dabc::number_to_str (unsigned long num, int prec=1, int select=0)
 Convert number to string of form like 4.2G or 3.7M. More...
 
std::string dabc::replace_all (const std::string &str, const std::string &match, const std::string &replace)
 Replace all matches in the string. More...
 
std::string dabc::size_to_str (unsigned long sz, int prec=1, int select=0)
 Convert size to string of form like 4.2 GB or 3.7 MB. More...
 
bool dabc::str_to_bool (const char *val, bool *res)
 Convert string to bool value. More...
 
bool dabc::str_to_double (const char *val, double *res)
 Convert string to double value. More...
 
bool dabc::str_to_int (const char *val, int *res)
 Convert string to integer value. More...
 
bool dabc::str_to_lint (const char *val, long *res)
 Convert string to long integer value. More...
 
bool dabc::str_to_luint (const char *val, long unsigned *res)
 Convert string to long unsigned integer value One could use hexadecimal (in form 0xabc100) or decimal format. More...
 
bool dabc::str_to_uint (const char *val, unsigned *res)
 Convert string to unsigned integer value One could use hexadecimal (in form 0xabc100) or decimal format. More...