CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Tokenizer.h
Go to the documentation of this file.
1 #ifndef UTILITIES_GENERAL_TOKENIZER_H
2 #define UTILITIES_GENERAL_TOKENIZER_H
3 
4 #include <string>
5 #include <vector>
6 
9 class Tokenizer : public std::vector<std::string> {
10 public:
11  typedef std::vector<std::string> super;
12  Tokenizer(const std::string & sep, const std::string & input, bool alsoempty=true);
13 
14  void join(std::string & out, const std::string & sep, bool alsoempty=true) const;
15 
16 private:
17 
18 };
19 
20 #endif // UTILITIES_GENERAL_TOKENIZER_H
static std::string const input
Definition: EdmProvDump.cc:44
Tokenizer(const std::string &sep, const std::string &input, bool alsoempty=true)
Definition: Tokenizer.cc:3
void join(std::string &out, const std::string &sep, bool alsoempty=true) const
Definition: Tokenizer.cc:12
std::vector< std::string > super
Definition: Tokenizer.h:11