boost::log::expressions::format_date_time_terminal
// In header: <boost/log/expressions/formatters/date_time.hpp> template<typename T, typename FallbackPolicyT, typename CharT> class format_date_time_terminal { public: // types typedef void _is_boost_log_terminal; // Internal typedef for type categorization. typedef T 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 format_date_time_terminal(attribute_name const &, fallback_policy const &, string_type const &); format_date_time_terminal(format_date_time_terminal const &); format_date_time_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; };
Date and time formatter terminal.
format_date_time_terminal
public
construct/copy/destructformat_date_time_terminal(attribute_name const & name, fallback_policy const & fallback, string_type const & format);Initializing constructor.
format_date_time_terminal(format_date_time_terminal const & that);Copy constructor.
format_date_time_terminal() = delete;
format_date_time_terminal
public member functionsattribute_name get_name() const;Returns attribute name.
fallback_policy const & get_fallback_policy() const;Returns fallback policy.
formatter_function_type const & get_formatter_function() const;Retruns formatter function.
template<typename ContextT> result_type operator()(ContextT const & ctx);Invokation operator.
template<typename ContextT> result_type operator()(ContextT const & ctx) const;Invokation operator.