cttl::alias::queue Namespace Reference

Alias helpers for front() and back() member functions of STL queue container. More...


Functions

template<typename LambdaT >
xst_unary_adaptor
< xst_lambda_wrap< xst_scalar
< xst_member_action< typename
LambdaT::value_T
&, std::mem_fun_t< typename
LambdaT::value_T::value_type
&, typename LambdaT::value_T >
, void, typename
LambdaT::value_T::value_type & >
> >, xst_dereference_policy
< xst_dereference_traits
< typename LambdaT::value_T,
typename
LambdaT::value_T::value_type & >
::capacity_,
LambdaT::primitive_id_ >> 
back (xst_lambda_wrap< LambdaT > *plambda_)
 Alias helper function back.
template<typename LambdaT >
xst_unary_adaptor
< xst_lambda_wrap< xst_scalar
< xst_member_action< typename
LambdaT::value_T const
&, std::const_mem_fun_t
< typename
LambdaT::value_T::value_type
const &, typename
LambdaT::value_T >, void,
typename
LambdaT::value_T::value_type
const & >
> >, xst_dereference_policy
< xst_dereference_traits
< typename LambdaT::value_T,
typename
LambdaT::value_T::value_type
const & >::capacity_,
LambdaT::primitive_id_ >> 
back (xst_lambda_wrap< LambdaT > const &lambda_)
 Alias helper function back.
template<typename LambdaT >
xst_unary_adaptor
< xst_lambda_wrap< xst_scalar
< xst_member_action< typename
LambdaT::value_T
&, std::mem_fun_t< typename
LambdaT::value_T::value_type
&, typename LambdaT::value_T >
, void, typename
LambdaT::value_T::value_type & >
> >, xst_dereference_policy
< xst_dereference_traits
< typename LambdaT::value_T,
typename
LambdaT::value_T::value_type & >
::capacity_,
LambdaT::primitive_id_ >> 
front (xst_lambda_wrap< LambdaT > *plambda_)
 Alias helper function front.
template<typename LambdaT >
xst_unary_adaptor
< xst_lambda_wrap< xst_scalar
< xst_member_action< typename
LambdaT::value_T const
&, std::const_mem_fun_t
< typename
LambdaT::value_T::value_type
const &, typename
LambdaT::value_T >, void,
typename
LambdaT::value_T::value_type
const & >
> >, xst_dereference_policy
< xst_dereference_traits
< typename LambdaT::value_T,
typename
LambdaT::value_T::value_type
const & >::capacity_,
LambdaT::primitive_id_ >> 
front (xst_lambda_wrap< LambdaT > const &lambda_)
 Alias helper function front.


Detailed Description

Alias helpers for front() and back() member functions of STL queue container.


Function Documentation

template<typename LambdaT >
xst_unary_adaptor< xst_lambda_wrap< xst_scalar< xst_member_action< typename LambdaT::value_T &, std::mem_fun_t< typename LambdaT::value_T::value_type&, typename LambdaT::value_T >, void, typename LambdaT::value_T::value_type& > > > , xst_dereference_policy< xst_dereference_traits< typename LambdaT::value_T, typename LambdaT::value_T::value_type& >::capacity_, LambdaT::primitive_id_ >> cttl::alias::queue::back ( xst_lambda_wrap< LambdaT > *  plambda_  ) 

Alias helper function back.

Returns closure for

    X::value_type& alias::queue::back();

member function. The closure object delays actual function call till run-time by capturing pointer to member function.

Definition at line 5902 of file xst_member_action_alias.h.

