UTIL::LCTokenizer Class Reference

Helper class for string tokenization. More...

#include <UTIL/BitField64.h>

List of all members.

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.

Detailed Description

Helper class for string tokenization.

Usage:
std::vector<std::string> tokens ;
LCTokenizer t( tokens ,',') ;
std::for_each( aString.begin(), aString.end(), t ) ;


Member Function Documentation

void UTIL::LCTokenizer::operator() ( const char &  c  )  [inline]

Operator for use with algorithms, e.g.

for_each


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Friends

Generated on 6 Mar 2020 for LCIO by  doxygen 1.6.1