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

xtl_op.h File Reference


Detailed Description

Defines namespace-scope overloaded operator functions of the Common Text Transformation Library.

Warning:
This is internal CTTL header file and should not be included by user programs.

Definition in file xtl_op.h.

#include "xtl_op_impl.h"

Include dependency graph for xtl_op.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  cttl

Functions

template<typename ExprT>
xtl_wrap< xtl_opunarbang<
xtl_wrap< ExprT > >> 
operator! (xtl_wrap< ExprT > const &expr_)
 Overloads unary search operator.
template<typename ExprT>
xtl_wrap< xtl_opunarstar<
xtl_wrap< ExprT > >> 
operator * (xtl_wrap< ExprT > const &expr_)
 Overloads unary Kleene star operator.
template<typename Left_exprT>
xtl_wrap< xtl_opunarstar<
xtl_wrap< Left_exprT > >> 
operator * (xtl_wrap< Left_exprT > const &lhs_expr_, int upper_limit_)
 Overloads binary Kleene star operator.
template<typename ExprT>
xtl_wrap< xtl_opunarplus<
xtl_wrap< ExprT > >> 
operator+ (xtl_wrap< ExprT > const &expr_)
 Overloads unary Kleeene plus operator.
template<typename Left_exprT>
xtl_wrap< xtl_opunarplus<
xtl_wrap< Left_exprT > >> 
operator+ (xtl_wrap< Left_exprT > const &lhs_expr_, int upper_limit_)
 Overloads binary Kleene plus operator.
template<typename Left_exprT>
xtl_wrap< xtl_opunarplus<
xtl_wrap< Left_exprT > >> 
operator+ (xtl_wrap< Left_exprT > const &lhs_expr_, std::pair< int, int > limits_)
 Overloads binary greedy Kleene plus operator.
template<typename ExprT>
xtl_wrap< xtl_opunarminus<
xtl_wrap< ExprT > >> 
operator- (xtl_wrap< ExprT > const &expr_)
 Overloads unary logical not operator.
template<typename Left_exprT, typename Right_exprT>
xtl_wrap< xtl_opbinplus< xtl_wrap<
Left_exprT >, xtl_wrap< Right_exprT > >> 
operator+ (xtl_wrap< Left_exprT > const &lhs_expr_, xtl_wrap< Right_exprT > const &rhs_expr_)
 Overloads binary sequence operator.
template<typename Left_exprT, typename Right_exprT>
xtl_wrap< xtl_opbinpipe< xtl_wrap<
Left_exprT >, xtl_wrap< Right_exprT > >> 
operator| (xtl_wrap< Left_exprT > const &lhs_expr_, xtl_wrap< Right_exprT > const &rhs_expr_)
 Overloads binary set union operator.
template<typename Left_exprT, typename Right_exprT>
xtl_wrap< xtl_opbin2pipe<
xtl_wrap< Left_exprT >, xtl_wrap<
Right_exprT > >> 
operator|| (xtl_wrap< Left_exprT > const &lhs_expr_, xtl_wrap< Right_exprT > const &rhs_expr_)
 Overloads binary POSIX union operator.
template<typename Left_exprT, typename Right_exprT>
xtl_wrap< xtl_opbinconcat<
xtl_wrap< Left_exprT >, xtl_wrap<
Right_exprT > >> 
operator^ (xtl_wrap< Left_exprT > const &lhs_expr_, xtl_wrap< Right_exprT > const &rhs_expr_)
 Overloads binary concatenation operator.
template<typename Left_exprT, typename Right_exprT>
xtl_wrap< xtl_opbinminus<
xtl_wrap< Left_exprT >, xtl_wrap<
Right_exprT > >> 
operator- (xtl_wrap< Left_exprT > const &lhs_expr_, xtl_wrap< Right_exprT > const &rhs_expr_)
 Overloads binary set complement operator.
template<typename Left_exprT, typename Right_exprT>
xtl_wrap< xtl_opbinand< xtl_wrap<
Left_exprT >, xtl_wrap< Right_exprT > >> 
operator & (xtl_wrap< Left_exprT > const &lhs_expr_, xtl_wrap< Right_exprT > const &rhs_expr_)
 Overloads binary set intersection operator.


Function Documentation

