BloombergLP::balxml::NamespaceRegistry::lookupOrRegister

Return the integer ID for the specified namespaceUri, assigning a new ID if the namespaceUri has not been registered before. Note that the IDs for pre-registered namespaces (including the empty URI) are less than zero. (See "Preregistered Namespaces" in the 'balxml_namespaceregistry component-level documentation.)

Synopsis

Declared in <balxml_namespaceregistry.h>

int
lookupOrRegister(std::string_view const& namespaceUri);