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 char_decorator_actor

boost::log::expressions::char_decorator_actor

Synopsis

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

template<typename SubactorT, typename ImplT, 
         template< typename > class ActorT = phoenix::actor> 
class char_decorator_actor :
  public phoenix::actor< char_decorator_terminal< SubactorT, ImplT > >
{
public:
  // types
  typedef char_decorator_terminal< SubactorT, ImplT > terminal_type;  // Base terminal type. 
  typedef terminal_type::char_type                    char_type;      // Character type. 
  typedef ActorT< terminal_type >                     base_type;      // Base actor type. 

  // construct/copy/destruct
  explicit char_decorator_actor(base_type const &);

  // public member functions
  terminal_type const & get_terminal() const;
};

Description

Character decorator actor

char_decorator_actor public construct/copy/destruct

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

char_decorator_actor public member functions

  1. terminal_type const & get_terminal() const;
    Returns reference to the terminal.

PrevUpHomeNext