xtl_wrap< xtl_opbinand< xtl_wrap< Left_exprT >, xtl_wrap< Right_exprT > >> operator & xtl_wrap< Left_exprT > const &  lhs_expr_,
xtl_wrap< Right_exprT > const &  rhs_expr_
[inline]
 

Overloads binary set intersection operator.

Left_exprT
Template parameter specifying type of left-hand-side grammar expression object, determined by the C++ compiler at compile time.
Right_exprT
Template parameter specifying type of right-hand-side grammar expression object, determined by the C++ compiler at compile time.
Parameters:
lhs_expr_ immutable reference to left-hand-side grammar expression object.
rhs_expr_ immutable reference to right-hand-side grammar expression object.
Returns:
Instance of C++ implementation class for the overloaded operator.

Definition at line 556 of file xtl_op.h.

xtl_wrap< xtl_opunarstar< xtl_wrap< Left_exprT > >> operator * xtl_wrap< Left_exprT > const &  lhs_expr_,
int  upper_limit_
[inline]
 

Overloads binary Kleene star operator.

Left_exprT
Template parameter specifying type of grammar expression object, determined by the C++ compiler at compile time.
Parameters:
lhs_expr_ immutable reference to CTTL grammar expression object.
upper_limit_ upper limit of requested number of matches.
Returns:
Instance of C++ implementation class for the overloaded operator.

Definition at line 143 of file xtl_op.h.

xtl_wrap< xtl_opunarstar< xtl_wrap< ExprT > >> operator * xtl_wrap< ExprT > const &  expr_  )  [inline]
 

Overloads unary Kleene star operator.

ExprT
Template parameter specifying type of grammar expression object, determined by the C++ compiler at compile time.
Parameters:
expr_ immutable reference to CTTL grammar expression object.
Returns:
Instance of C++ implementation class for the overloaded operator.

Definition at line 106 of file xtl_op.h.

xtl_wrap< xtl_opunarbang< xtl_wrap< ExprT > >> operator! xtl_wrap< ExprT > const &  expr_  )  [inline]
 

Overloads unary search operator.

ExprT
Template parameter specifying type of grammar expression object, determined by the C++ compiler at compile time.
Parameters:
expr_ immutable reference to CTTL grammar expression object.
Returns:
Instance of C++ implementation class for the overloaded operator.

Definition at line 71 of file xtl_op.h.

xtl_wrap< xtl_opbinplus< xtl_wrap< Left_exprT >, xtl_wrap< Right_exprT > >> operator+ xtl_wrap< Left_exprT > const &  lhs_expr_,
xtl_wrap< Right_exprT > const &  rhs_expr_
[inline]
 

Overloads binary sequence operator.

Left_exprT
Template parameter specifying type of left-hand-side grammar expression object, determined by the C++ compiler at compile time.
Right_exprT
Template parameter specifying type of right-hand-side grammar expression object, determined by the C++ compiler at compile time.
Parameters:
lhs_expr_ immutable reference to left-hand-side grammar expression object.
rhs_expr_ immutable reference to right-hand-side grammar expression object.
Returns:
Instance of C++ implementation class for the overloaded operator.

Definition at line 336 of file xtl_op.h.

xtl_wrap< xtl_opunarplus< xtl_wrap< Left_exprT > >> operator+ xtl_wrap< Left_exprT > const &  lhs_expr_,
std::pair< int, int >  limits_
[inline]
 

Overloads binary greedy Kleene plus operator.

Left_exprT
Template parameter specifying type of grammar expression object, determined by the C++ compiler at compile time.
Parameters:
lhs_expr_ immutable reference to CTTL grammar expression object.
limits_ STL pair specifying lower and upper limits for the requested matches, for example,
    std::make_pair( lower_limit, upper_limit )
Returns:
Instance of C++ implementation class for the overloaded operator.

Definition at line 255 of file xtl_op.h.

xtl_wrap< xtl_opunarplus< xtl_wrap< Left_exprT > >> operator+ xtl_wrap< Left_exprT > const &  lhs_expr_,
int  upper_limit_
[inline]
 

Overloads binary Kleene plus operator.

Left_exprT
Template parameter specifying type of grammar expression object, determined by the C++ compiler at compile time.
Parameters:
lhs_expr_ immutable reference to CTTL grammar expression object.
upper_limit_ upper limit of requested number of matches.
Returns:
Instance of C++ implementation class for the overloaded operator.

Definition at line 214 of file xtl_op.h.

