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