#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 |
Definition at line 29 of file functor.h.
enum dir_functor::msg_t |
virtual dir_functor::~dir_functor | ( | ) | [virtual] |
The destructor.
dir_functor::dir_functor | ( | ) |
The default constructor.
dir_functor::dir_functor | ( | const dir_functor & | ) |
The copy constructor.
dir_functor& dir_functor::operator= | ( | const dir_functor & | ) |
The assignment operator.
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_callback, dir_functor_rm_dir_tree, and dir_functor_rmdir_bg.