|
last update 20 Sep 2009 |
|
#include <cvrSmallObjectList.h>
Public Types | |
| typedef std::bidirectional_iterator_tag | iterator_category |
Public Member Functions | |
| iterator () | |
| iterator (const iterator &i) | |
| bool | operator== (const iterator &i) const |
| bool | operator!= (const iterator &i) const |
| reference | operator* () const |
| pointer | operator-> () const |
| iterator & | operator++ () |
| iterator | operator++ (int) |
| iterator & | operator-- () |
| iterator | operator-- (int) |
Protected Member Functions | |
| iterator (node *n) | |
| typedef std::bidirectional_iterator_tag cvr::smallObjectList< T >::smallObjectList::iterator::iterator_category |
Iterator traits.
These are required by the algorithms of the STL.
| cvr::smallObjectList< T >::smallObjectList::iterator::iterator | ( | node * | n | ) | [inline, protected] |
| cvr::smallObjectList< T >::smallObjectList::iterator::iterator | ( | ) | [inline] |
Creates an uninitialized iterator.
| cvr::smallObjectList< T >::smallObjectList::iterator::iterator | ( | const iterator & | i | ) | [inline] |
Copy constructor.
Creates a copy of the given iterator.
| bool cvr::smallObjectList< T >::smallObjectList::iterator::operator!= | ( | const iterator & | i | ) | const [inline] |
Returns false if both iterators are at the same position on the same list, true otherwise.
References cvr::smallObjectList< T >::smallObjectList::iterator::node_.
| reference cvr::smallObjectList< T >::smallObjectList::iterator::operator* | ( | ) | const [inline] |
Returns a reference to the current element.
| iterator cvr::smallObjectList< T >::smallObjectList::iterator::operator++ | ( | int | ) | [inline] |
Moves forward one element in the list, and returns a copy of itself before the move.
| iterator& cvr::smallObjectList< T >::smallObjectList::iterator::operator++ | ( | ) | [inline] |
Moves forward one element in the list, and returns itself.
| iterator cvr::smallObjectList< T >::smallObjectList::iterator::operator-- | ( | int | ) | [inline] |
Moves backward one element in the list, and returns a copy of itself before the move.
| iterator& cvr::smallObjectList< T >::smallObjectList::iterator::operator-- | ( | ) | [inline] |
Moves backward one element in the list, and returns itself.
| pointer cvr::smallObjectList< T >::smallObjectList::iterator::operator-> | ( | ) | const [inline] |
Overwrites the current element with the given element.
Returns a pointer to the current element.
| bool cvr::smallObjectList< T >::smallObjectList::iterator::operator== | ( | const iterator & | i | ) | const [inline] |
Returns true if both iterators are at the same position on the same list, false otherwise.
References cvr::smallObjectList< T >::smallObjectList::iterator::node_.