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

Synopsis

Declared in <balxml_namespaceregistry.h>

class NamespaceRegistry;

Enums

Name

Description

Unnamed enum

Preregistered namespace identifiers.

Member Functions

Name

Description

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

Name

Description

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

Name

Description

operator!=

Return true if the specified lhs and rhs registries do not have the same value.

Created with MrDocs