Remove all entries with keys that have the specified prefix.

Synopsis

Declared in <ball_categorymanager_radixtree.h>

CategoryManager_RadixTree<t_VALUE>::size_type
erasePrefix(std::string_view const& prefix);

Description

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.

Return Value

number of entries removed

Parameters

Name

Description

prefix

key prefix of entries to remove

Created with MrDocs