Iterator for going through the items in Container3d in the specified order. More...
#include <Container3d.h>
Public Member Functions | |
size_t | GetIndex () |
Iterator () | |
Iterator (Container3d< T > *_container, std::vector< size_t >::iterator _iter) | |
bool | operator!= (const Iterator &_m) const |
node_type & | operator* () const |
virtual Iterator & | operator++ () |
node_type * | operator-> () const |
bool | operator== (const Iterator &_m) const |
Protected Attributes | |
Container3d< T > * | container |
std::vector< size_t >::iterator | iter |
Iterator for going through the items in Container3d in the specified order.
The idea is that the content in Container3d can be sorted and limited in different ways. After sorting/limiting the content the iterator (Begin() and End() ) can be used for accessing the data items in optimal order.
Definition at line 231 of file Container3d.h.
alvar::Container3d< T >::Iterator::Iterator | ( | ) | [inline] |
Definition at line 237 of file Container3d.h.
alvar::Container3d< T >::Iterator::Iterator | ( | Container3d< T > * | _container, |
std::vector< size_t >::iterator | _iter | ||
) | [inline] |
Definition at line 238 of file Container3d.h.
size_t alvar::Container3d< T >::Iterator::GetIndex | ( | ) | [inline] |
Definition at line 244 of file Container3d.h.
bool alvar::Container3d< T >::Iterator::operator!= | ( | const Iterator & | _m | ) | const [inline] |
Definition at line 243 of file Container3d.h.
node_type& alvar::Container3d< T >::Iterator::operator* | ( | ) | const [inline] |
Definition at line 239 of file Container3d.h.
virtual Iterator& alvar::Container3d< T >::Iterator::operator++ | ( | ) | [inline, virtual] |
Definition at line 241 of file Container3d.h.
node_type* alvar::Container3d< T >::Iterator::operator-> | ( | ) | const [inline] |
Definition at line 240 of file Container3d.h.
bool alvar::Container3d< T >::Iterator::operator== | ( | const Iterator & | _m | ) | const [inline] |
Definition at line 242 of file Container3d.h.
Container3d<T>* alvar::Container3d< T >::Iterator::container [protected] |
Definition at line 234 of file Container3d.h.
std::vector<size_t>::iterator alvar::Container3d< T >::Iterator::iter [protected] |
Definition at line 235 of file Container3d.h.