An attribute value extraction terminal actor. More...
#include <attr_fwd.hpp>


Public Types | |
| typedef TagT | tag_type |
| Attribute tag type. More... | |
| typedef FallbackPolicyT | fallback_policy |
| Fallback policy. More... | |
| typedef attribute_terminal< T, fallback_policy, tag_type > | terminal_type |
| Base terminal type. More... | |
| typedef terminal_type::value_type | value_type |
| Attribute value type. More... | |
| typedef ActorT< terminal_type > | base_type |
| Base actor type. More... | |
| typedef attribute_actor < value_type, fallback_to_none, tag_type, ActorT > | or_none_result_type |
| Expression with cached attribute name. More... | |
| typedef attribute_actor < value_type, fallback_to_throw, tag_type, ActorT > | or_throw_result_type |
| Expression with cached attribute name. More... | |
Public Member Functions | |
| attribute_actor (base_type const &act) | |
| Initializing constructor. More... | |
| attribute_name | get_name () const |
| fallback_policy const & | get_fallback_policy () const |
| or_none_result_type | or_none () const |
| Generates an expression that extracts the attribute value or a default value. More... | |
| or_throw_result_type | or_throw () const |
| Generates an expression that extracts the attribute value or throws an exception. More... | |
| template<typename DefaultT > | |
| attribute_actor< value_type, fallback_to_default< DefaultT > , tag_type, ActorT > | or_default (DefaultT const &def_val) const |
| Generates an expression that extracts the attribute value or a default value. More... | |
An attribute value extraction terminal actor.
| typedef ActorT< terminal_type > boost::expressions::attribute_actor< T, FallbackPolicyT, TagT, ActorT >::base_type |
Base actor type.
| typedef FallbackPolicyT boost::expressions::attribute_actor< T, FallbackPolicyT, TagT, ActorT >::fallback_policy |
Fallback policy.
| typedef attribute_actor< value_type, fallback_to_none, tag_type, ActorT > boost::expressions::attribute_actor< T, FallbackPolicyT, TagT, ActorT >::or_none_result_type |
Expression with cached attribute name.
| typedef attribute_actor< value_type, fallback_to_throw, tag_type, ActorT > boost::expressions::attribute_actor< T, FallbackPolicyT, TagT, ActorT >::or_throw_result_type |
Expression with cached attribute name.
| typedef TagT boost::expressions::attribute_actor< T, FallbackPolicyT, TagT, ActorT >::tag_type |
Attribute tag type.
| typedef attribute_terminal< T, fallback_policy, tag_type > boost::expressions::attribute_actor< T, FallbackPolicyT, TagT, ActorT >::terminal_type |
Base terminal type.
| typedef terminal_type::value_type boost::expressions::attribute_actor< T, FallbackPolicyT, TagT, ActorT >::value_type |
Attribute value type.
|
inlineexplicit |
Initializing constructor.
|
inline |
Referenced by boost::expressions::begins_with(), boost::expressions::channel_severity_filter(), boost::expressions::contains(), boost::expressions::ends_with(), boost::expressions::format_date_time(), boost::expressions::format_named_scope(), boost::expressions::is_in_range(), and boost::expressions::matches().
|
inline |
Referenced by boost::expressions::begins_with(), boost::expressions::channel_severity_filter(), boost::expressions::contains(), boost::expressions::ends_with(), boost::expressions::format_date_time(), boost::expressions::format_named_scope(), boost::expressions::is_in_range(), boost::expressions::matches(), boost::expressions::attribute_actor< T, FallbackPolicyT, TagT, ActorT >::or_default(), boost::expressions::attribute_actor< T, FallbackPolicyT, TagT, ActorT >::or_none(), and boost::expressions::attribute_actor< T, FallbackPolicyT, TagT, ActorT >::or_throw().
|
inline |
Generates an expression that extracts the attribute value or a default value.
References boost::expressions::attribute_actor< T, FallbackPolicyT, TagT, ActorT >::get_name().
|
inline |
Generates an expression that extracts the attribute value or a default value.
References boost::expressions::attribute_actor< T, FallbackPolicyT, TagT, ActorT >::get_name().
|
inline |
Generates an expression that extracts the attribute value or throws an exception.
References boost::expressions::attribute_actor< T, FallbackPolicyT, TagT, ActorT >::get_name().