SpiecsEngine
Loading...
Searching...
No Matches
◆
get()
template<size_t BITS>
void *
scl::radix_trie
< BITS, 1 >::get
(
size_t
k
)
const
inline
Get item by key.
Parameters
[in]
k
key.
Returns
Returns value;
Definition at line
74
of file
RadixTrie.h
.
75
{
76
if
((
k
>>
BITS
) > 0)
77
{
78
return
nullptr
;
79
}
80
81
return
m_Root
->
values
[
k
];
82
}
scl::radix_trie< BITS, 1 >::m_Root
Leaf * m_Root
Root Node.
Definition
RadixTrie.h:46
scl::radix_trie< BITS, 1 >::get
void * get(size_t k) const
Get item by key.
Definition
RadixTrie.h:74
scl::radix_trie< BITS, 1 >::Leaf::values
std::array< void *, LENGTH > values
Definition
RadixTrie.h:40
scl
radix_trie< BITS, 1 >
Generated on Sun Mar 8 2026 10:24:48 for SpiecsEngine by
1.10.0