Ansel 0.0
A darktable fork - bloat + design vision
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
HashTablePermutohedral< KD, VD > Class Template Reference

#include <Permutohedral.h>

+ Collaboration diagram for HashTablePermutohedral< KD, VD >:

Data Structures

struct  Entry
 
struct  Key
 
struct  Value
 

Public Member Functions

 HashTablePermutohedral ()
 
 HashTablePermutohedral (const HashTablePermutohedral &)=delete
 
 ~HashTablePermutohedral ()
 
HashTablePermutohedraloperator= (const HashTablePermutohedral &)=delete
 
int size () const
 
size_t maxFill () const
 
const KeygetKeys () const
 
ValuegetValues () const
 
int lookupOffset (const Key &key, bool create=true)
 
Valuelookup (const Key &k, bool create=true)
 
void grow (int order=1)
 

Private Attributes

Keykeys
 
Valuevalues
 
Entryentries
 
size_t capacity
 
size_t filled
 
unsigned long capacity_bits
 

Constructor & Destructor Documentation

◆ HashTablePermutohedral() [1/2]

◆ HashTablePermutohedral() [2/2]

template<int KD, int VD>
HashTablePermutohedral< KD, VD >::HashTablePermutohedral ( const HashTablePermutohedral< KD, VD > &  )
delete

◆ ~HashTablePermutohedral()

Member Function Documentation

◆ getKeys()

template<int KD, int VD>
const Key * HashTablePermutohedral< KD, VD >::getKeys ( ) const
inline

◆ getValues()

◆ grow()

◆ lookup()

◆ lookupOffset()

◆ maxFill()

◆ operator=()

template<int KD, int VD>
HashTablePermutohedral & HashTablePermutohedral< KD, VD >::operator= ( const HashTablePermutohedral< KD, VD > &  )
delete

◆ size()

Field Documentation

◆ capacity

◆ capacity_bits

◆ entries

◆ filled

◆ keys

◆ values


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