Open Babel  3.0
Classes | Namespaces | Macros | Functions
tokenst.h File Reference
#include <openbabel/babelconfig.h>
#include <vector>
#include <sstream>
#include <string>
#include <fstream>

Go to the source code of this file.

Classes

struct  DeleteObject
 

Namespaces

 OpenBabel
 

Macros

#define FILE_SEP_CHAR   "/"
 

Functions

bool tokenize (std::vector< std::string > &, const char *buf, const char *delimstr=" \\)
 
bool tokenize (std::vector< std::string > &, std::string &, const char *delimstr=" \\, 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.

Macro Definition Documentation

◆ FILE_SEP_CHAR

#define FILE_SEP_CHAR   "/"