#include <unlink.h>
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_unlink & | operator= (const quit_action_unlink &) |
Private Attributes | |
const nstring | path |
int | uid |
int | gid |
int | umask |
Definition at line 30 of file unlink.h.
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.
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.
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.
const nstring quit_action_unlink::path [private] |
int quit_action_unlink::uid [private] |
int quit_action_unlink::gid [private] |
int quit_action_unlink::umask [private] |