|
Aegis
4.25.D505
|
#include <chmod_errok.h>
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_errok & | operator= (const undo_item_chmod_errok &) |
Private Attributes | |
| nstring | path |
| int | mode |
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.
| 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.
| void undo_item_chmod_errok::action | ( | ) | [virtual] |
The action method is used to perform the undo action.
Implements undo_item.
| undo_item_chmod_errok& undo_item_chmod_errok::operator= | ( | const undo_item_chmod_errok & | ) | [private] |
The assignment operator. Do not use.
| 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.
int undo_item_chmod_errok::mode [private] |
Definition at line 52 of file chmod_errok.h.
nstring undo_item_chmod_errok::path [private] |
Definition at line 51 of file chmod_errok.h.
1.7.6.1