Blender V5.0
blender::string_search::StringSearchBase Class Reference

#include <BLI_string_search.hh>

Inherited by blender::string_search::StringSearch< T > [private].

Protected Member Functions

void add_impl (StringRef str, void *user_data, float weight)
Vector< void * > query_impl (StringRef query) const

Protected Attributes

LinearAllocator allocator_
Vector< SearchItemitems_
const RecentCacherecent_cache_ = nullptr
MainWordsHeuristic main_words_heuristic_

Detailed Description

Non templated base class so that its methods can be implemented outside of this header.

Definition at line 69 of file BLI_string_search.hh.

Member Function Documentation

◆ add_impl()

◆ query_impl()

Vector< void * > blender::string_search::StringSearchBase::query_impl ( StringRef query) const
protected

Member Data Documentation

◆ allocator_

LinearAllocator blender::string_search::StringSearchBase::allocator_
protected

Definition at line 71 of file BLI_string_search.hh.

Referenced by add_impl().

◆ items_

Vector<SearchItem> blender::string_search::StringSearchBase::items_
protected

Definition at line 72 of file BLI_string_search.hh.

Referenced by add_impl(), and query_impl().

◆ main_words_heuristic_

MainWordsHeuristic blender::string_search::StringSearchBase::main_words_heuristic_
protected

◆ recent_cache_

const RecentCache* blender::string_search::StringSearchBase::recent_cache_ = nullptr
protected

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