Public Member Functions | Protected Attributes | List of all members
alvar::Container3d< T >::Iterator Class Reference

Iterator for going through the items in Container3d in the specified order. More...

#include <Container3d.h>

Inheritance diagram for alvar::Container3d< T >::Iterator:
Inheritance graph
[legend]

Public Member Functions

size_t GetIndex ()
 
 Iterator ()
 
 Iterator (Container3d< T > *_container, std::vector< size_t >::iterator _iter)
 
bool operator!= (const Iterator &_m) const
 
node_typeoperator* () const
 
virtual Iteratoroperator++ ()
 
node_typeoperator-> () const
 
bool operator== (const Iterator &_m) const
 

Protected Attributes

Container3d< T > * container
 
std::vector< size_t >::iterator iter
 

Detailed Description

template<class T>
class alvar::Container3d< T >::Iterator

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.

Constructor & Destructor Documentation

template<class T>
alvar::Container3d< T >::Iterator::Iterator ( )
inline

Definition at line 237 of file Container3d.h.

template<class T>
alvar::Container3d< T >::Iterator::Iterator ( Container3d< T > *  _container,
std::vector< size_t >::iterator  _iter 
)
inline

Definition at line 238 of file Container3d.h.

Member Function Documentation

template<class T>
size_t alvar::Container3d< T >::Iterator::GetIndex ( )
inline

Definition at line 244 of file Container3d.h.

template<class T>
bool alvar::Container3d< T >::Iterator::operator!= ( const Iterator _m) const
inline

Definition at line 243 of file Container3d.h.

template<class T>
node_type& alvar::Container3d< T >::Iterator::operator* ( ) const
inline

Definition at line 239 of file Container3d.h.

template<class T>
virtual Iterator& alvar::Container3d< T >::Iterator::operator++ ( )
inlinevirtual

Definition at line 241 of file Container3d.h.

template<class T>
node_type* alvar::Container3d< T >::Iterator::operator-> ( ) const
inline

Definition at line 240 of file Container3d.h.

template<class T>
bool alvar::Container3d< T >::Iterator::operator== ( const Iterator _m) const
inline

Definition at line 242 of file Container3d.h.

Member Data Documentation

template<class T>
Container3d<T>* alvar::Container3d< T >::Iterator::container
protected

Definition at line 234 of file Container3d.h.

template<class T>
std::vector<size_t>::iterator alvar::Container3d< T >::Iterator::iter
protected

Definition at line 235 of file Container3d.h.


The documentation for this class was generated from the following file:


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Mon Jun 10 2019 12:47:04