BloombergLP::bsls::BslSourceNameParserUtil

Namespace for utilities that parse BDE-style source file names.

Synopsis

Declared in <bsls_bslsourcenameparserutil.h>

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-style component source and test driver names.

Enums

NameDescription
SourceTypes Bit masks and constants describing the meaning of the type_p parameter of getComponentName.

Static Member Functions

NameDescription
errorMessage Return a static English message for the specified parsing error code.
getComponentName Parse a Lakos-style source file name and return its component name.