Fennel: IntrusiveListIter< T, DerivedListNode > Class Template Reference (original) (raw)
IntrusiveListIter is the companion iterator for InstrusiveList. More...
#include <[IntrusiveList.h](IntrusiveList%5F8h-source.html)>
Inheritance diagram for IntrusiveListIter< T, DerivedListNode >:

| Public Member Functions | |
|---|---|
| IntrusiveListIter () | |
| Constructs a singular iterator. | |
| IntrusiveListIter (IntrusiveList< T, DerivedListNode > const &list) | |
| Constructs an iterator positioned at the front of a given list. | |
| T * | operator-> () const |
| **Returns:**pointer to current element | |
| operator T * () const | |
| **Returns:**pointer to current element | |
| T & | operator * () const |
| **Returns:**reference to current element | |
| void | repositionToFront (IntrusiveList< T, DerivedListNode > const &list) |
| Repositions to the front of a given list. | |
| void | operator++ () |
| Advances iterator position to next node. | |
| Protected Member Functions | |
| IntrusiveListNode * | getCurrent () const |
| void | repositionToFront (RawIntrusiveList const &l) |
| Protected Attributes | |
| IntrusiveListNode * | pCurr |
| Private Types | |
| typedef RawIntrusiveListIter | super |
Detailed Description
template<class T, class DerivedListNode = IntrusiveListNode>
class IntrusiveListIter< T, DerivedListNode >
IntrusiveListIter is the companion iterator for InstrusiveList.
Definition at line 114 of file IntrusiveList.h.
Member Typedef Documentation
template<class T, class DerivedListNode = IntrusiveListNode>
Constructor & Destructor Documentation
Constructs an iterator positioned at the front of a given list.
Parameters:
Definition at line 131 of file IntrusiveList.h.
00133 : super(list) 00134 { 00135 }
Member Function Documentation
template<class T, class DerivedListNode = IntrusiveListNode>
| T* IntrusiveListIter< T, DerivedListNode >::operator-> | ( | | ) | const [inline] | | -------------------------------------------------------------------------------------- | - | | - | ---------------- |
template<class T, class DerivedListNode = IntrusiveListNode>
| IntrusiveListIter< T, DerivedListNode >::operator T * | ( | | ) | const [inline] | | ------------------------------------------------------------------------------------- | - | | - | ---------------- |
template<class T, class DerivedListNode = IntrusiveListNode>
| T& IntrusiveListIter< T, DerivedListNode >::operator * | ( | | ) | const [inline] | | -------------------------------------------------------------------------------------- | - | | - | ---------------- |
template<class T, class DerivedListNode = IntrusiveListNode>
| void IntrusiveListIter< T, DerivedListNode >::repositionToFront | ( | IntrusiveList< T, DerivedListNode > const & | list | ) | [inline] |
|---|
| IntrusiveListNode* RawIntrusiveListIter::getCurrent | ( | | ) | const [inline, protected, inherited] | | ------------------------------------------------------------------------------------ | - | | - | -------------------------------------- |
| void RawIntrusiveListIter::repositionToFront | ( | RawIntrusiveList const & | l | ) | [inline, protected, inherited] |
|---|
| void RawIntrusiveListIter::operator++ | ( | | ) | [inline, inherited] | | ------------------------------------- | - | | - | --------------------- |
Member Data Documentation
The documentation for this class was generated from the following file:
- /home/pub/open/dev/fennel/common/IntrusiveList.h
