pb_assoc::hash_exponential_size_policy< Size_Type > Class Template Reference

#include <hash_policy.hpp>

List of all members.

Public Types

typedef Size_Type size_type

Public Member Functions

 hash_exponential_size_policy (size_type start_size=8, size_type grow_factor=2)
void swap (PB_ASSOC_CLASS_C_DEC &r_other)

Protected Member Functions

size_type get_init_size (size_type suggested_size) const
size_type get_nearest_larger_size (size_type cur_size) const
size_type get_nearest_smaller_size (size_type cur_size) const

Private Attributes

size_type m_start_size
size_type m_grow_factor


Detailed Description

template<typename Size_Type = size_t>
class pb_assoc::hash_exponential_size_policy< Size_Type >

Definition at line 476 of file hash_policy.hpp.


Member Typedef Documentation

template<typename Size_Type = size_t>
typedef Size_Type pb_assoc::hash_exponential_size_policy< Size_Type >::size_type

Definition at line 479 of file hash_policy.hpp.


Constructor & Destructor Documentation

template<typename Size_Type = size_t>
pb_assoc::hash_exponential_size_policy< Size_Type >::hash_exponential_size_policy ( size_type  start_size = 8,
size_type  grow_factor = 2 
)


Member Function Documentation

template<typename Size_Type = size_t>
size_type pb_assoc::hash_exponential_size_policy< Size_Type >::get_init_size ( size_type  suggested_size  )  const [protected]

template<typename Size_Type = size_t>
size_type pb_assoc::hash_exponential_size_policy< Size_Type >::get_nearest_larger_size ( size_type  cur_size  )  const [protected]

template<typename Size_Type = size_t>
size_type pb_assoc::hash_exponential_size_policy< Size_Type >::get_nearest_smaller_size ( size_type  cur_size  )  const [protected]

template<typename Size_Type = size_t>
void pb_assoc::hash_exponential_size_policy< Size_Type >::swap ( PB_ASSOC_CLASS_C_DEC &  r_other  ) 


Member Data Documentation

template<typename Size_Type = size_t>
size_type pb_assoc::hash_exponential_size_policy< Size_Type >::m_grow_factor [private]

Definition at line 504 of file hash_policy.hpp.

template<typename Size_Type = size_t>
size_type pb_assoc::hash_exponential_size_policy< Size_Type >::m_start_size [private]

Definition at line 503 of file hash_policy.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 16:58:36 2010 for GNU C++ STL by  doxygen 1.4.7