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

`lookupCategory` overloads

== Synopses

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

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; Note that the category name is possibly changed by the registered category name filter callback before the lookup&period;


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

[.small]#xref:BloombergLP/ball/CategoryManager/lookupCategory-04.adoc[_» more&period;&period;&period;_]#

Return the address of the non&hyphen;modifiable category having the specified `categoryName`, possibly changed by the registered category name filter callback, in the registry of this category manager, or 0 if no such category exists&period;


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

[.small]#xref:BloombergLP/ball/CategoryManager/lookupCategory-07.adoc[_» more&period;&period;&period;_]#

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;


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

[.small]#xref:BloombergLP/ball/CategoryManager/lookupCategory-0f.adoc[_» more&period;&period;&period;_]#


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