
Public Member Functions | |
| virtual | ~PredicateBase () |
| virtual bool | operator() (const BaseIterator &bi) const =0 |
| virtual PredicateBase * | clone () const =0 |
Base class to encapsulate a predicate object. Since predicates can be of different types and we do not want to code these types into the template parameter list of the filtered iterator class, we use a base class with an abstract function and templatized derived classes that implement the use of actual predicate types through the virtual function.
Definition at line 665 of file filtered_iterator.h.
| virtual FilteredIterator< BaseIterator >::PredicateBase::~PredicateBase | ( | ) | [inline, virtual] |
Mark the destructor virtual to allow destruction through pointers to the base class.
Definition at line 675 of file filtered_iterator.h.
| virtual bool FilteredIterator< BaseIterator >::PredicateBase::operator() | ( | const BaseIterator & | bi ) | const [pure virtual] |
Abstract function which in derived classes denotes the evaluation of the predicate on the give iterator.
Implemented in FilteredIterator< BaseIterator >::PredicateTemplate< Predicate >.
| virtual PredicateBase* FilteredIterator< BaseIterator >::PredicateBase::clone | ( | ) | const [pure virtual] |
Generate a copy of this object, i.e. of the actual type of this pointer.
Implemented in FilteredIterator< BaseIterator >::PredicateTemplate< Predicate >.
documentation generated on Fri Feb 3 2012 06:04:08 by
doxygen
1.7.2