Class template channel_severity_filter_actor
boost::log::expressions::channel_severity_filter_actor
Synopsis
template<typename ChannelT, typename SeverityT,
typename ChannelFallbackT = fallback_to_none,
typename SeverityFallbackT = fallback_to_none,
typename ChannelOrderT = less,
typename SeverityCompareT = greater_equal,
typename AllocatorT = std::allocator< void >,
template< typename > class ActorT = phoenix::actor>
class channel_severity_filter_actor : public ActorT< channel_severity_filter_terminal< ChannelT, SeverityT, ChannelFallbackT, SeverityFallbackT, ChannelOrderT, SeverityCompareT, AllocatorT > >
{
public:
typedef channel_severity_filter_terminal< ChannelT, SeverityT, ChannelFallbackT, SeverityFallbackT, ChannelOrderT, SeverityCompareT, AllocatorT > terminal_type;
typedef ActorT< terminal_type > base_type;
typedef terminal_type::channel_value_type channel_value_type;
typedef terminal_type::channel_fallback_policy channel_fallback_policy;
typedef terminal_type::severity_value_type severity_value_type;
typedef terminal_type::severity_fallback_policy severity_fallback_policy;
class subscript_result {
public:
subscript_result(channel_severity_filter_actor &,
channel_value_type const &);
void operator=(severity_value_type const &);
};
explicit channel_severity_filter_actor(base_type const &);
channel_severity_filter_actor(channel_severity_filter_actor const &);
this_type & set_default(bool);
this_type & add(channel_value_type const &, severity_value_type const &);
subscript_result operator[](channel_value_type const &);
};
Description
channel_severity_filter_actor
public
construct/copy/destruct
- <
explicitchannel_severity_filter_actor(base_typeconst&act);
>Начало строительства.
- <
channel_severity_filter_actor(channel_severity_filter_actorconst&that);
>Копировать конструктор.
channel_severity_filter_actor
public member functions
- <
this_type&set_default(booldef);
>Установите результат функции по умолчанию.
- <
this_type&add(channel_value_typeconst&channel,
severity_value_typeconst&severity);
>Добавляет новый элемент в картографию.
- <
subscript_resultoperator[](channel_value_typeconst&channel);
>Альтернативный интерфейс для добавления нового элемента в отображение.