00001 #ifndef TOKENIZER_H 00002 #define TOKENIZER_H 00003 00004 #include "string" 00005 #include "vector" 00006 00007 00008 class Tokenizer 00009 { 00010 public: 00011 void split( const std::string& source, const std::string& delimiter, std::vector< std::string> & strVec); 00012 void trimLeft( std::string& s); 00013 void trimRight( std::string& s); 00014 void removeWSP( std::string& s); 00015 00016 }; 00017 00018 #endif // TOKENIZER_H