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

This is the documentation for a snapshot of the master branch, built from commit c6a8213e9b.
PrevUpHomeNext

Class template format_named_scope_actor

boost::log::expressions::format_named_scope_actor

Synopsis

// In header: <boost/log/expressions/formatters/named_scope.hpp>

template<typename FallbackPolicyT, typename CharT, 
         template< typename > class ActorT = phoenix::actor> 
class format_named_scope_actor : public phoenix::actor< format_named_scope_terminal< FallbackPolicyT, CharT > >
{
public:
  // types
  typedef CharT                                                     char_type;                // Character type. 
  typedef FallbackPolicyT                                           fallback_policy;          // Fallback policy. 
  typedef format_named_scope_terminal< fallback_policy, char_type > terminal_type;            // Base terminal type. 
  typedef terminal_type::value_type                                 value_type;               // Attribute value 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_named_scope_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

Named scope formatter actor.

format_named_scope_actor public construct/copy/destruct

  1. explicit format_named_scope_actor(base_type const & act);
    Initializing constructor.

format_named_scope_actor public member functions

  1. attribute_name get_name() const;

    Returns:

    The attribute name

  2. fallback_policy const & get_fallback_policy() const;

    Returns:

    Fallback policy

  3. formatter_function_type const & get_formatter_function() const;

    Returns:

    Formatter function


PrevUpHomeNext