PLearn 0.1
|
#include "lexical_cast.h"
#include <plearn/base/plerror.h>
#include <plearn/math/pl_math.h>
#include <plearn/base/stringutils.h>
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) |
Definition in file lexical_cast.cc.