DGtal 1.3.0
|
Built-in iterator on an HashTree. This iterator visits all node in the tree. More...
#include <DGtal/images/ImageContainerByHashTree.h>
Public Member Functions | |
Iterator (Node **data, unsigned int position, unsigned int arraySize) | |
bool | isAtEnd () const |
Value & | operator* () |
bool | operator++ () |
bool | operator== (const Iterator &it) |
bool | operator!= (const Iterator &it) |
HashKey | getKey () const |
bool | next () |
Protected Attributes | |
Node * | myNode |
unsigned int | myCurrentCell |
unsigned int | myArraySize |
Node ** | myContainerData |
Built-in iterator on an HashTree. This iterator visits all node in the tree.
Iterator inner-class
Definition at line 516 of file ImageContainerByHashTree.h.
|
inline |
Definition at line 519 of file ImageContainerByHashTree.h.
References DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::data(), DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myArraySize, DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myContainerData, DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myCurrentCell, and DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myNode.
|
inline |
Definition at line 556 of file ImageContainerByHashTree.h.
References DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::getKey(), and DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myNode.
|
inline |
Definition at line 530 of file ImageContainerByHashTree.h.
References DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myArraySize, and DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myCurrentCell.
Referenced by DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::operator!=(), and DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::operator==().
bool DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::next | ( | ) |
|
inline |
Definition at line 549 of file ImageContainerByHashTree.h.
References DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::isAtEnd(), and DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myNode.
|
inline |
Definition at line 534 of file ImageContainerByHashTree.h.
References DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::getObject(), and DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myNode.
|
inline |
Definition at line 538 of file ImageContainerByHashTree.h.
References DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::next().
|
inline |
Definition at line 542 of file ImageContainerByHashTree.h.
References DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::isAtEnd(), and DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::myNode.
|
protected |
|
protected |
Definition at line 565 of file ImageContainerByHashTree.h.
Referenced by DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::Iterator().
|
protected |
|
protected |
Definition at line 562 of file ImageContainerByHashTree.h.
Referenced by DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::getKey(), DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::Iterator(), DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::operator!=(), DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::operator*(), and DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::operator==().