tokenst.cpp File Reference

Tokenize a string. More...

#include <openbabel/babelconfig.h>
#include <algorithm>
#include <vector>
#include <string>
#include <cstring>
#include <openbabel/tokenst.h>

Namespaces

namespace  OpenBabel

Functions

OBERROR bool tokenize (std::vector< std::string > &, const char *buf, const char *delimstr=" \t\n\r")
char * trim_spaces (char *string)
OBERROR bool tokenize (std::vector< std::string > &, std::string &, const char *delimstr=" \t\n\r", int limit=-1)
OBERROR std::string & Trim (std::string &txt)
OBERROR std::string OpenDatafile (std::ifstream &fs, const std::string &filename, const std::string &envvar="BABEL_DATADIR")


Detailed Description

Tokenize a string.