xtl_wrap< xtl_opunarplus< xtl_wrap< ExprT > >> operator+ xtl_wrap< ExprT > const &  expr_  )  [inline]
 

Overloads unary Kleeene plus operator.

ExprT
Template parameter specifying type of grammar expression object, determined by the C++ compiler at compile time.
Parameters:
expr_ immutable reference to CTTL grammar expression object.
Returns:
Instance of C++ implementation class for the overloaded operator.

Definition at line 177 of file xtl_op.h.

xtl_wrap< xtl_opbinminus< xtl_wrap< Left_exprT >, xtl_wrap< Right_exprT > >> operator- xtl_wrap< Left_exprT > const &  lhs_expr_,
xtl_wrap< Right_exprT > const &  rhs_expr_
[inline]
 

Overloads binary set complement operator.

Left_exprT
Template parameter specifying type of left-hand-side grammar expression object, determined by the C++ compiler at compile time.
Right_exprT
Template parameter specifying type of right-hand-side grammar expression object, determined by the C++ compiler at compile time.
Parameters:
lhs_expr_ immutable reference to left-hand-side grammar expression object.
rhs_expr_ immutable reference to right-hand-side grammar expression object.
Returns:
Instance of C++ implementation class for the overloaded operator.

Definition at line 512 of file xtl_op.h.

xtl_wrap< xtl_opunarminus< xtl_wrap< ExprT > >> operator- xtl_wrap< ExprT > const &  expr_  )  [inline]
 

Overloads unary logical not operator.

ExprT
Template parameter specifying type of grammar expression object, determined by the C++ compiler at compile time.
Parameters:
expr_ immutable reference to CTTL grammar expression object.
Returns:
Instance of C++ implementation class for the overloaded operator.

Definition at line 289 of file xtl_op.h.

xtl_wrap< xtl_opbinconcat< xtl_wrap< Left_exprT >, xtl_wrap< Right_exprT > >> operator^ xtl_wrap< Left_exprT > const &  lhs_expr_,
xtl_wrap< Right_exprT > const &  rhs_expr_
[inline]
 

Overloads binary concatenation operator.

Left_exprT
Template parameter specifying type of left-hand-side grammar expression object, determined by the C++ compiler at compile time.
Right_exprT
Template parameter specifying type of right-hand-side grammar expression object, determined by the C++ compiler at compile time.
Parameters:
lhs_expr_ immutable reference to left-hand-side grammar expression object.
rhs_expr_ immutable reference to right-hand-side grammar expression object.
Returns:
Instance of C++ implementation class for the overloaded operator.

Definition at line 468 of file xtl_op.h.

xtl_wrap< xtl_opbinpipe< xtl_wrap< Left_exprT >, xtl_wrap< Right_exprT > >> operator| xtl_wrap< Left_exprT > const &  lhs_expr_,
xtl_wrap< Right_exprT > const &  rhs_expr_
[inline]
 

Overloads binary set union operator.

Left_exprT
Template parameter specifying type of left-hand-side grammar expression object, determined by the C++ compiler at compile time.
Right_exprT
Template parameter specifying type of right-hand-side grammar expression object, determined by the C++ compiler at compile time.
Parameters:
lhs_expr_ immutable reference to left-hand-side grammar expression object.
rhs_expr_ immutable reference to right-hand-side grammar expression object.
Returns:
Instance of C++ implementation class for the overloaded operator.

Definition at line 380 of file xtl_op.h.

xtl_wrap< xtl_opbin2pipe< xtl_wrap< Left_exprT >, xtl_wrap< Right_exprT > >> operator|| xtl_wrap< Left_exprT > const &  lhs_expr_,
xtl_wrap< Right_exprT > const &  rhs_expr_
[inline]
 

Overloads binary POSIX union operator.

Left_exprT
Template parameter specifying type of left-hand-side grammar expression object, determined by the C++ compiler at compile time.
Right_exprT
Template parameter specifying type of right-hand-side grammar expression object, determined by the C++ compiler at compile time.
Parameters:
lhs_expr_ immutable reference to left-hand-side grammar expression object.
rhs_expr_ immutable reference to right-hand-side grammar expression object.
Returns:
Instance of C++ implementation class for the overloaded operator.

Definition at line 424 of file xtl_op.h.


Generated on Thu Nov 2 17:44:42 2006 for Common Text Transformation Library by  doxygen 1.3.9.1