STL Include files.
More...
#include <GaudiKernel/Tokenizer.h>
|
| | Tokenizer () |
| | Standard (dummy) constructor. More...
|
| |
| | Tokenizer (bool resolve) |
| | Initializing constructor. More...
|
| |
| virtual | ~Tokenizer () |
| | Standard destructor. More...
|
| |
| void | analyse (const std::string &s, const char *delim, const char *tagBegin, const char *tagEnd, const char *eq, const char *valBegin, const char *valEnd) |
| | Analyse tokens from string. More...
|
| |
| void | analyse (const std::string &s, const char *delim, const char *tag, const char *eq, const char *val) |
| | Analyse tokens from string. More...
|
| |
| void | analyse (const std::string &s, const char *delim, const char *eq, const char *val) |
| | Analyse tokens from string. More...
|
| |
| void | analyse (const std::string &s, const char *delim=" ", const char *eq="=") |
| | Analyse tokens from string. More...
|
| |
| Items & | items () |
| | Access token collection. More...
|
| |
| const Items & | items () const |
| | Access token collection (CONST) More...
|
| |
STL Include files.
definition of class Tokenizer
Definition at line 30 of file Tokenizer.h.
Standard (dummy) constructor.
Definition at line 83 of file Tokenizer.h.
bool m_resolve
Flag to resolve environment.
| Tokenizer::Tokenizer |
( |
bool |
resolve | ) |
|
|
inline |
Initializing constructor.
Definition at line 85 of file Tokenizer.h.
bool m_resolve
Flag to resolve environment.
| virtual Tokenizer::~Tokenizer |
( |
| ) |
|
|
inlinevirtual |
Standard destructor.
Definition at line 87 of file Tokenizer.h.
Items m_tokens
Assigned tokens within string.
| void Tokenizer::analyse |
( |
const std::string & |
s, |
|
|
const char * |
delim, |
|
|
const char * |
tagBegin, |
|
|
const char * |
tagEnd, |
|
|
const char * |
eq, |
|
|
const char * |
valBegin, |
|
|
const char * |
valEnd |
|
) |
| |
Analyse tokens from string.
Definition at line 36 of file Tokenizer.cpp.
38 if ( valEnd == 0 ) valEnd = valBegin;
42 tok.make(
s, start, delim, tagBegin, tagEnd, eq, valBegin, valEnd);
43 if ( tok.length() > 0 ) {
44 start += tok.length();
50 }
while ( start <
long(
s.length()) );
bool m_resolve
Flag to resolve environment.
Items m_tokens
Assigned tokens within string.
| void Tokenizer::analyse |
( |
const std::string & |
s, |
|
|
const char * |
delim, |
|
|
const char * |
tag, |
|
|
const char * |
eq, |
|
|
const char * |
val |
|
) |
| |
|
inline |
Analyse tokens from string.
Definition at line 93 of file Tokenizer.h.
94 analyse(
s, delim, tag, tag, eq, val, val);
void analyse(const std::string &s, const char *delim, const char *tagBegin, const char *tagEnd, const char *eq, const char *valBegin, const char *valEnd)
Analyse tokens from string.
| void Tokenizer::analyse |
( |
const std::string & |
s, |
|
|
const char * |
delim, |
|
|
const char * |
eq, |
|
|
const char * |
val |
|
) |
| |
|
inline |
Analyse tokens from string.
Definition at line 97 of file Tokenizer.h.
98 analyse(
s, delim,
"",
"", eq, val, val);
void analyse(const std::string &s, const char *delim, const char *tagBegin, const char *tagEnd, const char *eq, const char *valBegin, const char *valEnd)
Analyse tokens from string.
| void Tokenizer::analyse |
( |
const std::string & |
s, |
|
|
const char * |
delim = " ", |
|
|
const char * |
eq = "=" |
|
) |
| |
|
inline |
Analyse tokens from string.
Definition at line 101 of file Tokenizer.h.
102 analyse(
s, delim,
"",
"", eq,
"",
"");
void analyse(const std::string &s, const char *delim, const char *tagBegin, const char *tagEnd, const char *eq, const char *valBegin, const char *valEnd)
Analyse tokens from string.
| Items& Tokenizer::items |
( |
| ) |
|
|
inline |
Access token collection.
Definition at line 105 of file Tokenizer.h.
Items m_tokens
Assigned tokens within string.
| const Items& Tokenizer::items |
( |
| ) |
const |
|
inline |
Access token collection (CONST)
Definition at line 109 of file Tokenizer.h.
Items m_tokens
Assigned tokens within string.
| bool Tokenizer::m_resolve |
|
protected |
Flag to resolve environment.
Definition at line 80 of file Tokenizer.h.
| Items Tokenizer::m_tokens |
|
protected |
Assigned tokens within string.
Definition at line 78 of file Tokenizer.h.
The documentation for this class was generated from the following files: