DGtal 1.3.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes
DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node Class Reference

#include <DGtal/images/ImageContainerByHashTree.h>

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

Constructor & Destructor Documentation

◆ Node()

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

◆ ~Node()

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

Definition at line 673 of file ImageContainerByHashTree.h.

673{ }

Member Function Documentation

◆ getKey()

template<typename TDomain , typename TValue , typename THashKey = typename DGtal::uint64_t>
HashKey DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::getKey ( )
inline

◆ getNext()

template<typename TDomain , typename TValue , typename THashKey = typename DGtal::uint64_t>
Node * DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::getNext ( )
inline

◆ getObject()

template<typename TDomain , typename TValue , typename THashKey = typename DGtal::uint64_t>
Value & DGtal::experimental::ImageContainerByHashTree< TDomain, TValue, THashKey >::Node::getObject ( )
inline

◆ setNext()

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

652 {
653 myNext = next;
654 }

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

Field Documentation

◆ myData

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

◆ myKey

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

◆ myNext

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: