[#BloombergLP-balm-MetricFormat-formatSpec]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricFormat.adoc[MetricFormat]::formatSpec
:relfileprefix: ../../../
:mrdocs:

Return the address of the non&hyphen;modifiable format spec for the specified `publicationType`, or 0 if no format spec has been provided for `publicationType`&period;

== Synopsis

Declared in `&lt;balm&lowbar;metricformat&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balm/MetricFormatSpec.adoc[MetricFormatSpec] const*
formatSpec(xref:BloombergLP/balm/PublicationType/Value.adoc[PublicationType::Value] publicationType) const;
----

== Return Value

address of the format spec, or 0 if none has been provided

== Parameters

[cols="1,4"]
|===
| Name| Description
| *publicationType*
| publication aggregate whose format is requested
|===


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