|
Blender V5.0
|
#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< SearchItem > | items_ |
| const RecentCache * | recent_cache_ = nullptr |
| MainWordsHeuristic | main_words_heuristic_ |
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.
|
protected |
Definition at line 486 of file string_search.cc.
References blender::string_search::All, allocator_, blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), BLI_assert, BLI_str_utf8_invalid_byte(), blender::string_search::extract_normalized_words(), blender::Vector< T, InlineBufferCapacity, Allocator >::fill(), blender::string_search::FirstGroup, i, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), items_, blender::Vector< T, InlineBufferCapacity, Allocator >::last(), blender::string_search::LastGroup, main_words_heuristic_, blender::StringRefBase::not_found, recent_cache_, size(), and str.
Referenced by blender::string_search::StringSearch< T >::add().
|
protected |
Definition at line 535 of file string_search.cc.
References blender::string_search::extract_normalized_words(), items_, and blender::threading::parallel_for().
Referenced by blender::string_search::StringSearch< T >::query().
|
protected |
Definition at line 71 of file BLI_string_search.hh.
Referenced by add_impl().
|
protected |
Definition at line 72 of file BLI_string_search.hh.
Referenced by add_impl(), and query_impl().
|
protected |
Definition at line 74 of file BLI_string_search.hh.
Referenced by add_impl(), and blender::string_search::StringSearch< T >::StringSearch().
|
protected |
Definition at line 73 of file BLI_string_search.hh.
Referenced by add_impl(), and blender::string_search::StringSearch< T >::StringSearch().