Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Tagcoll::InstallUnexpected Class Reference

Install an unexpected handler for the duration of its scope. More...

#include <Exception.h>

List of all members.

Public Member Functions

 InstallUnexpected (void(*func)()=DefaultUnexpected)
 ~InstallUnexpected ()

Protected Attributes

void(* old )()


Detailed Description

Install an unexpected handler for the duration of its scope.

Install DefaultUnexpected if no handler is provided.

This is a RAII class: when it goes out of scope, the handler is removed.


Constructor & Destructor Documentation

Tagcoll::InstallUnexpected::InstallUnexpected void(*)()  func = DefaultUnexpected  ) 
 

Tagcoll::InstallUnexpected::~InstallUnexpected  ) 
 


Member Data Documentation

void(* Tagcoll::InstallUnexpected::old)() [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Sep 9 22:18:22 2005 for libtagcoll by  doxygen 1.4.4