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

xtl_position_eof Class Reference

#include <xtl_primary.h>

List of all members.


Detailed Description

Defines behavior of end(), universe lower boundary lexeme inside CTTL grammar expressions.

Definition at line 3436 of file xtl_primary.h.

Static Public Member Functions

template<typename UniverseT>
size_t match (UniverseT &edge_)
 Implements match algorithm for universe lower boundary position.
template<typename UniverseT>
size_t find (UniverseT &edge_)
 Implements search algorithm for universe lower boundary position.
template<typename UniverseT>
size_t bang_find (UniverseT &edge_)
 Implements repeatable search algorithm for universe lower boundary position.


Member Function Documentation

size_t bang_find UniverseT &  edge_  )  [inline, static]
 

Implements repeatable search algorithm for universe lower boundary position.

UniverseT
Template parameter specifying type of the parseable universe. Can be either cttl::const_edge or cttl::edge.
Parameters:
edge_ reference to the parseable universe.
Returns:
evaluation result: this method always succeeds and returns absolute offset corresponding to the lower boundary of the universe.
Postcondition:
The universe becomes empty.

Definition at line 3532 of file xtl_primary.h.

size_t find UniverseT &  edge_  )  [inline, static]
 

Implements search algorithm for universe lower boundary position.

UniverseT
Template parameter specifying type of the parseable universe. Can be either cttl::const_edge or cttl::edge.
Parameters:
edge_ reference to the parseable universe.
Returns:
evaluation result: this method always succeeds and returns absolute offset corresponding to the lower boundary of the universe.
Postcondition:
The universe becomes empty.

Definition at line 3506 of file xtl_primary.h.

size_t match UniverseT &  edge_  )  [inline, static]
 

Implements match algorithm for universe lower boundary position.

UniverseT
Template parameter specifying type of the parseable universe. Can be either cttl::const_edge or cttl::edge.
Parameters:
edge_ reference to the parseable universe.
Returns:
evaluation result: if method succeeds, it returns absolute offset corresponding to the lower boundary of the universe. Otherwise, it returns UniverseT::string_T::npos, indicating that the evaluation method has failed.
Postcondition:
If method succeeds, the universe becomes empty.

Definition at line 3464 of file xtl_primary.h.


The documentation for this class was generated from the following file:
Generated on Thu Nov 2 17:46:39 2006 for Common Text Transformation Library by  doxygen 1.3.9.1