PLearn 0.1
|
Go to the source code of this file.
Namespaces | |
namespace | PLearn |
< for swap | |
Functions | |
double | PLearn::pl_strtod (const char *nptr, char **endptr) |
Conversion from string to double or float. | |
float | PLearn::pl_strtof (const char *nptr, char **endptr) |
bool | PLearn::pl_isnumber (const string &s, double *dbl=NULL) |
This function handles numbers with exponents (such as 10.2E09) as well as Nans. | |
bool | PLearn::pl_isnumber (const string &str, float *dbl) |
bool | PLearn::pl_islong (const string &s) |
long | PLearn::tolong (const string &s, int base=10) |
conversions from string to numerical types | |
double | PLearn::todouble (const string &s) |
bool | PLearn::tobool (const string &s) |
float | PLearn::tofloat (const string &s) |
int | PLearn::toint (const string &s, int base=10) |
template<class T > | |
T | PLearn::lexical_cast (const string &str) |
Utility function to convert any string to a C++ object using the PStream deserialisation mechanism. |
Definition in file lexical_cast.h.