quit_action_unlink Class Reference

#include <unlink.h>

Inheritance diagram for quit_action_unlink:

quit_action

Public Member Functions

virtual ~quit_action_unlink ()
 quit_action_unlink (const nstring &arg)
void operator() (int exit_status)

Private Member Functions

 quit_action_unlink ()
 quit_action_unlink (const quit_action_unlink &)
quit_action_unlinkoperator= (const quit_action_unlink &)

Private Attributes

const nstring path
int uid
int gid
int umask

Detailed Description

The quit_action_unlink class is used to represent an unlink action to be formed in quit.

Definition at line 30 of file unlink.h.


Constructor & Destructor Documentation

virtual quit_action_unlink::~quit_action_unlink (  )  [virtual]

The destructor.

quit_action_unlink::quit_action_unlink ( const nstring arg  ) 

The constructor.

quit_action_unlink::quit_action_unlink (  )  [private]

The default constructor. Do not use.

quit_action_unlink::quit_action_unlink ( const quit_action_unlink  )  [private]

The copy constructor. Do not use.


Member Function Documentation

void quit_action_unlink::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_unlink& quit_action_unlink::operator= ( const quit_action_unlink  )  [private]

The assignment operator. Do not use.


Field Documentation

The path instance variable is used to remember the path of the file to be unlinked on exit.

Definition at line 52 of file unlink.h.

int quit_action_unlink::uid [private]

The uid instance variable is used to remember the user ID to be used when performing the action.

Definition at line 58 of file unlink.h.

int quit_action_unlink::gid [private]

The gid instance variable is used to remember the group ID to be used when performing the action.

Definition at line 64 of file unlink.h.

The umask instance variable is used to remember the user permissions mask to be used when performing the action.

Definition at line 70 of file unlink.h.


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