AGX Dynamics  2.35.0.1
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

Definition at line 88 of file QuadraticProbingHashTable.h.

Member Function Documentation

◆ getState()

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

Definition at line 113 of file QuadraticProbingHashTable.h.

◆ 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()

◆ 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

◆ second


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