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.

Referenced by ~LogAppenderScope().


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

Generated on Wed Feb 25 19:05:06 2009 for blocxx by  doxygen 1.5.6