LeechCraft 0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::StringPathTrie< V > Class Template Reference

#include "stringpathtrie.h"

+ Inheritance diagram for LC::Util::StringPathTrie< V >:

Classes

struct  FindResult
 

Public Member Functions

const std::optional< V > & GetValue () const
 
const StringPathTrieGetChild (QStringView view) const
 
template<StringViewContainer Cont>
void Add (Cont &&path, V value)
 
template<typename It, typename End>
void Add (It begin, End end, V value)
 
FindResult Find (QStringView single) const
 
template<StringViewContainer Cont>
FindResult Find (Cont &&path) const
 
template<typename It, typename End>
FindResult Find (It begin, End end) const
 

Detailed Description

template<typename V>
class LC::Util::StringPathTrie< V >

Definition at line 24 of file stringpathtrie.h.

Member Function Documentation

◆ Add() [1/2]

template<typename V>
template<StringViewContainer Cont>
void LC::Util::StringPathTrie< V >::Add ( Cont && path,
V value )
inline

Definition at line 46 of file stringpathtrie.h.

Referenced by LC::Util::StringPathTrie< int >::Add().

+ Here is the caller graph for this function:

◆ Add() [2/2]

template<typename V>
template<typename It, typename End>
void LC::Util::StringPathTrie< V >::Add ( It begin,
End end,
V value )
inline

Definition at line 52 of file stringpathtrie.h.

◆ Find() [1/3]

template<typename V>
template<StringViewContainer Cont>
FindResult LC::Util::StringPathTrie< V >::Find ( Cont && path) const
inline

Definition at line 88 of file stringpathtrie.h.

◆ Find() [2/3]

template<typename V>
template<typename It, typename End>
FindResult LC::Util::StringPathTrie< V >::Find ( It begin,
End end ) const
inline

Definition at line 94 of file stringpathtrie.h.

◆ Find() [3/3]

template<typename V>
FindResult LC::Util::StringPathTrie< V >::Find ( QStringView single) const
inline

Definition at line 81 of file stringpathtrie.h.

◆ GetChild()

template<typename V>
const StringPathTrie * LC::Util::StringPathTrie< V >::GetChild ( QStringView view) const
inline

Definition at line 36 of file stringpathtrie.h.

◆ GetValue()

template<typename V>
const std::optional< V > & LC::Util::StringPathTrie< V >::GetValue ( ) const
inline

Definition at line 31 of file stringpathtrie.h.


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