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

Class template format_date_time_actor

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_date_time_actor

boost::log::expressions::format_date_time_actor

Synopsis

// In header: <boost/log/expressions/formatters/date_time.hpp>
template<typename T, typename FallbackPolicyT, typename CharT, 
         template< typename > class ActorT = phoenix::actor> 
class format_date_time_actor :
  public ActorT< format_date_time_terminal< T, FallbackPolicyT, CharT > >
{
public:
  // types
  typedef T                                                                   value_type;               // Attribute value type. 
  typedef CharT                                                               char_type;                // Character type. 
  typedef FallbackPolicyT                                                     fallback_policy;          // Fallback policy. 
  typedef format_date_time_terminal< value_type, fallback_policy, char_type > terminal_type;            // Base terminal type. 
  typedef terminal_type::formatter_function_type                              formatter_function_type;  // Formatter function. 
  typedef ActorT< terminal_type >                                             base_type;                // Base actor type. 
  // construct/copy/destruct
  explicit format_date_time_actor(base_type const &);
  // public member functions
  attribute_name get_name() const;
  fallback_policy const & get_fallback_policy() const;
  formatter_function_type const & get_formatter_function() const;
};

Description

Актёр формата даты и времени.

format_date_time_actor public construct/copy/destruct

  1. <
    explicitformat_date_time_actor(base_typeconst&act);
    >Начало строительства.

format_date_time_actor public member functions

  1. <
    attribute_nameget_name()const;
    >

    Возвращение:

    Имя атрибута

  2. <
    fallback_policyconst&get_fallback_policy()const;
    >

    Возвращение:

    Политика отката

  3. <
    formatter_function_typeconst&get_formatter_function()const;
    >

    Возвращение:

    Функция материи


PrevUpHomeNext

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




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



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


реклама


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

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 22:32:42/0.0082600116729736/1