libmoost
moost::container::policies::sparse_hs_map< TKey, TVal > Class Template Reference

#include <sparse_hash_map.hpp>

Inheritance diagram for moost::container::policies::sparse_hs_map< TKey, TVal >:
Collaboration diagram for moost::container::policies::sparse_hs_map< TKey, TVal >:

List of all members.

Public Types

typedef
moost::container::sparse_hash_map
< TKey, TVal > 
map_type

Public Member Functions

 sparse_hs_map (size_t hint_size=1048576)
virtual ~sparse_hs_map ()
virtual void init (map_type &map) const
 override
virtual void resize (map_type &map, size_t numKeys) const
 override

Private Attributes

size_t m_hintSize

Detailed Description

template<typename TKey, typename TVal>
class moost::container::policies::sparse_hs_map< TKey, TVal >

dense_hash_map: works with moost::container::dense_hash_map

Definition at line 40 of file sparse_hash_map.hpp.


Member Typedef Documentation

template<typename TKey , typename TVal >
typedef moost::container::sparse_hash_map<TKey, TVal> moost::container::policies::sparse_hs_map< TKey, TVal >::map_type

Constructor & Destructor Documentation

template<typename TKey , typename TVal >
moost::container::policies::sparse_hs_map< TKey, TVal >::sparse_hs_map ( size_t  hint_size = 1048576) [inline]

Definition at line 48 of file sparse_hash_map.hpp.

template<typename TKey , typename TVal >
virtual moost::container::policies::sparse_hs_map< TKey, TVal >::~sparse_hs_map ( ) [inline, virtual]

Definition at line 52 of file sparse_hash_map.hpp.


Member Function Documentation

template<typename TKey , typename TVal >
virtual void moost::container::policies::sparse_hs_map< TKey, TVal >::init ( map_type map) const [inline, virtual]

override

Definition at line 55 of file sparse_hash_map.hpp.

template<typename TKey , typename TVal >
virtual void moost::container::policies::sparse_hs_map< TKey, TVal >::resize ( map_type map,
size_t  numKeys 
) const [inline, virtual]

override

Definition at line 62 of file sparse_hash_map.hpp.


Member Data Documentation

template<typename TKey , typename TVal >
size_t moost::container::policies::sparse_hs_map< TKey, TVal >::m_hintSize [private]

Definition at line 66 of file sparse_hash_map.hpp.


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