StringHelpers.h File Reference
#include "Math/ExtendedMath.h"
#include <string>

Go to the source code of this file.

Namespaces

 helpers
 

Functions

std::string helpers::lower (std::string s)
 returns the input string after converting upper-case characters to lower case More...
 
void helpers::getLineFromStringStream (std::istream &in, std::stringstream &out)
 Reads a line from one stringstream into another, and prepares the latter for reading in. More...
 
bool helpers::isNext (std::istream &is, const std::string name)
 
bool helpers::compare (std::istream &is, std::string s)
 Checks if the next argument in the input stream is a certain string. More...
 
std::string helpers::toString (Mdouble value, unsigned precision)
 converts a floating point number into a string with a given precision More...
 
template<typename T >
std::string helpers::toString (const T &n)
 
template<typename T >
std::string helpers::toString (const std::vector< T > &vec)