nis-util  1.0.D108
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Static Private Attributes
space_auto_master_functor Class Reference

#include <functor.h>

Inheritance diagram for space_auto_master_functor:
space_auto_master_functor_check space_auto_master_functor_depends

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< rcstringstring_list_t

Private Member Functions

 space_auto_master_functor (const space_auto_master_functor &rhs)
space_auto_master_functoroperator= (const space_auto_master_functor &rhs)

Static Private Attributes

static string_list_t include_search_path
static string_list_t suffixes

Detailed Description

The space_auto_master_functor class is used to represent and abstract function for processing etc/auto.master records.

Definition at line 30 of file functor.h.


Member Typedef Documentation

typedef std::list<rcstring> space_auto_master_functor::string_list_t [private]

Definition at line 73 of file functor.h.


Constructor & Destructor Documentation

The destructor.

Definition at line 30 of file functor.cc.

The default constructor. For use by derived classes only.

Definition at line 35 of file functor.cc.

The copy constructor. Do not use.

Parameters:
rhsThe right hand side of the initialization.

Member Function Documentation

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]

The function operator is used to invoke the functor, that's why it's called a functor.

Parameters:
rpThe row to be considered.

Definition at line 46 of file functor.h.

space_auto_master_functor& space_auto_master_functor::operator= ( const space_auto_master_functor rhs) [private]

The assignment operator. Do not use.

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

Parameters:
rpThe row to be considered.

Implemented in space_auto_master_functor_check, and space_auto_master_functor_depends.


Field Documentation

Definition at line 75 of file functor.h.

Definition at line 77 of file functor.h.


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