BLOCXX_NAMESPACE::LogAppenderScope Class Reference

The purpose of this class is to change the current thread's global LogAppenderRef during an instance's lifetime. More...

#include <LogAppenderScope.hpp>

List of all members.

Public Member Functions

 LogAppenderScope (const LogAppenderRef &newAppender)
 ~LogAppenderScope ()

Private Member Functions

 LogAppenderScope (const LogAppenderScope &)
LogAppenderScopeoperator= (const LogAppenderScope &)

Private Attributes

LogAppenderRef m_oldAppender

Detailed Description

The purpose of this class is to change the current thread's global LogAppenderRef during an instance's lifetime.

The destructor will restore the previous thread LogAppenderRef.

A couple of common uses:

Definition at line 59 of file LogAppenderScope.hpp.


Constructor & Destructor Documentation

BLOCXX_NAMESPACE::LogAppenderScope::LogAppenderScope ( const LogAppenderRef newAppender  ) 
BLOCXX_NAMESPACE::LogAppenderScope::~LogAppenderScope (  ) 
BLOCXX_NAMESPACE::LogAppenderScope::LogAppenderScope ( const LogAppenderScope  )  [private]

Member Function Documentation

LogAppenderScope& BLOCXX_NAMESPACE::LogAppenderScope::operator= ( const LogAppenderScope  )  [private]

Member Data Documentation

Definition at line 70 of file LogAppenderScope.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Jul 5 19:59:44 2010 for blocxx by  doxygen 1.6.3