Class template format_named_scope_terminal
boost::log::expressions::format_named_scope_terminal
Synopsis
template<typename FallbackPolicyT, typename CharT>
class format_named_scope_terminal {
public:
typedef attributes::named_scope::value_type value_type;
typedef FallbackPolicyT fallback_policy;
typedef CharT char_type;
typedef std::basic_string< char_type > string_type;
typedef basic_formatting_ostream< char_type > stream_type;
typedef unspecified formatter_function_type;
typedef string_type result_type;
template<typename FormatT>
format_named_scope_terminal(attribute_name const &,
fallback_policy const &, FormatT const &,
string_type const &, string_type const &,
string_type const &, value_type::size_type,
scope_iteration_direction);
format_named_scope_terminal(format_named_scope_terminal const &);
format_named_scope_terminal() = delete;
attribute_name get_name() const;
fallback_policy const & get_fallback_policy() const;
formatter_function_type const & get_formatter_function() const;
template<typename ContextT> result_type operator()(ContextT const &);
template<typename ContextT> result_type operator()(ContextT const &) const;
};
Description
Назван терминал форматирования.
format_named_scope_terminal
public
construct/copy/destruct
- <
template<typenameFormatT>
format_named_scope_terminal(attribute_nameconst&name,
fallback_policyconst&fallback,
FormatTconst&element_format,
string_typeconst&delimiter,
string_typeconst&incomplete_marker,
string_typeconst&empty_marker,
value_type::size_typedepth,
scope_iteration_directiondirection);
>Начало строительства.
- <
format_named_scope_terminal(format_named_scope_terminalconst&that);
>Копировать конструктор.
- <
format_named_scope_terminal()=delete;
>
format_named_scope_terminal
public member functions
- <
attribute_nameget_name()const;
>Возвращает имя атрибута.
- <
fallback_policyconst&get_fallback_policy()const;
>Возвращает обратную политику.
- <
formatter_function_typeconst&get_formatter_function()const;
>Функция повторного форматирования.
- <
template<typenameContextT>result_typeoperator()(ContextTconst&ctx);
>Оператор инвокации.
- <
template<typenameContextT>result_typeoperator()(ContextTconst&ctx)const;
>Оператор инвокации.