AGXDynamics  2.31.1.0
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
 
using const_reference = const agx::ref_ptr< KeyT > &
 
typedef LinearProbingHashSetImplementation< agx::ref_ptr< KeyT >, HashT > Implementation
 
typedef Implementation::iterator iterator
 
using reference = agx::ref_ptr< KeyT > &
 
using size_type = size_t
 
using value_type = agx::ref_ptr< KeyT >
 

Public Member Functions

 LinearProbingHashSet ()
 
iterator begin ()
 
const_iterator begin () const
 
void clear ()
 
bool contains (const agx::ref_ptr< KeyT > &k) const
 
bool contains (const KeyT *key) const
 
size_t count (const agx::ref_ptr< KeyT > &k) const
 
insert_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)
 
bool erase (const KeyT *key)
 
iterator find (const agx::ref_ptr< KeyT > &key)
 
const_iterator find (const agx::ref_ptr< KeyT > &key) const
 
iterator find (const KeyT *key)
 
const_iterator find (const KeyT *key) const
 
insert_iterator insert (const agx::ref_ptr< KeyT > &key)
 
insert_iterator insert (agx::ref_ptr< KeyT > &&key)
 
void insert (const_iterator begin, const_iterator end)
 
void insert_unique (agx::ref_ptr< KeyT > &&key)
 
void reserve (size_t num_elems)
 
size_t size () const
 
void swap (LinearProbingHashSetImplementation &other)
 

Protected Member Functions

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 652 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 657 of file LinearProbingHashSet.h.

◆ const_reference

using agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::const_reference = const agx::ref_ptr< KeyT > &
inherited

Definition at line 58 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 655 of file LinearProbingHashSet.h.

◆ iterator

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

Definition at line 656 of file LinearProbingHashSet.h.

◆ reference

using agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::reference = agx::ref_ptr< KeyT > &
inherited

Definition at line 57 of file LinearProbingHashSet.h.

◆ size_type

using agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::size_type = size_t
inherited

Definition at line 55 of file LinearProbingHashSet.h.

◆ value_type

using agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::value_type = agx::ref_ptr< KeyT >
inherited

Definition at line 56 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 659 of file LinearProbingHashSet.h.

Member Function Documentation

◆ begin() [1/2]

iterator agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::begin ( )
inlineinherited

Definition at line 279 of file LinearProbingHashSet.h.

◆ begin() [2/2]

const_iterator agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::begin ( ) const
inlineinherited

Definition at line 288 of file LinearProbingHashSet.h.

◆ clear()

void agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::clear ( )
inlineinherited

Definition at line 437 of file LinearProbingHashSet.h.

◆ contains() [1/2]

bool agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::contains ( const agx::ref_ptr< KeyT > &  k) const
inlineinherited

◆ contains() [2/2]

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

◆ count()

size_t agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::count ( const agx::ref_ptr< KeyT > &  k) const
inlineinherited

◆ emplace()

insert_iterator agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::emplace ( Args &&...  args)
inlineinherited

◆ empty()

bool agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::empty ( ) const
inlineinherited

Definition at line 308 of file LinearProbingHashSet.h.

◆ end() [1/2]

iterator agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::end ( )
inlineinherited

Definition at line 297 of file LinearProbingHashSet.h.

◆ end() [2/2]

const_iterator agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::end ( ) const
inlineinherited

Definition at line 300 of file LinearProbingHashSet.h.

◆ erase() [1/3]

◆ erase() [2/3]

iterator agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::erase ( iterator  it)
inlineinherited

◆ erase() [3/3]

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

◆ erase_bucket()

void agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::erase_bucket ( size_t  bucket)
inlineprotectedinherited

◆ find() [1/4]

◆ find() [2/4]

◆ find() [3/4]

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

◆ find() [4/4]

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

◆ find_filled_bucket()

size_t agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::find_filled_bucket ( const T2 &  key) const
inlineprotectedinherited

◆ insert() [1/3]

insert_iterator agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::insert ( const agx::ref_ptr< KeyT > &  key)
inlineinherited

Definition at line 349 of file LinearProbingHashSet.h.

◆ insert() [2/3]

insert_iterator agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::insert ( agx::ref_ptr< KeyT > &&  key)
inlineinherited

Definition at line 370 of file LinearProbingHashSet.h.

◆ insert() [3/3]

◆ insert_unique()

void agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::insert_unique ( agx::ref_ptr< KeyT > &&  key)
inlineinherited

◆ reserve()

void agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::reserve ( size_t  num_elems)
inlineinherited

Definition at line 450 of file LinearProbingHashSet.h.

References agxAssert.

◆ size()

size_t agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::size ( ) const
inlineinherited

Definition at line 303 of file LinearProbingHashSet.h.

◆ swap()

void agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::swap ( LinearProbingHashSetImplementation< agx::ref_ptr< KeyT >, HashT > &  other)
inlineinherited

Definition at line 266 of file LinearProbingHashSet.h.


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