dir_functor Class Reference

#include <functor.h>

Inheritance diagram for dir_functor:

dir_functor_callback dir_functor_rm_dir_tree dir_functor_rmdir_bg

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_functoroperator= (const dir_functor &)
virtual void operator() (msg_t msg, const nstring &path, const struct stat &st)=0

Detailed Description

The dir_functor class is used to represent an abstract interface for dir_walk to invoke.

Definition at line 29 of file functor.h.


Member Enumeration Documentation

Enumerator:
msg_dir_before 
msg_dir_after 
msg_file 
msg_special 
msg_symlink 

Definition at line 52 of file functor.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Parameters:
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.


The documentation for this class was generated from the following file:

Generated on Wed Mar 12 23:37:39 2008 for Aegis by  doxygen 1.5.5