nis-util
1.0.D108
|
#include <functor.h>
Public Member Functions | |
virtual | ~space_auto_master_functor () |
void | operator() (const space_auto_master_row::pointer &rp) |
Static Public Member Functions | |
static void | add_include_search_path (const rcstring &path) |
static void | add_suffix (const rcstring &path) |
Protected Member Functions | |
space_auto_master_functor () | |
virtual void | walk (const space_auto_master_row::pointer &rp)=0 |
rcstring | find_file (const rcstring &filename) |
Private Types | |
typedef std::list< rcstring > | string_list_t |
Private Member Functions | |
space_auto_master_functor (const space_auto_master_functor &rhs) | |
space_auto_master_functor & | operator= (const space_auto_master_functor &rhs) |
Static Private Attributes | |
static string_list_t | include_search_path |
static string_list_t | suffixes |
The space_auto_master_functor class is used to represent and abstract function for processing etc/auto.master records.
typedef std::list<rcstring> space_auto_master_functor::string_list_t [private] |
space_auto_master_functor::~space_auto_master_functor | ( | ) | [virtual] |
The destructor.
Definition at line 30 of file functor.cc.
space_auto_master_functor::space_auto_master_functor | ( | ) | [protected] |
The default constructor. For use by derived classes only.
Definition at line 35 of file functor.cc.
space_auto_master_functor::space_auto_master_functor | ( | const space_auto_master_functor & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
void space_auto_master_functor::add_include_search_path | ( | const rcstring & | path | ) | [static] |
Definition at line 41 of file functor.cc.
void space_auto_master_functor::add_suffix | ( | const rcstring & | path | ) | [static] |
Definition at line 48 of file functor.cc.
rcstring space_auto_master_functor::find_file | ( | const rcstring & | filename | ) | [protected] |
Definition at line 64 of file functor.cc.
void space_auto_master_functor::operator() | ( | const space_auto_master_row::pointer & | rp | ) | [inline] |
space_auto_master_functor& space_auto_master_functor::operator= | ( | const space_auto_master_functor & | rhs | ) | [private] |
The assignment operator. Do not use.
rhs | The right hand side of the assignment. |
virtual void space_auto_master_functor::walk | ( | const space_auto_master_row::pointer & | rp | ) | [protected, pure virtual] |
The walk method is used to process each row.
rp | The row to be considered. |
Implemented in space_auto_master_functor_check, and space_auto_master_functor_depends.
space_auto_master_functor::string_list_t space_auto_master_functor::suffixes [static, private] |