rfc822_functor_version_search Class Reference

#include <vers_search.h>

Inheritance diagram for rfc822_functor_version_search:

rfc822_functor

Public Member Functions

virtual ~rfc822_functor_version_search ()
 rfc822_functor_version_search (const nstring &arg)
bool operator() (rfc822 &arg)
bool get_result () const

Private Member Functions

 rfc822_functor_version_search ()
 rfc822_functor_version_search (const rfc822_functor_version_search &)
rfc822_functor_version_searchoperator= (const rfc822_functor_version_search &)

Private Attributes

nstring version
bool result

Detailed Description

The rfc822_functor_version_search class is used to represent the state of walking a history file looking for a specific version number.

Definition at line 30 of file vers_search.h.


Constructor & Destructor Documentation

virtual rfc822_functor_version_search::~rfc822_functor_version_search (  )  [virtual]

The destructor.

rfc822_functor_version_search::rfc822_functor_version_search ( const nstring arg  ) 

The constructor.

rfc822_functor_version_search::rfc822_functor_version_search (  )  [private]

The default constructor. Do not use.

rfc822_functor_version_search::rfc822_functor_version_search ( const rfc822_functor_version_search  )  [private]

The copy constructor. Do not use.


Member Function Documentation

bool rfc822_functor_version_search::operator() ( rfc822 arg  )  [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.

Implements rfc822_functor.

bool rfc822_functor_version_search::get_result (  )  const [inline]

The get_result method is used after walking the history file, to determine if the specified version was present.

Definition at line 51 of file vers_search.h.

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

The assignment operator. Do not use.


Field Documentation

The version instance variable is used to remember the version to search for.

Definition at line 58 of file vers_search.h.

The result instance variable is used to remember whether or not the version was found.

Definition at line 64 of file vers_search.h.


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