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

If this method is called the first time (`d&lowbar;defaultCategory&lowbar;p` is null) add a new category with the (unspecified) default category name (possibly changed by the registered category name filter callback)&period; Use the default threshold levels for the new category&period; The behavior is undefined if the default category already exists but has not been added by this method&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
addDefaultCategory();
----


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