Primitive utils implementation. More...
Primitive utils implementation.
Definition in file primitive_utilities.C.
Go to the source code of this file.
Namespaces | |
ix | |
Defines MPI-specific parallel global and program classes. | |
ix::util | |
General support utilities. | |
Functions | |
std::string | GetNextContent (std::istream &In) |
void | GetContentUntil (std::istream &In, std::string ret, const std::string &etag) |
int | String2Buf (const std::string &instr, void **buf) |
void | Trim (std::string &instr, bool preserve_newline=false) |
Creates space delimited tokens in place. More... | |
const std::string | Trimmed (const std::string &instr, bool preserve_newline=false) |
Returns space delimited tokens. More... | |
const std::string | stripdirs (const std::string &pname) |
Strip absolute path. More... | |
void | TokenizeString (std::vector< std::string > &tokens, const std::string &source) |
Tokenize string. More... | |
void | TokenizeString (std::vector< std::string > &tokens, const std::string &source, const char delim) |
Tokenize string w/ delimiter. More... | |
int | OpenFile (std::ifstream &Inf, const std::string &filename) |
File opener. More... | |
void | Vectorize (std::vector< std::string > &retVal, const char **in) |
void | Vectorize (std::vector< std::string > &retVal, const char **in, int n) |