undo_item_chmod Class Reference

#include <chmod.h>

Inheritance diagram for undo_item_chmod:

undo_item

Public Member Functions

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

Private Member Functions

 undo_item_chmod ()
 undo_item_chmod (const undo_item_chmod &)
undo_item_chmodoperator= (const undo_item_chmod &)

Private Attributes

nstring path
int mode

Detailed Description

The undo_item_chmod class is used to represent a chmod(2) action to be performed in the event of an error.

Definition at line 30 of file chmod.h.


Constructor & Destructor Documentation

virtual undo_item_chmod::~undo_item_chmod (  )  [virtual]

The destructor.

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

The constructor.

undo_item_chmod::undo_item_chmod (  )  [private]

The default constructor. Do not use.

undo_item_chmod::undo_item_chmod ( const undo_item_chmod  )  [private]

The copy constructor. Do not use.


Member Function Documentation

void undo_item_chmod::action (  )  [virtual]

The action method is used to perform the undo action.

Implements undo_item.

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

The assignment operator. Do not use.


Field Documentation

Definition at line 51 of file chmod.h.

int undo_item_chmod::mode [private]

Definition at line 52 of file chmod.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