Open Babel: tokenst.h File Reference

Classes | Namespaces | Defines | Functions

# tokenst.h File Reference

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

## Detailed Description

Tokenize strings, open data files.

## Define Documentation

#define FILE_SEP_CHAR "/"

Referenced by OpenBabel::OpenDatafile(), and patty::read_rules().

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines