[#BloombergLP-bsls-BslSourceNameParserUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::BslSourceNameParserUtil
:relfileprefix: ../../
:mrdocs:

Namespace for utilities that parse BDE&hyphen;style source file names&period;

== Synopsis

Declared in `&lt;bsls&lowbar;bslsourcenameparserutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct BslSourceNameParserUtil;
----

== Description

This `struct` provides a namespace for `static` utility functions that parse source file names (as may be reported by the `*FILE*` macro), including Lakos&hyphen;style component source and test driver names&period;

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/BslSourceNameParserUtil/SourceTypes.adoc[`SourceTypes`] 
| Bit masks and constants describing the meaning of the `type&lowbar;p` parameter of `getComponentName`&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/BslSourceNameParserUtil/errorMessage.adoc[`errorMessage`] 
| Return a static English message for the specified parsing error code&period;
| xref:BloombergLP/bsls/BslSourceNameParserUtil/getComponentName.adoc[`getComponentName`] 
| Parse a Lakos&hyphen;style source file name and return its component name&period;
|===



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