BloombergLP::balxml::NamespaceRegistry

Mapping that associates a unique integer with each registered namespace URI.

Synopsis

Declared in <balxml_namespaceregistry.h>

class NamespaceRegistry;

Enums

NameDescription
Unnamed enum Preregistered namespace identifiers.

Member Functions

NameDescription
NamespaceRegistry [constructor]Constructors
~NamespaceRegistry [destructor]Destroy this object. Release all memory to the allocator used at construction.
operator= Discard the contents of this registry and assign it the contents of the specified rhs registry.
lookup lookup overloads
lookupOrRegister Return the integer ID for the specified namespaceUri, registering it if necessary.
print Print the contents of this object to the specified stream in human-readable form.
reset Removes all registered namespaces. Preregistered namespaces are not removed.
operator BloombergLP::bslmf::NestedTraitDeclaration<NamespaceRegistry, UsesBslmaAllocator> NamespaceRegistry uses a bslma::Allocator to supply memory.

Friends

NameDescription
BloombergLP::balxml::operator==Must be a friend for engineering reasons. Unlike most value-semantic types, there is no efficient way to read the entire value of a namespace registry object.

Non-Member Functions

NameDescription
operator!=Return true if the specified lhs and rhs registries do not have the same value.