[#BloombergLP-bdlat_TypeName-className]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_TypeName.adoc[bdlat&lowbar;TypeName]::className
:relfileprefix: ../../
:mrdocs:

Return a null&hyphen;terminated string containing the exported name for the specified `TYPE`, or a 0 pointer if `TYPE` does not export a name&period; A type exports a name by overloading the function `bdlat&lowbar;TypeName&lowbar;className(const TYPE&amp;)` in TYPE&apos;s namespace&period; The default implementation of `bdlat&lowbar;TypeName&lowbar;className` will automatically return the `CLASS&lowbar;NAME` value for types that have the `bdlat&lowbar;TypeTraitBasicChoice`, `bdlat&lowbar;TypeTraitBasicSequence`, `bdlat&lowbar;TypeTraitBasicCustomizedType`, or `bdlat&lowbar;TypeTraitBasicEnumeration` trait (i&period;e&period;, types generated using `bas&lowbar;codegen&period;pl`)&period;

== Synopsis

Declared in `&lt;bdlat&lowbar;typename&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
static
char const*
className(TYPE const& object);
----


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