#include <PagePredicate.h>
Inheritance diagram for MappedPageListenerPredicate:
Public Member Functions | |
MappedPageListenerPredicate (MappedPageListener &) | |
virtual bool | operator() (CachePage const &page) |
Tests the predicate. | |
Private Attributes | |
MappedPageListener & | listener |
Definition at line 71 of file PagePredicate.h.
MappedPageListenerPredicate::MappedPageListenerPredicate | ( | MappedPageListener & | ) | [explicit] |
bool MappedPageListenerPredicate::operator() | ( | CachePage const & | page | ) | [virtual] |
Tests the predicate.
page | the page to be considered |
Implements PagePredicate.
Definition at line 49 of file PagePredicate.cpp.
References CachePage::getMappedPageListener(), and listener.
00050 { 00051 return page.getMappedPageListener() == &listener; 00052 }