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

xtl_edge Class Template Reference

#include <xtl_base.h>

List of all members.


Detailed Description

template<typename EdgeT, typename ExprT>
class cttl_impl::xtl_edge< EdgeT, ExprT >

Implements behavior of CTTL edge expression adaptor.

EdgeT
Template parameter specifying CTTL substring type, either cttl::const_edge, or cttl::edge template class.
ExprT
Template parameter specifying type of grammar expression, which is determined by the C++ compiler at compile time.

Definition at line 217 of file xtl_base.h.

Public Member Functions

 xtl_edge (EdgeT const &edge_, ExprT const &expr_)
 Constructs and initializes the object.
template<typename UniverseT>
size_t match (UniverseT &edge_)
 Delegates grammar evaluation method call to the encapsulated grammar expression.
template<typename UniverseT>
size_t find (UniverseT &edge_)
 Delegates grammar evaluation method call to the encapsulated grammar expression.
template<typename UniverseT>
size_t bang_find (UniverseT &edge_)
 Delegates grammar evaluation method call to the encapsulated grammar expression.


Member Function Documentation

size_t bang_find UniverseT &  edge_  )  [inline]
 

Delegates grammar evaluation method call to the encapsulated grammar expression.

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.
Postcondition:
If method succeeds, encapsulated substring is positioned on the boundaries of the matched fragment.
See also:

Definition at line 336 of file xtl_base.h.

size_t find UniverseT &  edge_  )  [inline]
 

Delegates grammar evaluation method call to the encapsulated grammar expression.

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.
Postcondition:
If method succeeds, encapsulated substring is positioned on the boundaries of the matched fragment.
See also:

Definition at line 298 of file xtl_base.h.

size_t match UniverseT &  edge_  )  [inline]
 

Delegates grammar evaluation method call to the encapsulated grammar expression.

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.
Postcondition:
If method succeeds, encapsulated substring is positioned on the boundaries of the matched fragment.
See also:

Definition at line 260 of file xtl_base.h.


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