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

xtl_opunarbang Struct Template Reference

#include <xtl_op_impl.h>

Inheritance diagram for xtl_opunarbang:

Inheritance graph
[legend]
Collaboration diagram for xtl_opunarbang:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename ExprT>
struct cttl_impl::xtl_opunarbang< ExprT >

Implements behavior of unary search operator.

ExprT
Template parameter specifying type of grammar expression object, determined by the C++ compiler at compile time.

Definition at line 237 of file xtl_op_impl.h.

Public Member Functions

 xtl_opunarbang (ExprT const &expr_)
 Constructs and initializes the object.
template<typename UniverseT>
size_t match (UniverseT &edge_)
 Promotes match evaluation to search evaluation.
template<typename UniverseT>
size_t find (UniverseT &edge_)
 Promotes search evaluation to repeatable search.
template<typename UniverseT>
size_t bang_find (UniverseT &edge_)
 Delegates repeatable search evaluation method to the grammar expression representing the operand.


Member Function Documentation

size_t bang_find UniverseT &  edge_  )  [inline]
 

Delegates repeatable search evaluation method to the grammar expression representing the operand.

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.
See also:
  • overview.

Definition at line 319 of file xtl_op_impl.h.

size_t find UniverseT &  edge_  )  [inline]
 

Promotes search evaluation to repeatable search.

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.
See also:

Definition at line 292 of file xtl_op_impl.h.

size_t match UniverseT &  edge_  )  [inline]
 

Promotes match evaluation to search evaluation.

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.

Definition at line 266 of file xtl_op_impl.h.


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