tokenst.h File Reference

Tokenize strings, open data files. More...

#include <openbabel/babelconfig.h>
#include <vector>
#include <sstream>
#include <string>
#include <fstream>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  DeleteObject
 Functor for deleting containers of pointers. Scott Meyers, Effective STL, Item 7. More...


namespace  OpenBabel


#define FILE_SEP_CHAR   "/"


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")

Detailed Description

Tokenize strings, open data files.

Define Documentation

#define FILE_SEP_CHAR   "/"

Referenced by OpenBabel::OpenDatafile().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines