AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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.

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

Definition at line 58 of file LinearProbingHashSet.h.

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.

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

Definition at line 656 of file LinearProbingHashSet.h.

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

Definition at line 57 of file LinearProbingHashSet.h.

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

Definition at line 55 of file LinearProbingHashSet.h.

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

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

bool agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::contains ( const agx::ref_ptr< KeyT > &  k) const
inlineinherited
template<typename KeyT , typename HashT >
bool agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::contains ( const KeyT *  key) const
inline
size_t agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::count ( const agx::ref_ptr< KeyT > &  k) const
inlineinherited
insert_iterator agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::emplace ( Args &&...  args)
inlineinherited
bool agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::empty ( ) const
inlineinherited

Definition at line 308 of file LinearProbingHashSet.h.

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

Definition at line 297 of file LinearProbingHashSet.h.

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

Definition at line 300 of file LinearProbingHashSet.h.

iterator agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::erase ( iterator  it)
inlineinherited
template<typename KeyT , typename HashT >
bool agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::erase ( const KeyT *  key)
inline
void agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::erase_bucket ( size_t  bucket)
inlineprotectedinherited
template<typename KeyT , typename HashT >
iterator agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::find ( const KeyT *  key)
inline
template<typename KeyT , typename HashT >
const_iterator agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::find ( const KeyT *  key) const
inline
insert_iterator agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::insert ( const agx::ref_ptr< KeyT > &  key)
inlineinherited
insert_iterator agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::insert ( agx::ref_ptr< KeyT > &&  key)
inlineinherited
size_t agx::LinearProbingHashSetImplementation< agx::ref_ptr< KeyT > , HashT >::size ( ) const
inlineinherited

Definition at line 303 of file LinearProbingHashSet.h.

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: