|
DGtal 1.4.2
|
#include <DGtal/images/ImageContainerByHashTree.h>
Public Member Functions | |
| Node (Value aValue, HashKey key) | |
| Node * | getNext () |
| void | setNext (Node *next) |
| HashKey | getKey () |
| Value & | getObject () |
| ~Node () | |
Protected Attributes | |
| HashKey | myKey |
| Node * | myNext |
| Value | myData |
An internal class that corresponds to a node of a linked list (as the hashTable points to linked lists to handle collisions). Each element in the container is placed in a Node.
Definition at line 621 of file ImageContainerByHashTree.h.
|
inline |
Construtctor: create pair (aValue, key)
| aValue | First value |
| key | key in the hashtree |
Definition at line 631 of file ImageContainerByHashTree.h.
References DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::myData, and DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::myKey.
|
inline |
Definition at line 673 of file ImageContainerByHashTree.h.
|
inline |
Definition at line 660 of file ImageContainerByHashTree.h.
References DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::myKey.
Referenced by DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::getKey(), and DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::getNode().
|
inline |
Definition at line 640 of file ImageContainerByHashTree.h.
References DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::myNext.
Referenced by DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::getNode().
|
inline |
Definition at line 669 of file ImageContainerByHashTree.h.
References DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::myData.
Referenced by DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Iterator::operator*().
|
inline |
Insert the pair (value,key) next in the node list
| next | a pointer to a pair (value,key) (Node). |
Definition at line 651 of file ImageContainerByHashTree.h.
References DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::myNext.
|
protected |
|
protected |
|
protected |