SpiecsEngine
 
Loading...
Searching...
No Matches
scl::radix_trie< BITS, 1 > Class Template Reference

Implementation of radix_trie with 1 LAYER. More...

#include <RadixTrie.h>

Classes

struct  Leaf
 Leaf Defines. More...
 

Public Member Functions

 radix_trie ()
 Constructor Function.
 
virtual ~radix_trie ()
 Deconstruct Function.
 
void * get (size_t k) const
 Get item by key.
 
void set (size_t k, void *v)
 Set pair of key - value.
 

Private Attributes

Leafm_Root
 Root Node.
 

Static Private Attributes

static constexpr size_t LENGTH = 1 << BITS
 array length.
 

Detailed Description

template<size_t BITS>
class scl::radix_trie< BITS, 1 >

Implementation of radix_trie with 1 LAYER.

Template Parameters
BITSBits number.

Definition at line 26 of file RadixTrie.h.


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