FuzzyMutableIndex
Object Hierarchy:
Description:
[ CCode ( ref_function = "dzl_fuzzy_mutable_index_ref" , type_id = "dzl_fuzzy_mutable_index_get_type ()" , unref_function = "dzl_fuzzy_mutable_index_unref" ) ]
[ Compact ]
public class FuzzyMutableIndex
Content:
Creation methods:
Methods:
- public FuzzyMutableIndex @ref ()
- public void begin_bulk_insert ()
Start a bulk insertion.
- public bool contains (string key)
- public void end_bulk_insert ()
Complete a bulk insert and resort the index.
- public void insert (string key, void* value)
Inserts a string into the fuzzy matcher.
- public Array<FuzzyMutableIndexMatch?> match (string needle, size_t max_matches)
DzlFuzzyMutableIndex searches within this
for strings that fuzzy match needle
.
- public void remove (string key)
- public void set_free_func (DestroyNotify free_func)
- public void unref ()
Decrements the reference count of fuzzy by one.