nis-util  1.0.D108
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions
space_automap_functor Class Reference

#include <functor.h>

Inheritance diagram for space_automap_functor:
space_automap_functor_afpvol_generator space_automap_functor_direct space_automap_functor_indirect space_automap_functor_save space_automap_functor_tee

Public Types

typedef boost::shared_ptr
< space_automap_row
space_automap_row_pointer

Public Member Functions

virtual ~space_automap_functor ()
void operator() (const space_automap_row_pointer &rp)

Protected Member Functions

 space_automap_functor ()
virtual void walk (const space_automap_row_pointer &rp)=0

Private Member Functions

 space_automap_functor (const space_automap_functor &rhs)
space_automap_functoroperator= (const space_automap_functor &rhs)

Detailed Description

The space_automap_functor class is used to represent a generic operation to be performed in an automap row.

Definition at line 32 of file functor.h.


Member Typedef Documentation

Definition at line 35 of file functor.h.


Constructor & Destructor Documentation

The destructor.

Definition at line 22 of file functor.cc.

The default constructor. For use by derived classes only.

Definition at line 27 of file functor.cc.

The copy constructor. Do not use.

Parameters:
rhsThe right hand side of the initialization.

Member Function Documentation

void space_automap_functor::operator() ( const space_automap_row_pointer rp) [inline]

The function call operator is used to invoke the behaviour of the functor. This is why it's called a functor.

Parameters:
rpThe row to be processed.

Definition at line 50 of file functor.h.

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

The assignment operator. Do not use.

Parameters:
rhsThe right hand side of the assignment.
virtual void space_automap_functor::walk ( const space_automap_row_pointer rp) [protected, pure virtual]

The walk function is used to traverse each row.

Parameters:
rpThe row to be processed.

Implemented in space_automap_functor_indirect, space_automap_functor_save, space_automap_functor_afpvol_generator, space_automap_functor_direct, and space_automap_functor_tee.


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