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 112 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 Wed Jun 4 21:47:19 2008 for libs11n by  doxygen 1.5.3