AGX Dynamics  2.37.2.0
agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::Bucket Class Reference

#include <QuadraticProbingHashTable.h>

Public Types

enum  State { INACTIVE, ACTIVE, VALID }
 

Public Member Functions

 Bucket ()
 
agx::UInt8 getState () const
 
bool isActive () const
 
bool isValid () const
 
 operator std::pair< KeyT, DataT > ()
 
Bucket & operator= (const Bucket &b)
 

Public Attributes

KeyT first
 We used to wrap key,data in a std::pair. More...
 
DataT second
 

Detailed Description

template<typename KeyT, typename DataT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
class agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::Bucket

Definition at line 65 of file QuadraticProbingHashTable.h.

Member Enumeration Documentation

◆ State

template<typename KeyT, typename DataT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
enum agx::QuadraticProbingHashTableImplementation::Bucket::State
Enumerator
INACTIVE 
ACTIVE 
VALID 

Definition at line 68 of file QuadraticProbingHashTable.h.

Constructor & Destructor Documentation

◆ Bucket()

template<typename KeyT, typename DataT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::Bucket::Bucket ( )
inline

Member Function Documentation

◆ getState()

◆ isActive()

template<typename KeyT, typename DataT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
bool agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::Bucket::isActive ( ) const
inline

◆ isValid()

template<typename KeyT, typename DataT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
bool agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::Bucket::isValid ( ) const
inline

◆ operator std::pair< KeyT, DataT >()

template<typename KeyT, typename DataT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::Bucket::operator std::pair< KeyT, DataT > ( )
inline

Definition at line 86 of file QuadraticProbingHashTable.h.

◆ operator=()

template<typename KeyT, typename DataT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
Bucket& agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::Bucket::operator= ( const Bucket &  b)
inline

Member Data Documentation

◆ first

template<typename KeyT, typename DataT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
KeyT agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::Bucket::first

◆ second

template<typename KeyT, typename DataT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
DataT agx::QuadraticProbingHashTableImplementation< KeyT, DataT, HashT, AllocatorT >::Bucket::second

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