#include <utility>
#include <map>
Go to the source code of this file.
Namespaces | |
namespace | cttl |
Namespace cttl defines publicly visible classes and functions of CTTL library. | |
Functions | |
template<typename ValueT > | |
xst_lambda_wrap< xst_stack < std::stack< ValueT > > > | cttl::make_stack (ValueT const &value_) |
Helper function to instantiate stack lambda primitive. | |
template<typename LhsLambdaT , typename RhsTranslatorT > | |
xst_lambda_wrap < xst_translator< LhsLambdaT, RhsTranslatorT >> | cttl::make_translator (xst_lambda_wrap< LhsLambdaT > const &lambda_, RhsTranslatorT translator_) |
Helper function to formulate general purpose translator based on functional composition. | |
template<typename RightExprT , typename LambdaLhsExprT , typename LambdaRhsExprT , typename PolicyAdaptorT > | |
xtl_wrap< xtl_opbinand < xtl_wrap< xst_binary_adaptor < LambdaLhsExprT, LambdaRhsExprT, PolicyAdaptorT > >, xtl_wrap< RightExprT > >> | cttl::operator& (xst_binary_adaptor< LambdaLhsExprT, LambdaRhsExprT, PolicyAdaptorT > const &lhs_expr_, xtl_wrap< RightExprT > const &rhs_expr_) |
Overloads binary set intersection operator allowing to chain lambda expression and CTTL grammar expressions. | |
template<typename LeftExprT , typename LambdaLhsExprT , typename LambdaRhsExprT , typename PolicyAdaptorT > | |
xtl_wrap< xtl_opbinand < xtl_wrap< LeftExprT > , xtl_wrap< xst_binary_adaptor < LambdaLhsExprT, LambdaRhsExprT, PolicyAdaptorT > > >> | cttl::operator& (xtl_wrap< LeftExprT > const &lhs_expr_, xst_binary_adaptor< LambdaLhsExprT, LambdaRhsExprT, PolicyAdaptorT > const &rhs_expr_) |
Overloads binary set intersection operator allowing to chain CTTL grammar and lambda expressions. | |
template<typename RightExprT , typename LambdaExprT , typename PolicyAdaptorT > | |
xtl_wrap< xtl_opbinand < xtl_wrap< xst_unary_adaptor < LambdaExprT, PolicyAdaptorT > >, xtl_wrap< RightExprT > >> | cttl::operator& (xst_unary_adaptor< LambdaExprT, PolicyAdaptorT > const &lhs_expr_, xtl_wrap< RightExprT > const &rhs_expr_) |
Overloads binary set intersection operator allowing to chain lambda expression and CTTL grammar. | |
template<typename LeftExprT , typename LambdaExprT , typename PolicyAdaptorT > | |
xtl_wrap< xtl_opbinand < xtl_wrap< LeftExprT > , xtl_wrap< xst_unary_adaptor < LambdaExprT, PolicyAdaptorT > > >> | cttl::operator& (xtl_wrap< LeftExprT > const &lhs_expr_, xst_unary_adaptor< LambdaExprT, PolicyAdaptorT > const &rhs_expr_) |
Overloads binary set intersection operator allowing to chain CTTL grammar and lambda expressions. | |
template<typename RightExprT , typename LambdaLhsExprT , typename LambdaRhsExprT , typename PolicyAdaptorT > | |
xtl_wrap< xtl_opbinplus < xtl_wrap< xst_binary_adaptor < LambdaLhsExprT, LambdaRhsExprT, PolicyAdaptorT > >, xtl_wrap< RightExprT > >> | cttl::operator+ (xst_binary_adaptor< LambdaLhsExprT, LambdaRhsExprT, PolicyAdaptorT > const &lhs_expr_, xtl_wrap< RightExprT > const &rhs_expr_) |
Overloads binary sequence operator allowing to chain lambda expression and CTTL grammar. | |
template<typename LeftExprT , typename LambdaLhsExprT , typename LambdaRhsExprT , typename PolicyAdaptorT > | |
xtl_wrap< xtl_opbinplus < xtl_wrap< LeftExprT > , xtl_wrap< xst_binary_adaptor < LambdaLhsExprT, LambdaRhsExprT, PolicyAdaptorT > > >> | cttl::operator+ (xtl_wrap< LeftExprT > const &lhs_expr_, xst_binary_adaptor< LambdaLhsExprT, LambdaRhsExprT, PolicyAdaptorT > const &rhs_expr_) |
Overloads binary sequence operator allowing to chain CTTL grammar and lambda expressions. | |
template<typename RightExprT , typename LambdaExprT , typename PolicyAdaptorT > | |
xtl_wrap< xtl_opbinplus < xtl_wrap< xst_unary_adaptor < LambdaExprT, PolicyAdaptorT > >, xtl_wrap< RightExprT > >> | cttl::operator+ (xst_unary_adaptor< LambdaExprT, PolicyAdaptorT > const &lhs_expr_, xtl_wrap< RightExprT > const &rhs_expr_) |
Overloads binary sequence operator allowing to chain lambda expression and CTTL grammar. | |
template<typename LeftExprT , typename LambdaExprT , typename PolicyAdaptorT > | |
xtl_wrap< xtl_opbinplus < xtl_wrap< LeftExprT > , xtl_wrap< xst_unary_adaptor < LambdaExprT, PolicyAdaptorT > > >> | cttl::operator+ (xtl_wrap< LeftExprT > const &lhs_expr_, xst_unary_adaptor< LambdaExprT, PolicyAdaptorT > const &rhs_expr_) |
Overloads binary sequence operator allowing to chain CTTL grammar and lambda expressions. | |
template<typename OutputIteratorT , typename LambdaT > | |
OutputIteratorT const & | cttl::operator<< (OutputIteratorT const &iterator_, xst_lambda_wrap< LambdaT > const &lambda_) |
Overloaded operator to write data of lambda compound to output iterator. | |
template<typename LhsLambdaT , typename RhsTranslatorT > | |
xst_lambda_wrap < xst_translator< typename LhsLambdaT::reference_T, RhsTranslatorT >> | cttl::operator^ (xst_lambda_wrap< LhsLambdaT > const &lambda_, RhsTranslatorT translator_) |
Overloaded operator to formulate general purpose translator based on functional composition. | |
template<typename LhsLambdaT > | |
xst_lambda_wrap < xst_translator< typename LhsLambdaT::reference_T, xst_literal_translator < wchar_t > >> | cttl::operator^ (xst_lambda_wrap< LhsLambdaT > const &lambda_, wchar_t const *pwchar_) |
Overloaded operator to formulate translator for wide character literal. | |
template<typename LhsLambdaT > | |
xst_lambda_wrap < xst_translator< typename LhsLambdaT::reference_T, xst_literal_translator< char > >> | cttl::operator^ (xst_lambda_wrap< LhsLambdaT > const &lambda_, char const *pchar_) |
Overloaded operator to formulate translator for character literal. | |
template<typename LhsLambdaT , typename SequenceT > | |
xst_lambda_wrap < xst_translator< typename LhsLambdaT::reference_T, xst_sequence_translator < SequenceT > >> | cttl::operator^ (xst_lambda_wrap< LhsLambdaT > const &lambda_, std::pair< SequenceT, int > &pair_) |
Overloaded operator to formulate STL sequence translator. | |
template<typename LhsLambdaT , typename SequenceT > | |
xst_lambda_wrap < xst_translator< typename LhsLambdaT::reference_T, xst_sequence_translator < SequenceT > >> | cttl::operator^ (xst_lambda_wrap< LhsLambdaT > const &lambda_, std::pair< SequenceT *, int > &pair_) |
Overloaded operator to formulate sequence translator. | |
template<typename LhsLambdaT , typename SequenceT , typename MapT > | |
xst_lambda_wrap < xst_translator< typename LhsLambdaT::reference_T, xst_dictionary_translator < SequenceT, MapT > >> | cttl::operator^ (xst_lambda_wrap< LhsLambdaT > const &lambda_, std::pair< SequenceT, MapT > &pair_) |
Overloaded operator to formulate dictionary translator. | |
template<typename LhsLambdaT , typename SequenceT , typename MapT > | |
xst_lambda_wrap < xst_translator< typename LhsLambdaT::reference_T, xst_dictionary_translator < SequenceT, MapT > >> | cttl::operator^ (xst_lambda_wrap< LhsLambdaT > const &lambda_, std::pair< SequenceT *, MapT * > &pair_) |
Overloaded operator to formulate dictionary translator. | |
template<typename LhsLambdaT , typename ValueT > | |
xst_lambda_wrap < xst_translator< typename LhsLambdaT::reference_T, xst_sequence_translator < std::vector< ValueT > > >> | cttl::operator^ (xst_lambda_wrap< LhsLambdaT > const &lambda_, std::vector< ValueT > &vector_) |
Overloaded operator to formulate translator for STL vector. | |
template<typename LambdaT , typename TranslatorT , typename ValueT > | |
xst_lambda_wrap < xst_translator < xst_lambda_wrap < xst_translator< LambdaT, TranslatorT > >, xst_sequence_translator < std::vector< ValueT > > >> | cttl::operator^ (xst_lambda_wrap< xst_translator< LambdaT, TranslatorT > > const &lambda_, std::vector< ValueT > &vector_) |
Overloaded operator to formulate translator for STL vector. | |
template<typename LambdaT , typename TranslatorT , typename PolicyT , typename StringT > | |
xst_lambda_wrap < xst_translator < xst_lambda_wrap < xst_translator< LambdaT, TranslatorT > >, xst_edge_translator < PolicyT, StringT > >> | cttl::operator^ (xst_lambda_wrap< xst_translator< LambdaT, TranslatorT > > const &lambda_, edge< PolicyT, StringT > const &edge_) |
Overloaded operator to formulate translator for CTTL substring. | |
template<typename LambdaT , typename TranslatorT , typename PolicyT , typename StringT > | |
xst_lambda_wrap < xst_translator < xst_lambda_wrap < xst_translator< LambdaT, TranslatorT > >, xst_edge_translator < PolicyT, StringT > >> | cttl::operator^ (xst_lambda_wrap< xst_translator< LambdaT, TranslatorT > > const &lambda_, const_edge< PolicyT, StringT > const &edge_) |
Overloaded operator to formulate translator for CTTL substring. | |
template<typename LhsT > | |
xst_lambda_wrap< xst_pair < xst_lambda_wrap< typename LhsT::reference_T > , xst_lambda_wrap< xst_scalar < int & > > >> | cttl::operator^ (xst_lambda_wrap< LhsT > const &lhs_expr_, int *pvalue_) |
Overloaded operator to compose binary tree representing lambda compound. | |
template<typename LhsT , typename ValueT > | |
xst_lambda_wrap< xst_pair < xst_lambda_wrap< typename LhsT::reference_T > , xst_lambda_wrap< xst_stack < std::stack< ValueT > & > > >> | cttl::operator^ (xst_lambda_wrap< LhsT > const &lhs_expr_, std::stack< ValueT > *pstack_) |
Overloaded operator to compose binary tree representing lambda compound. | |
template<typename LhsT , typename ValueT > | |
xst_lambda_wrap< xst_pair < xst_lambda_wrap< typename LhsT::reference_T > , xst_lambda_wrap< xst_stack < std::stack< ValueT > > > >> | cttl::operator^ (xst_lambda_wrap< LhsT > const &lhs_expr_, std::stack< ValueT > const &stack_) |
Overloaded operator to compose binary tree representing lambda compound. | |
template<typename LhsT > | |
xst_lambda_wrap< xst_pair < xst_lambda_wrap< typename LhsT::reference_T > , xst_lambda_wrap< xst_scalar < int > > >> | cttl::operator^ (xst_lambda_wrap< LhsT > const &lhs_expr_, int value_) |
Overloaded operator to compose binary tree representing lambda compound. | |
template<typename LhsT , typename RhsT > | |
xst_lambda_wrap< xst_pair < xst_lambda_wrap< typename LhsT::reference_T > , xst_lambda_wrap< typename RhsT::reference_T > >> | cttl::operator^ (xst_lambda_wrap< LhsT > const &lhs_expr_, xst_lambda_wrap< RhsT > const &rhs_expr_) |
Overloaded operator to compose binary tree representing lambda compound. | |
template<typename RightExprT , typename LambdaLhsExprT , typename LambdaRhsExprT , typename PolicyAdaptorT > | |
xtl_wrap< xtl_opbinpipe < xtl_wrap< xst_binary_adaptor < LambdaLhsExprT, LambdaRhsExprT, PolicyAdaptorT > >, xtl_wrap< RightExprT > >> | cttl::operator| (xst_binary_adaptor< LambdaLhsExprT, LambdaRhsExprT, PolicyAdaptorT > const &lhs_expr_, xtl_wrap< RightExprT > const &rhs_expr_) |
Overloads binary set union operator allowing to chain lambda expression and CTTL grammar expressions. | |
template<typename LeftExprT , typename LambdaLhsExprT , typename LambdaRhsExprT , typename PolicyAdaptorT > | |
xtl_wrap< xtl_opbinpipe < xtl_wrap< LeftExprT > , xtl_wrap< xst_binary_adaptor < LambdaLhsExprT, LambdaRhsExprT, PolicyAdaptorT > > >> | cttl::operator| (xtl_wrap< LeftExprT > const &lhs_expr_, xst_binary_adaptor< LambdaLhsExprT, LambdaRhsExprT, PolicyAdaptorT > const &rhs_expr_) |
Overloads binary set union operator allowing to chain CTTL grammar and lambda expressions. | |
template<typename RightExprT , typename LambdaExprT , typename PolicyAdaptorT > | |
xtl_wrap< xtl_opbinpipe < xtl_wrap< xst_unary_adaptor < LambdaExprT, PolicyAdaptorT > >, xtl_wrap< RightExprT > >> | cttl::operator| (xst_unary_adaptor< LambdaExprT, PolicyAdaptorT > const &lhs_expr_, xtl_wrap< RightExprT > const &rhs_expr_) |
Overloads binary set union operator allowing to chain lambda expression and CTTL grammar. | |
template<typename LeftExprT , typename LambdaExprT , typename PolicyAdaptorT > | |
xtl_wrap< xtl_opbinpipe < xtl_wrap< LeftExprT > , xtl_wrap< xst_unary_adaptor < LambdaExprT, PolicyAdaptorT > > >> | cttl::operator| (xtl_wrap< LeftExprT > const &lhs_expr_, xst_unary_adaptor< LambdaExprT, PolicyAdaptorT > const &rhs_expr_) |
Overloads binary set union operator allowing to chain CTTL grammar and lambda expressions. | |
template<typename ValueT > | |
xst_lambda_wrap< xst_stack < std::stack< ValueT > & > > | cttl::scalar (std::stack< ValueT > *pstack_) |
Helper function to instantiate stack reference primitive. | |
template<typename ValueT > | |
xst_lambda_wrap< xst_scalar < ValueT & > > | cttl::scalar (ValueT *pvalue_) |
Helper function to instantiate lambda reference primitive. | |
template<typename ValueT > | |
xst_lambda_wrap< xst_stack < std::stack< ValueT > > > | cttl::scalar (std::stack< ValueT > const &stack_) |
Helper function to instantiate stack lambda primitive. | |
template<typename ValueT > | |
xst_lambda_wrap< xst_scalar < ValueT > > | cttl::scalar (ValueT const &value_) |
Helper function to instantiate scalar primitive. |
Definition in file xst_helpers.h.