MCPcopy Create free account
hub / github.com/DFHack/dfhack / tokenizeSearch

Method tokenizeSearch

plugins/listcolumn.h:141–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 }
140
141 virtual void tokenizeSearch (vector<string> *dest, const string search)
142 {
143 if (!search.empty())
144 split_string(dest, to_search_normalized(search), " ");
145 }
146
147 virtual bool showEntry(const ListEntry<T> *entry, const vector<string> &search_tokens)
148 {

Callers

nothing calls this directly

Calls 3

split_stringFunction · 0.85
to_search_normalizedFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected