CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
L1MuGMTLUTHelpers::Tokenizer Class Reference

Lookup Functions. More...

#include <L1MuGMTLUTHelpers.h>

Inheritance diagram for L1MuGMTLUTHelpers::Tokenizer:

Public Member Functions

 Tokenizer (const std::string &sep, const std::string &input)
 

Detailed Description

Lookup Functions.

some std::string tools

Definition at line 48 of file L1MuGMTLUTHelpers.h.

Constructor & Destructor Documentation

L1MuGMTLUTHelpers::Tokenizer::Tokenizer ( const std::string &  sep,
const std::string &  input 
)
inline

Definition at line 50 of file L1MuGMTLUTHelpers.h.

References i, and j.

50  {
51  size_type i=0, j=0;
52  while( (j=input.find(sep,i))!=std::string::npos) {
53  push_back(input.substr(i,j-i));
54  i = j+sep.size();
55  }
56  push_back(input.substr(i));
57  };
int i
Definition: DBlmapReader.cc:9
uint16_t size_type
static std::string const input
Definition: EdmProvDump.cc:43
int j
Definition: DBlmapReader.cc:9