QMCPACK
string_utils.h File Reference
+ Include dependency graph for string_utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  astring
 

Namespaces

 qmcplusplus
 helper functions for EinsplineSetBuilder
 

Functions

std::string strip (const std::string &s)
 
bool whitespace (char c)
 
std::vector< std::string > split (const std::string &s)
 
std::vector< std::string > split (const std::string &s, const std::string &pattern)
 
int string2int (const std::string &s)
 
double string2real (const std::string &s)
 
std::string int2string (const int &i)
 
std::string real2string (const double &r)
 
bool string2bool (const std::string &s)
 
template<class T >
std::vector< T > convertStrToVec (const std::string &s)
 extract the contents of a string to a vector of something. separator is white spaces. More...
 
std::istream & operator>> (std::istream &is, astring &rhs)
 
std::ostream & operator<< (std::ostream &os, const astring &rhs)
 
bool operator== (const astring &lhs, const astring &rhs)
 

Class Documentation

◆ qmcplusplus::astring

struct qmcplusplus::astring

Definition at line 172 of file string_utils.h.

+ Collaboration diagram for astring:
Class Members
string s