|
Aegis
4.25.D505
|
#include <functor.h>
Public Types | |
| enum | msg_t { msg_dir_before, msg_dir_after, msg_file, msg_special, msg_symlink } |
Public Member Functions | |
| virtual | ~dir_functor () |
| dir_functor () | |
| dir_functor (const dir_functor &) | |
| dir_functor & | operator= (const dir_functor &) |
| virtual void | operator() (msg_t msg, const nstring &path, const struct stat &st)=0 |
The dir_functor class is used to represent an abstract interface for dir_walk to invoke.
| enum dir_functor::msg_t |
| virtual dir_functor::~dir_functor | ( | ) | [virtual] |
The destructor.
The default constructor.
| dir_functor::dir_functor | ( | const dir_functor & | ) |
The copy constructor.
| virtual void dir_functor::operator() | ( | msg_t | msg, |
| const nstring & | path, | ||
| const struct stat & | st | ||
| ) | [pure virtual] |
The () operator is used to implement the function of the functor.
| msg | The msg argument is used to say what s to be done. |
| path | The path to the file is question. |
| st | The file information about the path. |
Implemented in dir_functor_rm_dir_tree, dir_functor_callback, and dir_functor_rmdir_bg.
| dir_functor& dir_functor::operator= | ( | const dir_functor & | ) |
The assignment operator.
1.7.6.1