Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT > Class Template Reference

Date and time formatter terminal. More...

#include <date_time.hpp>

Public Types

typedef void _is_boost_log_terminal
 Internal typedef for type categorization. More...
 
typedef T value_type
 Attribute value type. More...
 
typedef FallbackPolicyT fallback_policy
 Fallback policy. More...
 
typedef CharT char_type
 Character type. More...
 
typedef std::basic_string
< char_type
string_type
 String type. More...
 
typedef
basic_formatting_ostream
< char_type
stream_type
 Formatting stream type. More...
 
typedef
boost::log::aux::light_function
< void(stream_type
&, value_type const &) > 
formatter_function_type
 Formatter function. More...
 
typedef string_type result_type
 Function result type. More...
 

Public Member Functions

 format_date_time_terminal (attribute_name const &name, fallback_policy const &fallback, string_type const &format)
 Initializing constructor. More...
 
 format_date_time_terminal (format_date_time_terminal const &that)
 Copy constructor. More...
 
attribute_name get_name () const
 Returns attribute name. More...
 
fallback_policy const & get_fallback_policy () const
 Returns fallback policy. More...
 
formatter_function_type const & get_formatter_function () const
 Retruns formatter function. More...
 
template<typename ContextT >
result_type operator() (ContextT const &ctx)
 Invokation operator. More...
 
template<typename ContextT >
result_type operator() (ContextT const &ctx) const
 Invokation operator. More...
 

Detailed Description

template<typename T, typename FallbackPolicyT, typename CharT>
class boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >

Date and time formatter terminal.

Member Typedef Documentation

template<typename T , typename FallbackPolicyT , typename CharT >
typedef void boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::_is_boost_log_terminal

Internal typedef for type categorization.

template<typename T , typename FallbackPolicyT , typename CharT >
typedef CharT boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::char_type

Character type.

template<typename T , typename FallbackPolicyT , typename CharT >
typedef FallbackPolicyT boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::fallback_policy

Fallback policy.

template<typename T , typename FallbackPolicyT , typename CharT >
typedef boost::log::aux::light_function< void (stream_type&, value_type const&) > boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::formatter_function_type

Formatter function.

template<typename T , typename FallbackPolicyT , typename CharT >
typedef string_type boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::result_type

Function result type.

template<typename T , typename FallbackPolicyT , typename CharT >
typedef basic_formatting_ostream< char_type > boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::stream_type

Formatting stream type.

template<typename T , typename FallbackPolicyT , typename CharT >
typedef std::basic_string< char_type > boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::string_type

String type.

template<typename T , typename FallbackPolicyT , typename CharT >
typedef T boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::value_type

Attribute value type.

Constructor & Destructor Documentation

template<typename T , typename FallbackPolicyT , typename CharT >
boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::format_date_time_terminal ( attribute_name const &  name,
fallback_policy const &  fallback,
string_type const &  format 
)
inline

Initializing constructor.

template<typename T , typename FallbackPolicyT , typename CharT >
boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::format_date_time_terminal ( format_date_time_terminal< T, FallbackPolicyT, CharT > const &  that)
inline

Copy constructor.

Member Function Documentation

template<typename T , typename FallbackPolicyT , typename CharT >
fallback_policy const& boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::get_fallback_policy ( ) const
inline
template<typename T , typename FallbackPolicyT , typename CharT >
formatter_function_type const& boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::get_formatter_function ( ) const
inline

Retruns formatter function.

template<typename T , typename FallbackPolicyT , typename CharT >
attribute_name boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::get_name ( ) const
inline

Returns attribute name.

template<typename T , typename FallbackPolicyT , typename CharT >
template<typename ContextT >
result_type boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::operator() ( ContextT const &  ctx)
inline
template<typename T , typename FallbackPolicyT , typename CharT >
template<typename ContextT >
result_type boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::operator() ( ContextT const &  ctx) const
inline

The documentation for this class was generated from the following file: