[#BloombergLP-ball-CategoryManager-lookupCategory-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/CategoryManager.adoc[CategoryManager]::lookupCategory
:relfileprefix: ../../../
:mrdocs:

Return the address of the modifiable category having the specified `categoryName` in the registry of this category manager, or 0 if no such category exists&period; If a category is returned and the specified `categoryHolder` is non&hyphen;null, then also load into `categoryHolder` the returned category and its maximum level and link `categoryHolder` to the category if it has not yet been linked&period; Note that the category name is possibly changed by the registered category name filter callback before the lookup&period;

== Synopsis

Declared in `&lt;ball&lowbar;categorymanager&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/Category.adoc[Category]*
lookupCategory(
    xref:BloombergLP/ball/CategoryHolder.adoc[CategoryHolder]* categoryHolder,
    char const* categoryName);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
