Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Class template format_named_scope_terminal

Boost , Chapter 1. Boost.Log v2 , Expressions

Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Class template format_named_scope_terminal

boost::log::expressions::format_named_scope_terminal

Synopsis

// In header: <boost/log/expressions/formatters/named_scope.hpp>
template<typename FallbackPolicyT, typename CharT> 
class format_named_scope_terminal {
public:
  // types
  typedef attributes::named_scope::value_type   value_type;               // Attribute value type. 
  typedef FallbackPolicyT                       fallback_policy;          // Fallback policy. 
  typedef CharT                                 char_type;                // Character type. 
  typedef std::basic_string< char_type >        string_type;              // String type. 
  typedef basic_formatting_ostream< char_type > stream_type;              // Formatting stream type. 
  typedef unspecified                           formatter_function_type;  // Formatter function. 
  typedef string_type                           result_type;              // Function result type. 
  // construct/copy/destruct
  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;
  // public member functions
  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

  1. <
    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);
    >Начало строительства.
  2. <
    format_named_scope_terminal(format_named_scope_terminalconst&that);
    >Копировать конструктор.
  3. <
    format_named_scope_terminal()=delete;
    >

format_named_scope_terminal public member functions

  1. <
    attribute_nameget_name()const;
    >Возвращает имя атрибута.
  2. <
    fallback_policyconst&get_fallback_policy()const;
    >Возвращает обратную политику.
  3. <
    formatter_function_typeconst&get_formatter_function()const;
    >Функция повторного форматирования.
  4. <
    template<typenameContextT>result_typeoperator()(ContextTconst&ctx);
    >Оператор инвокации.
  5. <
    template<typenameContextT>result_typeoperator()(ContextTconst&ctx)const;
    >Оператор инвокации.

PrevUpHomeNext

Статья Class template format_named_scope_terminal раздела Chapter 1. Boost.Log v2 Expressions может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Expressions ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 20:23:50/0.0085511207580566/1