Go to the documentation of this file.00001 #ifndef UTILITIES_GENERAL_TOKENIZER_H
00002 #define UTILITIES_GENERAL_TOKENIZER_H
00003
00004 #include <string>
00005 #include <vector>
00006
00009 class Tokenizer : public std::vector<std::string> {
00010 public:
00011 typedef std::vector<std::string> super;
00012 Tokenizer(const std::string & sep, const std::string & input, bool alsoempty=true);
00013
00014 void join(std::string & out, const std::string & sep, bool alsoempty=true) const;
00015
00016 private:
00017
00018 };
00019
00020 #endif // UTILITIES_GENERAL_TOKENIZER_H