41 #ifndef BPP_TEXT_NESTEDSTRINGTOKENIZER_H
42 #define BPP_TEXT_NESTEDSTRINGTOKENIZER_H
51 #include "../Exceptions.h"
74 NestedStringTokenizer(
const std::string& s,
const std::string& open,
const std::string& end,
const std::string& delimiters =
" \t\n\f\r",
bool solid =
false);
An improved tokenizer for strings.
virtual ~NestedStringTokenizer()
NestedStringTokenizer(const std::string &s, const std::string &open, const std::string &end, const std::string &delimiters=" \t\n\f\r", bool solid=false)
Build a new StringTokenizer from a string.
const std::string & nextToken()
Get the next available token. If no token is availbale, throw an Exception.
std::string unparseRemainingTokens() const
This function is not supported for nested tokenizers.