DDD  1.9.0.20240826145154
Classes | Public Types | Public Member Functions | Private Attributes | Friends | List of all members
ext_hash_map< Key, Data, HashKey, EqualKey > Class Template Reference

#include <util/ext_hash_map.hh>

Inheritance diagram for ext_hash_map< Key, Data, HashKey, EqualKey >:
Inheritance graph
Collaboration diagram for ext_hash_map< Key, Data, HashKey, EqualKey >:
Collaboration graph

Classes

class  accessor
 
class  const_accessor
 

Public Types

typedef google::sparse_hash_map< Key, Data, HashKey, EqualKey > internal_hash_map
 
typedef internal_hash_map::iterator iterator
 
typedef internal_hash_map::const_iterator const_iterator
 
typedef internal_hash_map::size_type size_type
 

Public Member Functions

 ext_hash_map ()
 
 ext_hash_map (size_t s)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
size_type size () const
 
bool empty () const
 
void clear ()
 
bool find (accessor &result, const Key &key)
 
bool find (const_accessor &result, const Key &key) const
 
bool insert (accessor &result, const Key &key)
 
bool erase (const Key &key)
 

Private Attributes

internal_hash_map map_
 

Friends

class const_accessor
 
class accessor
 

Member Typedef Documentation

◆ const_iterator

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
typedef internal_hash_map::const_iterator ext_hash_map< Key, Data, HashKey, EqualKey >::const_iterator

◆ internal_hash_map

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
typedef google::sparse_hash_map<Key,Data,HashKey,EqualKey> ext_hash_map< Key, Data, HashKey, EqualKey >::internal_hash_map

◆ iterator

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
typedef internal_hash_map::iterator ext_hash_map< Key, Data, HashKey, EqualKey >::iterator

◆ size_type

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
typedef internal_hash_map::size_type ext_hash_map< Key, Data, HashKey, EqualKey >::size_type

Constructor & Destructor Documentation

◆ ext_hash_map() [1/2]

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
ext_hash_map< Key, Data, HashKey, EqualKey >::ext_hash_map ( )
inline

◆ ext_hash_map() [2/2]

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
ext_hash_map< Key, Data, HashKey, EqualKey >::ext_hash_map ( size_t  s)
inline

Member Function Documentation

◆ begin() [1/2]

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
iterator ext_hash_map< Key, Data, HashKey, EqualKey >::begin ( )
inline

◆ begin() [2/2]

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
const_iterator ext_hash_map< Key, Data, HashKey, EqualKey >::begin ( ) const
inline

◆ clear()

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
void ext_hash_map< Key, Data, HashKey, EqualKey >::clear ( )
inline

◆ empty()

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
bool ext_hash_map< Key, Data, HashKey, EqualKey >::empty ( ) const
inline

◆ end() [1/2]

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
iterator ext_hash_map< Key, Data, HashKey, EqualKey >::end ( )
inline

◆ end() [2/2]

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
const_iterator ext_hash_map< Key, Data, HashKey, EqualKey >::end ( ) const
inline

◆ erase()

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
bool ext_hash_map< Key, Data, HashKey, EqualKey >::erase ( const Key &  key)
inline

◆ find() [1/2]

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
bool ext_hash_map< Key, Data, HashKey, EqualKey >::find ( accessor result,
const Key &  key 
)
inline

◆ find() [2/2]

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
bool ext_hash_map< Key, Data, HashKey, EqualKey >::find ( const_accessor result,
const Key &  key 
) const
inline

◆ insert()

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
bool ext_hash_map< Key, Data, HashKey, EqualKey >::insert ( accessor result,
const Key &  key 
)
inline

◆ size()

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
size_type ext_hash_map< Key, Data, HashKey, EqualKey >::size ( ) const
inline

Friends And Related Function Documentation

◆ accessor

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
friend class accessor
friend

◆ const_accessor

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
friend class const_accessor
friend

Member Data Documentation

◆ map_

template<typename Key , typename Data , typename HashKey = d3::util::hash<Key>, typename EqualKey = d3::util::equal<Key>>
internal_hash_map ext_hash_map< Key, Data, HashKey, EqualKey >::map_
private

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

Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Aug 26 2024 14:54:00 for DDD by doxygen 1.9.1