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.

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 ()
nodenew_node (const value_type &obj)
void delete_node (node *n)
IUEi_STL_INLINE void copy_from (const hashtable_base< Value, Alloc > &ht)

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


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 291 of file itk_hashtable.h.


Constructor & Destructor Documentation

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

Definition at line 322 of file itk_hashtable.h.

References itk::hashtable_base< Value, Alloc >::num_elements.

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

Definition at line 324 of file itk_hashtable.h.

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


Member Function Documentation

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

Reimplemented in itk::hashtable< Value, Key, HashFcn, ExtractKey, EqualKey, Alloc >.

Definition at line 989 of file itk_hashtable.h.

References 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< Value, Alloc >::~hashtable_base().

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

Definition at line 1005 of file itk_hashtable.h.

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

Referenced by itk::hashtable< Value, Key, HashFcn, ExtractKey, EqualKey, Alloc >::hashtable(), and itk::hashtable< Value, Key, HashFcn, ExtractKey, EqualKey, Alloc >::operator=().

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

Definition at line 311 of file itk_hashtable.h.

References itk::hashtable_node< Value >::val, and vcli_destroy.

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 297 of file itk_hashtable.h.

References itk::hashtable_node< Value >::next, itk::hashtable_node< Value >::val, and itk::value_type().

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
 

Definition at line 292 of file itk_hashtable.h.

Referenced by itk::hashtable_base< Value, Alloc >::copy_from(), itk::hashtable_const_iterator< Value, Key, HashFcn, ExtractKey, EqualKey, Alloc >::operator++(), itk::hashtable_iterator< Value, Key, HashFcn, ExtractKey, EqualKey, Alloc >::operator++(), itk::operator==(), and itk::hashtable< Value, Key, HashFcn, ExtractKey, EqualKey, Alloc >::swap().

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

Definition at line 293 of file itk_hashtable.h.

Referenced by itk::hashtable_base< Value, Alloc >::clear(), itk::hashtable_base< Value, Alloc >::copy_from(), itk::hashtable_base< Value, Alloc >::hashtable_base(), and itk::hashtable< Value, Key, HashFcn, ExtractKey, EqualKey, Alloc >::swap().


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 02:58:20 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000