Helper class for string tokenization. More...
#include <UTIL/BitField64.h>
Public Member Functions | |
| LCTokenizer (std::vector< std::string > &tokens, char del) | |
| Only c'tor, give (empty) token vector and delimeter character. | |
| void | operator() (const char &c) |
| Operator for use with algorithms, e.g. More... | |
Helper class for string tokenization.
Usage:
std::vector<std::string> tokens ;
LCTokenizer t( tokens ,',') ;
std::for_each( aString.begin(), aString.end(), t ) ;
|
inline |
Operator for use with algorithms, e.g.
for_each
1.8.6