Tokenize strings, open data files. More...
#include <openbabel/babelconfig.h>
#include <vector>
#include <sstream>
#include <string>
#include <fstream>
Go to the source code of this file.
Classes | |
struct | DeleteObject |
Functor for deleting containers of pointers. Scott Meyers, Effective STL, Item 7. More... | |
Namespaces | |
namespace | OpenBabel |
Defines | |
#define | FILE_SEP_CHAR "/" |
Functions | |
bool | tokenize (std::vector< std::string > &, const char *buf, const char *delimstr=" \t\n\r") |
bool | tokenize (std::vector< std::string > &, std::string &, const char *delimstr=" \t\n\r", int limit=-1) |
std::string & | Trim (std::string &txt) |
template<typename T > | |
std::string | toString (T val) |
std::istream & | ignore (std::istream &ifs, const std::string &txt) |
std::string | OpenDatafile (std::ifstream &fs, const std::string &filename, const std::string &envvar="BABEL_DATADIR") |
Tokenize strings, open data files.
#define FILE_SEP_CHAR "/" |
Referenced by OpenBabel::OpenDatafile(), and patty::read_rules().