quit_action_undo Class Reference

#include <undo.h>

Inheritance diagram for quit_action_undo:

quit_action

Public Member Functions

virtual ~quit_action_undo ()
 quit_action_undo ()
void operator() (int exit_status)

Private Member Functions

 quit_action_undo (const quit_action_undo &)
quit_action_undooperator= (const quit_action_undo &)

Detailed Description

The quit_action_undo class is used to represent the set of actions to be performed on a rollback on operation failure.

Definition at line 29 of file undo.h.


Constructor & Destructor Documentation

virtual quit_action_undo::~quit_action_undo (  )  [virtual]

The destructor.

quit_action_undo::quit_action_undo (  ) 

The default constructor.

quit_action_undo::quit_action_undo ( const quit_action_undo  )  [private]

The copy constructor. Do not use.


Member Function Documentation

void quit_action_undo::operator() ( int  exit_status  )  [virtual]

The operator() method is called just before exit(exit_status) is called. It affords and opportunity to "clean up" before the program exits.

Parameters:
exit_status The imminent exit status of the program.

Implements quit_action.

quit_action_undo& quit_action_undo::operator= ( const quit_action_undo  )  [private]

The assignment operator. Do not use.


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

Generated on Wed Mar 12 23:37:42 2008 for Aegis by  doxygen 1.5.5