Constructors

Synopses

Declared in <balxml_namespaceregistry.h>

Construct an empty registry. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the current default allocator is used.

NamespaceRegistry(bslma::Allocator* basicAllocator = 0);

Construct a copy of the specified other namespace registry using the (optionally) specified basicAllocator. For a given URI, the results of calling lookup by URI will produce equal results for this object and for other. For a given integer ID, the result of calling lookup by ID will produce different pointers that compare equal using strcmp.

NamespaceRegistry(
    NamespaceRegistry const& other,
    bslma::Allocator* basicAllocator = 0);

Created with MrDocs