rfc822_functor Class Reference

#include <functor.h>

Inheritance diagram for rfc822_functor:

rfc822_functor_list_meta rfc822_functor_print_version rfc822_functor_version_previous rfc822_functor_version_search

Public Member Functions

virtual ~rfc822_functor ()
 rfc822_functor ()
virtual bool operator() (rfc822 &arg)=0

Private Member Functions

 rfc822_functor (const rfc822_functor &)
rfc822_functoroperator= (const rfc822_functor &)

Detailed Description

The rfc822_functor class is used to represent an abstract object which may be treated af if it was a simple pointer to a function. Pointers to functions are common C solutions, and make for a good idiom for "programmer portability".

Definition at line 31 of file functor.h.


Constructor & Destructor Documentation

virtual rfc822_functor::~rfc822_functor (  )  [virtual]

The destructor.

rfc822_functor::rfc822_functor (  ) 

The default constructor.

rfc822_functor::rfc822_functor ( const rfc822_functor  )  [private]

The copy constructor. Do not use.


Member Function Documentation

virtual bool rfc822_functor::operator() ( rfc822 arg  )  [pure virtual]

The () operator is used to invoke the functionality implemented in the functor.

Parameters:
arg The rfc822 header in question.
Returns:
boolean; true to keep on walking down the version list, or false to stop at this point.

Implemented in rfc822_functor_list_meta, rfc822_functor_print_version, rfc822_functor_version_search, and rfc822_functor_version_previous.

rfc822_functor& rfc822_functor::operator= ( const rfc822_functor  )  [private]

The assignment operator. Do not use.


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

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