#include <functor.h>
Public Member Functions | |
virtual | ~change_functor () |
virtual void | operator() (change::pointer cp)=0 |
bool | include_branches () const |
bool | all_changes () const |
virtual time_t | earliest () |
virtual time_t | latest () |
virtual bool | recurse_branches () |
Protected Member Functions | |
change_functor (bool include_branches, bool all_changes=false) | |
change_functor (const change_functor &) | |
change_functor & | operator= (const change_functor &) |
Private Member Functions | |
change_functor () | |
Private Attributes | |
bool | include_branches_flag |
bool | all_changes_flag |
Typically, this is used with the ... class to walk the changes of branch trees.
Definition at line 35 of file functor.h.
virtual change_functor::~change_functor | ( | ) | [virtual] |
The destructor.
change_functor::change_functor | ( | bool | include_branches, | |
bool | all_changes = false | |||
) | [protected] |
The constructor. May ony be called by a derived class.
change_functor::change_functor | ( | const change_functor & | ) | [protected] |
The constructor. May ony be called by a derived class.
change_functor::change_functor | ( | ) | [private] |
The default constructor. Do not use.
virtual void change_functor::operator() | ( | change::pointer | cp | ) | [pure virtual] |
The operator() method is used to call the functor.
cp | The change to be operated upon. |
Implemented in change_functor_attribute_list, and change_functor_inventory_list.
bool change_functor::include_branches | ( | ) | const [inline] |
bool change_functor::all_changes | ( | ) | const [inline] |
virtual time_t change_functor::earliest | ( | ) | [virtual] |
The earliest method is used to determine the earliest time of interest to the functor.
virtual time_t change_functor::latest | ( | ) | [virtual] |
The lastest method is used to determine the latest time of interest to the functor.
virtual bool change_functor::recurse_branches | ( | ) | [virtual] |
The recurse_branches method may be used to determine whether to recurse into nested branches or not.
change_functor& change_functor::operator= | ( | const change_functor & | ) | [protected] |
The assignment operator. May ony be called by a derived class.
bool change_functor::include_branches_flag [private] |
bool change_functor::all_changes_flag [private] |