#include <vers_search.h>
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_search & | operator= (const rfc822_functor_version_search &) |
Private Attributes | |
nstring | version |
bool | result |
Definition at line 30 of file vers_search.h.
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.
bool rfc822_functor_version_search::operator() | ( | rfc822 & | arg | ) | [virtual] |
The () operator is used to invoke the functionality implemented in the functor.
arg | The rfc822 header in question. |
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.
The version instance variable is used to remember the version to search for.
Definition at line 58 of file vers_search.h.
bool rfc822_functor_version_search::result [private] |
The result instance variable is used to remember whether or not the version was found.
Definition at line 64 of file vers_search.h.