AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT > Class Template Reference

#include <LinearProbingHashSet.h>

+ Inheritance diagram for agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >:

Public Types

typedef Implementation::const_iterator const_iterator
 
typedef LinearProbingHashSetImplementation< agx::ref_ptr< KeyT >, HashT > Implementation
 
typedef Implementation::iterator iterator
 
- Public Types inherited from agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT >, HashT >
using const_reference = const agx::ref_ptr< KeyT > &
 
using reference = agx::ref_ptr< KeyT > &
 
using size_type = size_t
 
using value_type = agx::ref_ptr< KeyT >
 

Public Member Functions

 LinearProbingHashSet ()
 
bool contains (const KeyT *key) const
 
bool erase (const KeyT *key)
 
iterator find (const KeyT *key)
 
const_iterator find (const KeyT *key) const
 
- Public Member Functions inherited from agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT >, HashT >
 LinearProbingHashSetImplementation ()=default
 
 LinearProbingHashSetImplementation (const LinearProbingHashSetImplementation &other)
 
 LinearProbingHashSetImplementation (LinearProbingHashSetImplementation &&other)
 
 ~LinearProbingHashSetImplementation ()
 
iterator begin ()
 
const_iterator begin () const
 
void clear ()
 
bool contains (const agx::ref_ptr< KeyT > &k) const
 
size_t count (const agx::ref_ptr< KeyT > &k) const
 
iterator emplace (Args &&... args)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
bool erase (const agx::ref_ptr< KeyT > &key)
 
iterator erase (iterator it)
 
iterator find (const agx::ref_ptr< KeyT > &key)
 
const_iterator find (const agx::ref_ptr< KeyT > &key) const
 
iterator insert (agx::ref_ptr< KeyT > &&key)
 
iterator insert (const agx::ref_ptr< KeyT > &key)
 
void insert (const_iterator begin, const_iterator end)
 
void insert_unique (agx::ref_ptr< KeyT > &&key)
 
LinearProbingHashSetImplementation & operator= (const LinearProbingHashSetImplementation &other)
 
LinearProbingHashSetImplementation & operator= (LinearProbingHashSetImplementation &&other)
 
void reserve (size_t num_elems)
 
size_t size () const
 
void swap (LinearProbingHashSetImplementation &other)
 

Additional Inherited Members

- Protected Member Functions inherited from agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT >, HashT >
void erase_bucket (size_t bucket)
 
size_t find_filled_bucket (const T2 &key) const
 

Detailed Description

template<typename KeyT, typename HashT>
class agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >

Definition at line 633 of file LinearProbingHashSet.h.

Member Typedef Documentation

◆ const_iterator

template<typename KeyT , typename HashT >
typedef Implementation::const_iterator agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::const_iterator

Definition at line 638 of file LinearProbingHashSet.h.

◆ Implementation

template<typename KeyT , typename HashT >
typedef LinearProbingHashSetImplementation<agx::ref_ptr<KeyT>, HashT> agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::Implementation

Definition at line 636 of file LinearProbingHashSet.h.

◆ iterator

template<typename KeyT , typename HashT >
typedef Implementation::iterator agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::iterator

Definition at line 637 of file LinearProbingHashSet.h.

Constructor & Destructor Documentation

◆ LinearProbingHashSet()

template<typename KeyT , typename HashT >
agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::LinearProbingHashSet ( )
inline

Definition at line 640 of file LinearProbingHashSet.h.

Member Function Documentation

◆ contains()

template<typename KeyT , typename HashT >
bool agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::contains ( const KeyT *  key) const
inline

◆ erase()

template<typename KeyT , typename HashT >
bool agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::erase ( const KeyT *  key)
inline

◆ find() [1/2]

template<typename KeyT , typename HashT >
iterator agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::find ( const KeyT *  key)
inline

◆ find() [2/2]

template<typename KeyT , typename HashT >
const_iterator agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::find ( const KeyT *  key) const
inline

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