05905 {
05906     typedef typename LambdaT::value_T object_T;
05907     typedef typename LambdaT::value_T::value_type& result_T;
05908     typedef xst_unary_adaptor<
05909         xst_lambda_wrap<
05910             xst_scalar<
05911                 xst_member_action<
05912                     /*ObjectT*/         typename LambdaT::value_T &,
05913                     /*MemberActionT*/   std::mem_fun_t<
05914                                             /*ResultT*/typename LambdaT::value_T::value_type&,
05915                                             /*ObjectT*/typename LambdaT::value_T
05916                                         >,
05917                     /*ArgumentT*/       void,
05918                     /*ResultT*/         typename LambdaT::value_T::value_type&
05919                 >
05920             >
05921         >
05922         ,
05923         xst_dereference_policy<
05924             xst_dereference_traits<
05925                 /*ObjectT*/ typename LambdaT::value_T,
05926                 /*ResultT*/ typename LambdaT::value_T::value_type&
05927             >::capacity_,
05928             LambdaT::primitive_id_
05929         >
05930     >
05931     xst_adaptor_T;
05932 
05933     return xst_adaptor_T( scalar(
05934 #ifdef CTTL_TRACE_DEPOSITS
05935             xst_traced_action(
05936                 __LINE__,
05937                 "X::value_type& alias::queue::back()",
05938 #else
05939             action(
05940 #endif // CTTL_TRACE_DEPOSITS
05941                 &plambda_->top( const_scalar( 0 ) ),
05942                 ( std::mem_fun_t<
05943                     result_T,
05944                     object_T
05945                     >
05946                     ( &object_T::back )
05947                 )
05948             )
05949         ))
05950         ;
05951 }

template<typename LambdaT >
xst_unary_adaptor< xst_lambda_wrap< xst_scalar< xst_member_action< typename LambdaT::value_T const&, std::const_mem_fun_t< typename LambdaT::value_T::value_type const&, typename LambdaT::value_T >, void, typename LambdaT::value_T::value_type const& > > > , xst_dereference_policy< xst_dereference_traits< typename LambdaT::value_T, typename LambdaT::value_T::value_type const& >::capacity_, LambdaT::primitive_id_ >> cttl::alias::queue::back ( xst_lambda_wrap< LambdaT > const &  lambda_  ) 

Alias helper function back.

Returns closure for

    X::value_type const& alias::queue::back()const;

member function. The closure object delays actual function call till run-time by capturing pointer to member function.

Definition at line 5810 of file xst_member_action_alias.h.

05813 {
05814     typedef typename LambdaT::value_T object_T;
05815     typedef typename LambdaT::value_T::value_type const& result_T;
05816     typedef xst_unary_adaptor<
05817         xst_lambda_wrap<
05818             xst_scalar<
05819                 xst_member_action<
05820                     /*ObjectT*/         typename LambdaT::value_T const&,
05821                     /*MemberActionT*/   std::const_mem_fun_t<
05822                                             /*ResultT*/typename LambdaT::value_T::value_type const&,
05823                                             /*ObjectT*/typename LambdaT::value_T
05824                                         >,
05825                     /*ArgumentT*/       void,
05826                     /*ResultT*/         typename LambdaT::value_T::value_type const&
05827                 >
05828             >
05829         >
05830         ,
05831         xst_dereference_policy<
05832             xst_dereference_traits<
05833                 /*ObjectT*/ typename LambdaT::value_T,
05834                 /*ResultT*/ typename LambdaT::value_T::value_type const&
05835             >::capacity_,
05836             LambdaT::primitive_id_
05837         >
05838     >
05839     xst_adaptor_T;
05840 
05841     return xst_adaptor_T( scalar(
05842 #ifdef CTTL_TRACE_DEPOSITS
05843             xst_traced_action(
05844                 __LINE__,
05845                 "X::value_type const& alias::queue::back()const",
05846 #else
05847             action(
05848 #endif // CTTL_TRACE_DEPOSITS
05849                 lambda_.top( const_scalar( 0 ) ),
05850                 ( std::const_mem_fun_t<
05851                     result_T,
05852                     object_T
05853                     >
05854                     ( &object_T::back )
05855                 )
05856             )
05857         ))
05858         ;
05859 }

template<typename LambdaT >
xst_unary_adaptor< xst_lambda_wrap< xst_scalar< xst_member_action< typename LambdaT::value_T &, std::mem_fun_t< typename LambdaT::value_T::value_type&, typename LambdaT::value_T >, void, typename LambdaT::value_T::value_type& > > > , xst_dereference_policy< xst_dereference_traits< typename LambdaT::value_T, typename LambdaT::value_T::value_type& >::capacity_, LambdaT::primitive_id_ >> cttl::alias::queue::front ( xst_lambda_wrap< LambdaT > *  plambda_  ) 

Alias helper function front.

Returns closure for

    X::value_type& alias::queue::front();

member function. The closure object delays actual function call till run-time by capturing pointer to member function.

Definition at line 6086 of file xst_member_action_alias.h.

06089 {
06090     typedef typename LambdaT::value_T object_T;
06091     typedef typename LambdaT::value_T::value_type& result_T;
06092     typedef xst_unary_adaptor<
06093         xst_lambda_wrap<
06094             xst_scalar<
06095                 xst_member_action<
06096                     /*ObjectT*/         typename LambdaT::value_T &,
06097                     /*MemberActionT*/   std::mem_fun_t<
06098                                             /*ResultT*/typename LambdaT::value_T::value_type&,
06099                                             /*ObjectT*/typename LambdaT::value_T
06100                                         >,
06101                     /*ArgumentT*/       void,
06102                     /*ResultT*/         typename LambdaT::value_T::value_type&
06103                 >
06104             >
06105         >
06106         ,
06107         xst_dereference_policy<
06108             xst_dereference_traits<
06109                 /*ObjectT*/ typename LambdaT::value_T,
06110                 /*ResultT*/ typename LambdaT::value_T::value_type&
06111             >::capacity_,
06112             LambdaT::primitive_id_
06113         >
06114     >
06115     xst_adaptor_T;
06116 
06117     return xst_adaptor_T( scalar(
06118 #ifdef CTTL_TRACE_DEPOSITS
06119             xst_traced_action(
06120                 __LINE__,
06121                 "X::value_type& alias::queue::front()",
06122 #else
06123             action(
06124 #endif // CTTL_TRACE_DEPOSITS
06125                 &plambda_->top( const_scalar( 0 ) ),
06126                 ( std::mem_fun_t<
06127                     result_T,
06128                     object_T
06129                     >
06130                     ( &object_T::front )
06131                 )
06132             )
06133         ))
06134         ;
06135 }

template<typename LambdaT >
xst_unary_adaptor< xst_lambda_wrap< xst_scalar< xst_member_action< typename LambdaT::value_T const&, std::const_mem_fun_t< typename LambdaT::value_T::value_type const&, typename LambdaT::value_T >, void, typename LambdaT::value_T::value_type const& > > > , xst_dereference_policy< xst_dereference_traits< typename LambdaT::value_T, typename LambdaT::value_T::value_type const& >::capacity_, LambdaT::primitive_id_ >> cttl::alias::queue::front ( xst_lambda_wrap< LambdaT > const &  lambda_  ) 

Alias helper function front.

Returns closure for

    X::value_type const& alias::queue::front()const;

member function. The closure object delays actual function call till run-time by capturing pointer to member function.

Definition at line 5994 of file xst_member_action_alias.h.

05997 {
05998     typedef typename LambdaT::value_T object_T;
05999     typedef typename LambdaT::value_T::value_type const& result_T;
06000     typedef xst_unary_adaptor<
06001         xst_lambda_wrap<
06002             xst_scalar<
06003                 xst_member_action<
06004                     /*ObjectT*/         typename LambdaT::value_T const&,
06005                     /*MemberActionT*/   std::const_mem_fun_t<
06006                                             /*ResultT*/typename LambdaT::value_T::value_type const&,
06007                                             /*ObjectT*/typename LambdaT::value_T
06008                                         >,
06009                     /*ArgumentT*/       void,
06010                     /*ResultT*/         typename LambdaT::value_T::value_type const&
06011                 >
06012             >
06013         >
06014         ,
06015         xst_dereference_policy<
06016             xst_dereference_traits<
06017                 /*ObjectT*/ typename LambdaT::value_T,
06018                 /*ResultT*/ typename LambdaT::value_T::value_type const&
06019             >::capacity_,
06020             LambdaT::primitive_id_
06021         >
06022     >
06023     xst_adaptor_T;
06024 
06025     return xst_adaptor_T( scalar(
06026 #ifdef CTTL_TRACE_DEPOSITS
06027             xst_traced_action(
06028                 __LINE__,
06029                 "X::value_type const& alias::queue::front()const",
06030 #else
06031             action(
06032 #endif // CTTL_TRACE_DEPOSITS
06033                 lambda_.top( const_scalar( 0 ) ),
06034                 ( std::const_mem_fun_t<
06035                     result_T,
06036                     object_T
06037                     >
06038                     ( &object_T::front )
06039                 )
06040             )
06041         ))
06042         ;
06043 }


Generated on Sun Aug 23 13:44:11 2009 for Common Text Transformation Library by  doxygen 1.5.9