undo_item_chmod_errok Class Reference

#include <chmod_errok.h>

Inheritance diagram for undo_item_chmod_errok:

undo_item

Public Member Functions

virtual ~undo_item_chmod_errok ()
 undo_item_chmod_errok (const nstring &path, int mode)
void action ()
void unfinished ()

Private Member Functions

 undo_item_chmod_errok ()
 undo_item_chmod_errok (const undo_item_chmod_errok &)
undo_item_chmod_errokoperator= (const undo_item_chmod_errok &)

Private Attributes

nstring path
int mode

Detailed Description

The undo_item_chmod_errok class is used to represent a chmod(2) to be performed in the event of an error. Errors are ignored.

Definition at line 30 of file chmod_errok.h.


Constructor & Destructor Documentation

virtual undo_item_chmod_errok::~undo_item_chmod_errok (  )  [virtual]

The destructor.

undo_item_chmod_errok::undo_item_chmod_errok ( const nstring path,
int  mode 
)

The constructor.

undo_item_chmod_errok::undo_item_chmod_errok (  )  [private]

The default constructor. Do not use.

undo_item_chmod_errok::undo_item_chmod_errok ( const undo_item_chmod_errok  )  [private]

The copy constructor. Do not use.


Member Function Documentation

void undo_item_chmod_errok::action (  )  [virtual]

The action method is used to perform the undo action.

Implements undo_item.

void undo_item_chmod_errok::unfinished (  )  [virtual]

The unfinished method is used to print a warning about unfinished undo action. This happens when there is an undo error. The default action says nothing.

Implements undo_item.

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

The assignment operator. Do not use.


Field Documentation

Definition at line 51 of file chmod_errok.h.

Definition at line 52 of file chmod_errok.h.


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

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