LifeV
StringUtility.hpp File Reference

String utilities. More...

#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iosfwd>
#include <sstream>
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include <lifev/core/LifeV.hpp>
+ Include dependency graph for StringUtility.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 LifeV
 Default Physical Solver.
 

Functions

std::istream & eatLine (std::istream &s)
 
std::istream & eatComments (std::istream &s)
 skip lines starting with '!%#;$' More...
 
std::istream & nextGoodLine (std::istream &s, std::string &line)
 gets next uncommented line More...
 
std::string & setStringLength (std::string &s, unsigned int len, char c)
 
int atoi (const std::string &s)
 extends atoi to STL std::strings (from Stroustrup) More...
 
std::string operator+ (const std::string &str, const int i)
 
std::string operator+ (const std::string &str, const long int i)
 
std::string operator+ (const std::string &str, const unsigned int i)
 
template<typename EntryType >
void parseList (const std::string &slist, std::list< EntryType > &list)
 
Real string2number (const std::string &s)
 
template<typename NumberType >
std::string number2string (const NumberType &n)
 
template<typename EnumeratorType >
std::string enum2String (const EnumeratorType &Enum, const std::map< std::string, EnumeratorType > &Map)
 
template<typename NumberType >
void string2numbersVector (const std::string &string, std::vector< NumberType > &numberVector)
 

Detailed Description

String utilities.

Date
13-12-2010
Author
Maintainer:
Radu Popescu radu..nosp@m.pope.nosp@m.scu@e.nosp@m.pfl..nosp@m.ch

Definition in file StringUtility.hpp.