#include <xtl_base.h>
Public Member Functions | |
template<typename SubstrT > | |
size_t | bang_find (SubstrT &edge_) |
Delegates grammar evaluation algorithm call to the encapsulated grammar expression. | |
template<typename SubstrT > | |
size_t | find (SubstrT &edge_) |
Delegates grammar evaluation algorithm call to the encapsulated grammar expression. | |
template<typename SubstrT > | |
size_t | match (SubstrT &edge_) |
Delegates grammar evaluation algorithm call to the encapsulated grammar expression. | |
xtl_wrap (xtl_wrap< ExprT > const &other_) | |
Copy constructor. | |
template<typename GenericT > | |
xtl_wrap (GenericT const &x_) | |
Constructs xtl_wrap object for any type. | |
xtl_wrap () | |
Default constructor. | |
Public Attributes | |
ExprT | m_expr |
Stores encapsulated grammar expression. |
ExprT | specifies type of grammar expression. The actual type is determined by the C++ compiler at compile time. |
Definition at line 74 of file xtl_base.h.
cttl_impl::xtl_wrap< ExprT >::xtl_wrap | ( | ) |
Default constructor.
Definition at line 82 of file xtl_base.h.
00083 : m_expr( ExprT() ) 00084 { 00085 // CTTL_TRACE_MESSAGE( CTTL_TRACE_TYPEID( &m_expr ) ); 00086 }
cttl_impl::xtl_wrap< ExprT >::xtl_wrap | ( | GenericT const & | x_ | ) |
Constructs xtl_wrap object for any type.
Definition at line 90 of file xtl_base.h.
00091 : m_expr( ExprT( x_ ) ) 00092 { 00093 // CTTL_TRACE_MESSAGE( CTTL_TRACE_TYPEID( &m_expr ) ); 00094 }
cttl_impl::xtl_wrap< ExprT >::xtl_wrap | ( | xtl_wrap< ExprT > const & | other_ | ) |
Copy constructor.
Definition at line 97 of file xtl_base.h.
00098 : m_expr( other_.m_expr ) 00099 { 00100 }
size_t cttl_impl::xtl_wrap< ExprT >::bang_find | ( | SubstrT & | edge_ | ) |
Delegates grammar evaluation algorithm call to the encapsulated grammar expression.
SubstrT | specifies type of substring. Can be either cttl::const_edge or cttl::edge . |
edge_ | reference to parseable substring. |
Definition at line 160 of file xtl_base.h.
00161 { 00162 return m_expr.bang_find( edge_ ); 00163 }
size_t cttl_impl::xtl_wrap< ExprT >::find | ( | SubstrT & | edge_ | ) |
Delegates grammar evaluation algorithm call to the encapsulated grammar expression.
SubstrT | specifies type of substring. Can be either cttl::const_edge or cttl::edge . |
edge_ | reference to parseable substring. |
Definition at line 139 of file xtl_base.h.
00140 { 00141 return m_expr.find( edge_ ); 00142 }
size_t cttl_impl::xtl_wrap< ExprT >::match | ( | SubstrT & | edge_ | ) |
Delegates grammar evaluation algorithm call to the encapsulated grammar expression.
SubstrT | specifies type of substring. Can be either cttl::const_edge or cttl::edge . |
edge_ | reference to parseable substring. |
Definition at line 118 of file xtl_base.h.
00119 { 00120 return m_expr.match( edge_ ); 00121 }
ExprT cttl_impl::xtl_wrap< ExprT >::m_expr |