DGtal  0.9.3beta
Public Member Functions | Protected Attributes
DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator Class Reference

#include <DGtal/images/ImageContainerByHashTree.h>

Collaboration diagram for DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator:
[legend]

Public Member Functions

 Iterator (Node **data, unsigned int position, unsigned int arraySize)
 
bool isAtEnd () const
 
Valueoperator* ()
 
bool operator++ ()
 
bool operator== (const Iterator &it)
 
bool operator!= (const Iterator &it)
 
HashKey getKey () const
 
bool next ()
 

Protected Attributes

NodemyNode
 
unsigned int myCurrentCell
 
unsigned int myArraySize
 
Node ** myContainerData
 

Detailed Description

template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
class DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator

Built-in iterator on an HashTree. This iterator visits all node in the tree.

Iterator inner-class


Definition at line 495 of file ImageContainerByHashTree.h.

Constructor & Destructor Documentation

template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::Iterator ( Node **  data,
unsigned int  position,
unsigned int  arraySize 
)
inline

Member Function Documentation

template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
HashKey DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::getKey ( ) const
inline
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
bool DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::isAtEnd ( ) const
inline
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
bool DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::next ( )
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
bool DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::operator!= ( const Iterator it)
inline
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
Value& DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::operator* ( )
inline
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
bool DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::operator++ ( )
inline
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
bool DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::operator== ( const Iterator it)
inline

Field Documentation

template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
unsigned int DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myArraySize
protected
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
Node** DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myContainerData
protected
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
unsigned int DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myCurrentCell
protected
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
Node* DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myNode
protected

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