Class template attribute_terminal
boost::log::expressions::attribute_terminal
Synopsis
template<typename T, typename FallbackPolicyT, typename TagT>
class attribute_terminal {
public:
typedef TagT tag_type;
typedef value_extractor_type::value_type value_type;
typedef value_extractor_type::fallback_policy fallback_policy;
template<typename >
struct result {
};
template<typename ThisT, typename ContextT>
struct result<ThisT(ContextT)> {
typedef remove_cv< typename remove_reference< typename phoenix::result_of::env< ContextT >::type >::type >::type env_type;
typedef env_type::args_type args_type;
typedef unspecified cv_value_extractor_type;
typedef boost::result_of< cv_value_extractor_type(attribute_name const &, typename fusion::result_of::at_c< args_type, 0 >::type) >::type type;
};
explicit attribute_terminal(attribute_name const &);
template<typename U> attribute_terminal(attribute_name const &, U const &);
attribute_terminal() = delete;
attribute_name get_name() const;
fallback_policy const & get_fallback_policy() const;
template<typename ContextT>
result< this_type(ContextT const &) >::type operator()(ContextT const &);
template<typename ContextT>
result< const this_type(ContextT const &) >::type
operator()(ContextT const &) const;
};
Description
Терминал извлечения значения атрибута
attribute_terminal
public
construct/copy/destruct
attribute_terminal public member functions
attribute_name get_nameconst;