Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT > Singleton Reference

An attribute value extraction terminal. More...

#include <attr_fwd.hpp>

Classes

struct  result
 Function result type. More...
 
struct  result< ThisT(ContextT) >
 

Public Types

typedef void _is_boost_log_terminal
 Internal typedef for type categorization. More...
 
typedef TagT tag_type
 Attribute tag type. More...
 
typedef
value_extractor_type::value_type 
value_type
 Attribute value type. More...
 
typedef
value_extractor_type::fallback_policy 
fallback_policy
 Fallback policy type. More...
 

Public Member Functions

 attribute_terminal (attribute_name const &name)
 Initializing constructor. More...
 
template<typename U >
 attribute_terminal (attribute_name const &name, U const &arg)
 Initializing constructor. More...
 
attribute_name get_name () const
 
fallback_policy const & get_fallback_policy () const
 
template<typename ContextT >
result< this_type(ContextT
const &) >::type 
operator() (ContextT const &ctx)
 The operator extracts attribute value. More...
 
template<typename ContextT >
result< const this_type(ContextT
const &) >::type 
operator() (ContextT const &ctx) const
 The operator extracts attribute value. More...
 

Detailed Description

template<typename T, typename FallbackPolicyT, typename TagT>
singleton boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >

An attribute value extraction terminal.

Member Typedef Documentation

template<typename T , typename FallbackPolicyT , typename TagT >
typedef void boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::_is_boost_log_terminal

Internal typedef for type categorization.

template<typename T , typename FallbackPolicyT , typename TagT >
typedef value_extractor_type::fallback_policy boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::fallback_policy

Fallback policy type.

template<typename T , typename FallbackPolicyT , typename TagT >
typedef TagT boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::tag_type

Attribute tag type.

template<typename T , typename FallbackPolicyT , typename TagT >
typedef value_extractor_type::value_type boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::value_type

Attribute value type.

Constructor & Destructor Documentation

template<typename T , typename FallbackPolicyT , typename TagT >
boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::attribute_terminal ( attribute_name const &  name)
inlineexplicit

Initializing constructor.

template<typename T , typename FallbackPolicyT , typename TagT >
template<typename U >
boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::attribute_terminal ( attribute_name const &  name,
U const &  arg 
)
inline

Initializing constructor.

Member Function Documentation

template<typename T , typename FallbackPolicyT , typename TagT >
fallback_policy const& boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::get_fallback_policy ( ) const
inline
template<typename T , typename FallbackPolicyT , typename TagT >
attribute_name boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::get_name ( ) const
inline
Returns
Attribute value name
template<typename T , typename FallbackPolicyT , typename TagT >
template<typename ContextT >
result< this_type(ContextT const&) >::type boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::operator() ( ContextT const &  ctx)
inline

The operator extracts attribute value.

References boost::python::args(), and boost::phoenix::env().

template<typename T , typename FallbackPolicyT , typename TagT >
template<typename ContextT >
result< const this_type(ContextT const&) >::type boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::operator() ( ContextT const &  ctx) const
inline

The operator extracts attribute value.

References boost::python::args(), and boost::phoenix::env().


The documentation for this singleton was generated from the following file: