|
Aegis
4.25.D505
|
#include <chmod.h>
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_chmod & | operator= (const undo_item_chmod &) |
Private Attributes | |
| nstring | path |
| int | mode |
The undo_item_chmod class is used to represent a chmod(2) action to be performed in the event of an error.
| 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.
| void undo_item_chmod::action | ( | ) | [virtual] |
The action method is used to perform the undo action.
Implements undo_item.
| undo_item_chmod& undo_item_chmod::operator= | ( | const undo_item_chmod & | ) | [private] |
The assignment operator. Do not use.
| 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.
int undo_item_chmod::mode [private] |
nstring undo_item_chmod::path [private] |
1.7.6.1