Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

s11n::debug::trace_mask_changer Struct Reference

A helper type to temporarily change the debug mask, then revert it at destruction. More...

#include <s11n_debuggering_macros.hpp>

List of all members.

Public Member Functions

 trace_mask_changer ()
 Stores the current trace mask.
 trace_mask_changer (unsigned long m)
 Stores the current trace mask then sets then calls trace_mask(m).
 ~trace_mask_changer ()
 Sets the trace_mask() to the value it had when this object was constructed.


Detailed Description

A helper type to temporarily change the debug mask, then revert it at destruction.

Definition at line 111 of file s11n_debuggering_macros.hpp.


Constructor & Destructor Documentation

s11n::debug::trace_mask_changer::trace_mask_changer  ) 
 

Stores the current trace mask.

s11n::debug::trace_mask_changer::trace_mask_changer unsigned long  m  ) 
 

Stores the current trace mask then sets then calls trace_mask(m).

s11n::debug::trace_mask_changer::~trace_mask_changer  ) 
 

Sets the trace_mask() to the value it had when this object was constructed.


The documentation for this struct was generated from the following file:
Generated on Sat Dec 10 13:33:59 2005 for libs11n-1.2.1 by  doxygen 1.4.4