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... | |
An attribute value extraction terminal.
typedef void boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::_is_boost_log_terminal |
Internal typedef for type categorization.
typedef value_extractor_type::fallback_policy boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::fallback_policy |
Fallback policy type.
typedef TagT boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::tag_type |
Attribute tag type.
typedef value_extractor_type::value_type boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::value_type |
Attribute value type.
|
inlineexplicit |
Initializing constructor.
|
inline |
Initializing constructor.
|
inline |
References boost::value_extractor< T, FallbackPolicyT, TagT >::get_fallback_policy().
|
inline |
|
inline |
The operator extracts attribute value.
References boost::python::args(), and boost::phoenix::env().
|
inline |
The operator extracts attribute value.
References boost::python::args(), and boost::phoenix::env().