Namespaces | Functions
rtcStringTools.h File Reference
#include <string>
#include <vector>
Include dependency graph for rtcStringTools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rtc

Functions

long rtc::lexical_cas_long (const std::string &str, const long lDefault=0)
 converts a string to a long
bool rtc::lexical_cast_bool (const std::string &str, const bool bDefault=false)
 converts a string to a bool
double rtc::lexical_cast_double (const std::string &str, const double dDefault=0.0)
 converts a string to a double
float rtc::lexical_cast_float (const std::string &str, const float fDefault=0.0f)
 converts a string to a float
int rtc::lexical_cast_int (const std::string &str, const int nDefault=0)
 converts a string to an integer
std::string rtc::lexical_cast_string (const double &var)
 converts a double to a string
std::string rtc::lexical_cast_string (const float &var)
 converts a float to a string
std::string rtc::lexical_cast_string (const bool &var)
 converts a bool to a string
std::string rtc::lexical_cast_string (const int &var)
 converts an integer to a string
void rtc::split_string (const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=" ")
 split string into a number of tokens
std::string & rtc::trim (std::string &str)
 trim leading an trailing spaces


rtc
Author(s): Benjamin Pitzer
autogenerated on Thu Jan 2 2014 11:04:54