Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TinyXPath::xpath_stream Class Reference

A specialized version of byte_stream for XPath. More...

#include <xpath_stream.h>

Inheritance diagram for TinyXPath::xpath_stream:

Inheritance graph
[legend]
Collaboration diagram for TinyXPath::xpath_stream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 xpath_stream (const char *cp_in)
 xpath_stream constructor

virtual ~xpath_stream ()
 destructor

void v_lexico_decode ()
 Decode the byte stream, and construct the lexical list.

void v_evaluate ()
 Evaluate a XPath expression
Decodes the lexical and syntax contents.

virtual void v_action (xpath_construct, unsigned, unsigned, const char *)=0
 Callback used by token_syntax_decoder::v_syntax_decode to notify of an action to be made. Pure virtual.

virtual int i_get_action_counter ()=0
 Callback used by token_syntax_decoder::v_syntax_decode to know the action counter position.


Protected Attributes

token_syntax_decodertlp_list
 List of tokens.


Detailed Description

A specialized version of byte_stream for XPath.


Constructor & Destructor Documentation

TinyXPath::xpath_stream::xpath_stream const char *  cp_in  ) 
 

xpath_stream constructor

virtual TinyXPath::xpath_stream::~xpath_stream  )  [inline, virtual]
 

destructor


Member Function Documentation

virtual int TinyXPath::xpath_stream::i_get_action_counter  )  [pure virtual]
 

Callback used by token_syntax_decoder::v_syntax_decode to know the action counter position.

Pure virtual
This can be any kind of nomenclature, provided that the redefinition is coherent

Implemented in TinyXPath::xpath_processor.

virtual void TinyXPath::xpath_stream::v_action xpath_construct  ,
unsigned  ,
unsigned  ,
const char * 
[pure virtual]
 

Callback used by token_syntax_decoder::v_syntax_decode to notify of an action to be made. Pure virtual.

Implemented in TinyXPath::xpath_processor.

void TinyXPath::xpath_stream::v_evaluate  )  [inline]
 

Evaluate a XPath expression
Decodes the lexical and syntax contents.

void TinyXPath::xpath_stream::v_lexico_decode  )  [inline]
 

Decode the byte stream, and construct the lexical list.


Member Data Documentation

token_syntax_decoder* TinyXPath::xpath_stream::tlp_list [protected]
 

List of tokens.


The documentation for this class was generated from the following files:
Generated for TinyXPath by doxygen SourceForge Logo