Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::hashtable_base< Value, Alloc > Class Template Reference

#include <itk_hashtable.h>

Inheritance diagram for itk::hashtable_base< Value, Alloc >:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<class Value, class Alloc>
class itk::hashtable_base< Value, Alloc >

Definition at line 296 of file itk_hashtable.h.


Public Types

typedef std::vector
< VCL_SUNPRO_ALLOCATOR_HACK(node *) 
buckets_type )

Public Member Functions

 hashtable_base ()
 ~hashtable_base ()

Public Attributes

buckets_type buckets
size_type num_elements

Protected Member Functions

IUEi_STL_INLINE void clear ()
IUEi_STL_INLINE void copy_from (const hashtable_base< Value, Alloc > &ht)
void delete_node (node *n)
nodenew_node (const value_type &obj)

Member Typedef Documentation

template<class Value, class Alloc>
typedef std::vector<VCL_SUNPRO_ALLOCATOR_HACK(node*) itk::hashtable_base< Value, Alloc >::buckets_type)

Definition at line 304 of file itk_hashtable.h.


Constructor & Destructor Documentation

template<class Value, class Alloc>
itk::hashtable_base< Value, Alloc >::hashtable_base (  )  [inline]

Definition at line 337 of file itk_hashtable.h.

template<class Value, class Alloc>
itk::hashtable_base< Value, Alloc >::~hashtable_base (  )  [inline]

Definition at line 339 of file itk_hashtable.h.


Member Function Documentation

template<class Value, class Alloc>
void itk::hashtable_base< Value, Alloc >::clear (  )  [inline, protected]

Reimplemented in itk::hashtable< Value, Key, HashFcn, ExtractKey, EqualKey, Alloc >, itk::hashtable< std::pair< unsigned long, itk::watershed::SegmentTable::segment_t >, unsigned long, HashFcn, sel1st, EqualKey, Alloc >, itk::hashtable< std::pair< Key, T >, Key, HashFcn, std::select1st< std::pair< Key, T > >, EqualKey, Alloc >, itk::hashtable< std::pair< TLabelImage::PixelType, itk::itk::LabelStatisticsImageFilter::LabelStatistics >, TLabelImage::PixelType, HashFcn, sel1st, EqualKey, Alloc >, itk::hashtable< Value, Value, HashFcn, std::identity< Value >, EqualKey, Alloc >, itk::hashtable< std::pair< unsigned long, unsigned long >, unsigned long, HashFcn, sel1st, EqualKey, Alloc >, itk::hashtable< std::pair< itk::itk::ContinuousIndex, ContourContainer::iterator >, itk::ContinuousIndex< TCoordRep, VIndexDimension >, HashFcn, sel1st, EqualKey, Alloc >, itk::hashtable< std::pair< Key, T >, Key, HashFcn, std::select1st< std::pair< const Key, T > >, EqualKey, Alloc >, itk::hashtable< std::pair< itk::itk::Array< unsigned long >, unsigned long >, itk::Array< unsigned long >, HashFcn, sel1st, EqualKey, Alloc >, itk::hashtable< std::pair< TSample::InstanceIdentifier, unsigned int >, TSample::InstanceIdentifier, HashFcn, sel1st, EqualKey, Alloc >, itk::hashtable< std::pair< MeshType::PointType, unsigned long >, MeshType::PointType, HashFcn, sel1st, EqualKey, Alloc >, and itk::hashtable< std::pair< TKdTree::InstanceIdentifier, unsigned int >, TKdTree::InstanceIdentifier, HashFcn, sel1st, EqualKey, Alloc >.

Definition at line 1084 of file itk_hashtable.h.

References itk::hashtable_base< Value, Alloc >::buckets, itk::hashtable_base< Value, Alloc >::delete_node(), itk::hashtable_node< Value >::next, and itk::hashtable_base< Value, Alloc >::num_elements.

Referenced by itk::hashtable_base< std::pair< itk::itk::itk::Array< unsigned long >, unsigned long >, Alloc >::~hashtable_base().

template<class Value, class Alloc>
void itk::hashtable_base< Value, Alloc >::copy_from ( const hashtable_base< Value, Alloc > &  ht  )  [inline, protected]

template<class Value, class Alloc>
void itk::hashtable_base< Value, Alloc >::delete_node ( node n  )  [inline, protected]

Definition at line 326 of file itk_hashtable.h.

Referenced by itk::hashtable_base< Value, Alloc >::clear().

template<class Value, class Alloc>
node* itk::hashtable_base< Value, Alloc >::new_node ( const value_type &  obj  )  [inline, protected]

Definition at line 310 of file itk_hashtable.h.

Referenced by itk::hashtable_base< Value, Alloc >::copy_from().


Member Data Documentation

template<class Value, class Alloc>
buckets_type itk::hashtable_base< Value, Alloc >::buckets

template<class Value, class Alloc>
size_type itk::hashtable_base< Value, Alloc >::num_elements


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

Generated at Sat Feb 28 15:52:26 2009 for ITK by doxygen 1.5.6 written by Dimitri van Heesch, © 1997-2000