#include <TwoQVictimPolicy.h>
Inheritance diagram for TwoQPageListIter< PageT >:
Public Member Functions | |
TwoQPageListIter () | |
TwoQPageListIter (PageT *list1, PageT *list2) | |
~TwoQPageListIter () | |
void | operator++ () |
PageT * | operator-> () const |
operator PageT * () const | |
PageT & | operator * () const |
bool | operator== (IntrusiveTwoDListIter const &other) const |
Private Member Functions | |
virtual PageT * | getReturnElement (PageT *page) const |
|
Definition at line 363 of file TwoQVictimPolicy.h.
TwoQPageListIter< PageT >::TwoQPageListIter | ( | ) | [inline] |
Definition at line 374 of file TwoQVictimPolicy.h.
00375 : IntrusiveTwoDListIter<PageT, PageT>() 00376 { 00377 }
TwoQPageListIter< PageT >::TwoQPageListIter | ( | PageT * | list1, | |
PageT * | list2 | |||
) | [inline] |
Definition at line 379 of file TwoQVictimPolicy.h.
00380 : IntrusiveTwoDListIter<PageT, PageT>(list1, list2) 00381 { 00382 }
TwoQPageListIter< PageT >::~TwoQPageListIter | ( | ) | [inline] |
virtual PageT* TwoQPageListIter< PageT >::getReturnElement | ( | PageT * | page | ) | const [inline, private, virtual] |
Implements IntrusiveTwoDListIter< PageT, PageT >.
Definition at line 368 of file TwoQVictimPolicy.h.
void IntrusiveTwoDListIter< PageT , PageT >::operator++ | ( | ) | [inline, inherited] |
Definition at line 207 of file IntrusiveDList.h.
00208 { 00209 curr = static_cast<ElementT *>(curr->getNext()); 00210 if (curr == NULL && !processingNext) { 00211 curr = next; 00212 processingNext = true; 00213 } 00214 }
PageT * IntrusiveTwoDListIter< PageT , PageT >::operator-> | ( | ) | const [inline, inherited] |
Definition at line 216 of file IntrusiveDList.h.
00217 { 00218 return getReturnElement(curr); 00219 }
IntrusiveTwoDListIter< PageT , PageT >::operator PageT * | ( | ) | const [inline, inherited] |
Definition at line 221 of file IntrusiveDList.h.
00222 { 00223 return getReturnElement(curr); 00224 }
PageT & IntrusiveTwoDListIter< PageT , PageT >::operator * | ( | ) | const [inline, inherited] |
Definition at line 226 of file IntrusiveDList.h.
00227 { 00228 return *(getReturnElement(curr)); 00229 }
bool IntrusiveTwoDListIter< PageT , PageT >::operator== | ( | IntrusiveTwoDListIter< PageT, PageT > const & | other | ) | const [inline, inherited] |