Definition in file xst_helpers.h.
#include <utility>
#include <map>
Include dependency graph for xst_helpers.h:

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

Go to the source code of this file.
Namespaces | |
| namespace | cttl |
Functions | |
| template<typename ValueT> | |
| xst_lambda_wrap< xst_stack< std::stack< ValueT > > > | make_stack (ValueT const &value_) |
| Helper function to instantiate stack lambda primitive. | |
| template<typename LhsLambdaT, typename RhsTranslatorT> | |
| xst_lambda_wrap< xst_translator< LhsLambdaT, RhsTranslatorT >> | 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 > >> | 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 > > >> | 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 > >> | 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 > > >> | 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 > >> | 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 > > >> | 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 > >> | 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 > > >> | 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 & | 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 >> | 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 > >> | 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 > >> | 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 > >> | 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 > >> | 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 > >> | 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 > >> | 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 > > >> | 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 > > >> | 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 > >> | 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 > >> | 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 & > > >> | 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 > & > > >> | 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 > > > >> | 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 > > >> | 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 > >> | 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 > >> | 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 > > >> | 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 > >> | 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 > > >> | 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 > & > > | scalar (std::stack< ValueT > *pstack_) |
| Helper function to instantiate stack reference primitive. | |
| template<typename ValueT> | |
| xst_lambda_wrap< xst_scalar< ValueT & > > | scalar (ValueT *pvalue_) |
| Helper function to instantiate lambda reference primitive. | |
| template<typename ValueT> | |
| xst_lambda_wrap< xst_stack< std::stack< ValueT > > > | scalar (std::stack< ValueT > const &stack_) |
| Helper function to instantiate stack lambda primitive. | |
| template<typename ValueT> | |
| xst_lambda_wrap< xst_scalar< ValueT > > | scalar (ValueT const &value_) |
| Helper function to instantiate scalar primitive. | |
|
|
Helper function to instantiate stack lambda primitive.
Definition at line 95 of file xst_helpers.h. |
|
||||||||||||
|
Helper function to formulate general purpose translator based on functional composition.
Definition at line 746 of file xst_helpers.h. References xst_lambda_wrap::right_lambda(). Referenced by cttl::alias::begin(), cttl::alias::end(), cttl::alias::erase(), cttl::alias::erase_after(), cttl::alias::find(), cttl::alias::insert_after(), cttl::alias::lower_bound(), cttl::alias::previous(), cttl::alias::rbegin(), cttl::alias::rend(), and cttl::alias::upper_bound(). |
|
||||||||||||
|
Overloads binary set intersection operator allowing to chain lambda expression and CTTL grammar expressions.
Definition at line 1193 of file xst_helpers.h. |
|
||||||||||||
|
Overloads binary set intersection operator allowing to chain CTTL grammar and lambda expressions.
Definition at line 1136 of file xst_helpers.h. |
|
||||||||||||
|
Overloads binary set intersection operator allowing to chain lambda expression and CTTL grammar.
Definition at line 1080 of file xst_helpers.h. |
|
||||||||||||
|
Overloads binary set intersection operator allowing to chain CTTL grammar and lambda expressions.
Definition at line 1029 of file xst_helpers.h. |
|
||||||||||||
|
Overloads binary sequence operator allowing to chain lambda expression and CTTL grammar.
Definition at line 971 of file xst_helpers.h. |
|
||||||||||||
|
Overloads binary sequence operator allowing to chain CTTL grammar and lambda expressions.
Definition at line 915 of file xst_helpers.h. |
|
||||||||||||
|
Overloads binary sequence operator allowing to chain lambda expression and CTTL grammar.
Definition at line 859 of file xst_helpers.h. |
|
||||||||||||
|
Overloads binary sequence operator allowing to chain CTTL grammar and lambda expressions.
Definition at line 808 of file xst_helpers.h. |
|
||||||||||||
|
Overloaded operator to write data of lambda compound to output iterator.
Definition at line 1433 of file xst_helpers.h. References xst_lambda_wrap::traverse_top_down(). |
|
||||||||||||
|
Overloaded operator to formulate general purpose translator based on functional composition.
Definition at line 710 of file xst_helpers.h. References xst_lambda_wrap::make_reference(), and xst_lambda_wrap::right_lambda(). |
|
||||||||||||
|
Overloaded operator to formulate translator for wide character literal.
Definition at line 661 of file xst_helpers.h. References xst_lambda_wrap::make_reference(), and xst_lambda_wrap::right_lambda(). |
|
||||||||||||
|
Overloaded operator to formulate translator for character literal.
Definition at line 630 of file xst_helpers.h. References xst_lambda_wrap::make_reference(), and xst_lambda_wrap::right_lambda(). |
|
||||||||||||
|
Overloaded operator to formulate STL sequence translator.
Definition at line 599 of file xst_helpers.h. References xst_lambda_wrap::make_reference(), and xst_lambda_wrap::right_lambda(). |
|
||||||||||||
|
Overloaded operator to formulate sequence translator.
Definition at line 568 of file xst_helpers.h. References xst_lambda_wrap::make_reference(), and xst_lambda_wrap::right_lambda(). |
|
||||||||||||
|
Overloaded operator to formulate dictionary translator.
Definition at line 537 of file xst_helpers.h. References xst_lambda_wrap::make_reference(), and xst_lambda_wrap::right_lambda(). |
|
||||||||||||
|
Overloaded operator to formulate dictionary translator.
Definition at line 506 of file xst_helpers.h. References xst_lambda_wrap::make_reference(), and xst_lambda_wrap::right_lambda(). |
|
||||||||||||
|
Overloaded operator to formulate translator for STL vector.
Definition at line 475 of file xst_helpers.h. References xst_lambda_wrap::make_reference(), and xst_lambda_wrap::right_lambda(). |
|
||||||||||||
|
Overloaded operator to formulate translator for STL vector.
Definition at line 436 of file xst_helpers.h. |
|
||||||||||||
|
Overloaded operator to formulate translator for CTTL substring.
Definition at line 390 of file xst_helpers.h. |
|
||||||||||||
|
Overloaded operator to formulate translator for CTTL substring.
Definition at line 344 of file xst_helpers.h. |
|
||||||||||||
|
Overloaded operator to compose binary tree representing lambda compound.
Definition at line 308 of file xst_helpers.h. References xst_lambda_wrap::make_reference(). |
|
||||||||||||
|
Overloaded operator to compose binary tree representing lambda compound.
Definition at line 279 of file xst_helpers.h. References xst_lambda_wrap::make_reference(). |
|
||||||||||||
|
Overloaded operator to compose binary tree representing lambda compound.
Definition at line 250 of file xst_helpers.h. References xst_lambda_wrap::make_reference(). |
|
||||||||||||
|
Overloaded operator to compose binary tree representing lambda compound.
Definition at line 222 of file xst_helpers.h. References xst_lambda_wrap::make_reference(). |
|
||||||||||||
|
Overloaded operator to compose binary tree representing lambda compound.
Definition at line 186 of file xst_helpers.h. References xst_lambda_wrap::make_reference(). |
|
||||||||||||
|
Overloads binary set union operator allowing to chain lambda expression and CTTL grammar expressions.
Definition at line 1415 of file xst_helpers.h. |
|
||||||||||||
|
Overloads binary set union operator allowing to chain CTTL grammar and lambda expressions.
Definition at line 1358 of file xst_helpers.h. |
|
||||||||||||
|
Overloads binary set union operator allowing to chain lambda expression and CTTL grammar.
Definition at line 1302 of file xst_helpers.h. |
|
||||||||||||
|
Overloads binary set union operator allowing to chain CTTL grammar and lambda expressions.
Definition at line 1251 of file xst_helpers.h. |
|
|
|
Helper function to instantiate lambda reference primitive.
Definition at line 144 of file xst_helpers.h. |
|
|
Helper function to instantiate stack lambda primitive.
Definition at line 118 of file xst_helpers.h. |
|
|
Helper function to instantiate scalar primitive.
Definition at line 70 of file xst_helpers.h. |
1.3.9.1