DFT-EFE
 
Loading...
Searching...
No Matches
dftefe::utils::stringOps Namespace Reference

Functions

bool strToInt (const std::string s, int &i)
 
bool strToDouble (const std::string s, double &x)
 
bool strToBool (const std::string s, bool &x)
 
void trim (std::string &s)
 
std::string trimCopy (const std::string &s)
 
bool splitStringToInts (const std::string s, std::vector< int > &vals, size_type reserveSize)
 
bool splitStringToDoubles (const std::string s, std::vector< double > &vals, size_type reserveSize)
 

Function Documentation

◆ splitStringToDoubles()

bool dftefe::utils::stringOps::splitStringToDoubles ( const std::string  s,
std::vector< double > &  vals,
size_type  reserveSize 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ splitStringToInts()

bool dftefe::utils::stringOps::splitStringToInts ( const std::string  s,
std::vector< int > &  vals,
size_type  reserveSize 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ strToBool()

bool dftefe::utils::stringOps::strToBool ( const std::string  s,
bool &  x 
)
Here is the caller graph for this function:

◆ strToDouble()

bool dftefe::utils::stringOps::strToDouble ( const std::string  s,
double &  x 
)
Here is the caller graph for this function:

◆ strToInt()

bool dftefe::utils::stringOps::strToInt ( const std::string  s,
int &  i 
)
Here is the caller graph for this function:

◆ trim()

void dftefe::utils::stringOps::trim ( std::string &  s)
Here is the caller graph for this function:

◆ trimCopy()

std::string dftefe::utils::stringOps::trimCopy ( const std::string &  s)