A hash table implemented using unordered_map.  
 More...
#include <hpp/fcl/broadphase/detail/sparse_hash_table.h>
 | 
|   | SparseHashTable (const HashFnc &h) | 
|   | 
| void  | init (size_t) | 
|   | Init the hash table. The bucket size is dynamically decided.  More...
  | 
|   | 
| void  | insert (Key key, Data value) | 
|   | insert one key-value pair into the hash table  More...
  | 
|   | 
| std::vector< Data >  | query (Key key) const | 
|   | find the elements whose key is the same as the query  More...
  | 
|   | 
| void  | remove (Key key, Data value) | 
|   | remove one key-value pair from the hash table  More...
  | 
|   | 
| void  | clear () | 
|   | clear the hash table  More...
  | 
|   | 
 | 
| typedef std::list< Data >  | Bin | 
|   | 
| typedef TableT< size_t, Bin >  | Table | 
|   | 
template<typename Key, typename Data, typename HashFnc, template< typename, typename > class TableT = unordered_map_hash_table>
class hpp::fcl::detail::SparseHashTable< Key, Data, HashFnc, TableT >
A hash table implemented using unordered_map. 
 
◆ Bin
template<typename Key , typename Data , typename HashFnc , template< typename, typename > class TableT = unordered_map_hash_table> 
 
 
◆ Table
template<typename Key , typename Data , typename HashFnc , template< typename, typename > class TableT = unordered_map_hash_table> 
 
 
◆ SparseHashTable()
template<typename Key , typename Data , typename HashFnc , template< typename, typename > class TableT> 
      
 
 
◆ clear()
template<typename Key , typename Data , typename HashFnc , template< typename, typename > class TableT> 
      
 
 
◆ init()
template<typename Key , typename Data , typename HashFnc , template< typename, typename > class TableT> 
      
 
Init the hash table. The bucket size is dynamically decided. 
 
 
◆ insert()
template<typename Key , typename Data , typename HashFnc , template< typename, typename > class TableT> 
      
 
insert one key-value pair into the hash table 
 
 
◆ query()
template<typename Key , typename Data , typename HashFnc , template< typename, typename > class TableT> 
      
 
find the elements whose key is the same as the query 
 
 
◆ remove()
template<typename Key , typename Data , typename HashFnc , template< typename, typename > class TableT> 
      
 
remove one key-value pair from the hash table 
 
 
◆ h_
template<typename Key , typename Data , typename HashFnc , template< typename, typename > class TableT = unordered_map_hash_table> 
 
 
◆ table_
template<typename Key , typename Data , typename HashFnc , template< typename, typename > class TableT = unordered_map_hash_table> 
 
 
The documentation for this class was generated from the following files: