[#BloombergLP-ball-CategoryManager_RadixTree-forEachPrefix-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/CategoryManager_RadixTree.adoc[CategoryManager_RadixTree]::forEachPrefix :relfileprefix: ../../../ :mrdocs: Call `functor` for each key‐value pair whose key starts with `prefix`. == Synopses Declared in `<ball_categorymanager_radixtree.h>` Call `functor` for each key‐value pair whose key starts with `prefix`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_FUNCTOR> xref:BloombergLP/ball/CategoryManager_RadixTree/size_type.adoc[CategoryManager_RadixTree<t_VALUE>::size_type] xref:BloombergLP/ball/CategoryManager_RadixTree/forEachPrefix-01.adoc[forEachPrefix]( std::string_view const& prefix, t_FUNCTOR const& functor); ---- [.small]#xref:BloombergLP/ball/CategoryManager_RadixTree/forEachPrefix-01.adoc[_» more..._]# Call `functor` for each key‐value pair whose key starts with `prefix`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_FUNCTOR> xref:BloombergLP/ball/CategoryManager_RadixTree/size_type.adoc[CategoryManager_RadixTree<t_VALUE>::size_type] xref:BloombergLP/ball/CategoryManager_RadixTree/forEachPrefix-03.adoc[forEachPrefix]( std::string_view const& prefix, t_FUNCTOR const& functor) const; ---- [.small]#xref:BloombergLP/ball/CategoryManager_RadixTree/forEachPrefix-03.adoc[_» more..._]# == Return Value number of times the functor was called == Parameters [cols="1,4"] |=== | Name| Description | *prefix* | key prefix to match | *functor* | callable invoked for each matching key‐value pair |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#