|
Blender V4.3
|
#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 65 of file BLI_string_search.hh.
|
protected |
Definition at line 482 of file string_search.cc.
References blender::string_search::All, allocator_, blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), blender::LinearAllocator< Allocator >::construct_array_copy(), blender::string_search::extract_normalized_words(), blender::Vector< T, InlineBufferCapacity, Allocator >::fill(), blender::string_search::FirstGroup, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), int, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), items_, blender::Vector< T, InlineBufferCapacity, Allocator >::last(), blender::string_search::LastGroup, blender::string_search::RecentCache::logical_time_by_str, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default(), main_words_heuristic_, blender::StringRefBase::not_found, recent_cache_, size(), and str.
Referenced by blender::string_search::StringSearch< T >::add().
|
protected |
Definition at line 530 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 67 of file BLI_string_search.hh.
Referenced by add_impl().
|
protected |
Definition at line 68 of file BLI_string_search.hh.
Referenced by add_impl(), and query_impl().
|
protected |
Definition at line 70 of file BLI_string_search.hh.
Referenced by add_impl(), and blender::string_search::StringSearch< T >::StringSearch().
|
protected |
Definition at line 69 of file BLI_string_search.hh.
Referenced by add_impl(), and blender::string_search::StringSearch< T >::StringSearch().