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

#include "stringpathtrie.h"

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,
value 
)
inline

Definition at line 46 of file stringpathtrie.h.

◆ Add() [2/2]

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

Definition at line 52 of file stringpathtrie.h.

References Value_.

◆ Find() [1/3]

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

Definition at line 81 of file stringpathtrie.h.

Referenced by LC::Util::StringPathTrie< V >::Find().

+ Here is the caller graph for this function:

◆ Find() [2/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.

References LC::Util::StringPathTrie< V >::Find().

+ Here is the call graph for this function:

◆ Find() [3/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.

References LC::Util::StringPathTrie< V >::Find(), and Value_.

+ Here is the call graph for this function:

◆ 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.

References Value_.


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