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

#include <DGtal/images/ImageContainerByHashTree.h>

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

Public Member Functions

 Node (Value aValue, HashKey key)
 
NodegetNext ()
 
void setNext (Node *next)
 
HashKey getKey ()
 
ValuegetObject ()
 
 ~Node ()
 

Protected Attributes

HashKey myKey
 
NodemyNext
 
Value myData
 

Detailed Description

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

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 600 of file ImageContainerByHashTree.h.

Constructor & Destructor Documentation

template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::Node ( Value  aValue,
HashKey  key 
)
inline
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::~Node ( )
inline

Definition at line 652 of file ImageContainerByHashTree.h.

652 { }

Member Function Documentation

template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
HashKey DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::getKey ( )
inline
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
Node* DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::getNext ( )
inline
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
Value& DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::getObject ( )
inline
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
void DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::setNext ( Node next)
inline

Insert the pair (value,key) next in the node list

Parameters
nexta pointer to a pair (value,key) (Node).

Definition at line 630 of file ImageContainerByHashTree.h.

References DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::myNext.

Referenced by DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::addNode().

Field Documentation

template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
Value DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::myData
protected
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
HashKey DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::myKey
protected
template<typename TDomain, typename TValue, typename THashKey = typename DGtal::uint64_t>
Node* DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::myNext
protected

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