Remove all entries with keys that have the specified prefix.
Declared in <ball_categorymanager_radixtree.h>
CategoryManager_RadixTree<t_VALUE>::size_type
erasePrefix(std::string_view const& prefix);
Include the entry for the prefix itself if it exists. Return the number of entries removed. Note that this method removes all nodes whose keys start with prefix, not just those that have a value.
number of entries removed
| Name | Description |
|---|---|
| prefix | key prefix of entries to remove |