[#BloombergLP-ball-CategoryManager_RadixTree-eraseChildrenOfPrefix] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/CategoryManager_RadixTree.adoc[CategoryManager_RadixTree]::eraseChildrenOfPrefix :relfileprefix: ../../../ :mrdocs: Remove all children of the entry matching the specified `prefix`. == Synopsis Declared in `<ball_categorymanager_radixtree.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/CategoryManager_RadixTree/size_type.adoc[CategoryManager_RadixTree<t_VALUE>::size_type] eraseChildrenOfPrefix(std::string_view const& prefix); ---- == Description Do not remove the entry with the prefix itself. If unused (no value, no children) nodes remain remove those, too. If no entry exists for `prefix` remove nothing. Return the number of entries removed. == Return Value number of entries removed == Parameters [cols="1,4"] |=== | Name| Description | *prefix* | key of the entry whose children are removed |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#