Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Tokenizer Class Reference

definition of class Tokenizer. More...

#include <Tokenizer.h>

List of all members.

Public Types

typedef Token Item
typedef std::vector<TokenItems

Public Methods

 Tokenizer ()
 Standard (dummy) 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...

Itemsitems ()
 Access token collection. More...

const Itemsitems () const
 Access token collection (CONST). More...


Protected Attributes

Items m_tokens
 Assigned tokens within string. More...


Detailed Description

definition of class Tokenizer.

Definition at line 24 of file Tokenizer.h.


Member Typedef Documentation

typedef Token Tokenizer::Item
 

Definition at line 65 of file Tokenizer.h.

typedef std::vector<Token> Tokenizer::Items
 

Definition at line 66 of file Tokenizer.h.


Constructor & Destructor Documentation

Tokenizer::Tokenizer ( ) [inline]
 

Standard (dummy) constructor.

Definition at line 72 of file Tokenizer.h.

Tokenizer::~Tokenizer ( ) [inline, virtual]
 

Standard destructor.

Definition at line 74 of file Tokenizer.h.


Member Function Documentation

void Tokenizer::analyse ( const std::string & s,
const char * delim = " ",
const char * eq = "=" ) [inline]
 

Analyse tokens from string.

Definition at line 88 of file Tokenizer.h.

void Tokenizer::analyse ( const std::string & s,
const char * delim,
const char * eq,
const char * val ) [inline]
 

Analyse tokens from string.

Definition at line 84 of file Tokenizer.h.

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 80 of file Tokenizer.h.

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 26 of file Tokenizer.cpp.

const Items & Tokenizer::items ( ) const [inline]
 

Access token collection (CONST).

Definition at line 96 of file Tokenizer.h.

Items & Tokenizer::items ( ) [inline]
 

Access token collection.

Definition at line 92 of file Tokenizer.h.


Member Data Documentation

Items Tokenizer::m_tokens [protected]
 

Assigned tokens within string.

Definition at line 69 of file Tokenizer.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:22:16 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000