NamespaceRegistry¶
#include <pbbam/DataSetXsd.h>
-
class
PacBio::BAM::
NamespaceRegistry
¶ The NamespaceRegistry class provides a per-dataset registry of XML namespace information.
This is used to format XML output - properly prefixing element labels with namespace as appropriate.
Constructors & Related Methods
-
NamespaceRegistry
()¶
-
NamespaceRegistry
(const NamespaceRegistry &other)¶
-
NamespaceRegistry
(NamespaceRegistry &&other)¶
-
NamespaceRegistry &
operator=
(const NamespaceRegistry &other)¶
-
NamespaceRegistry &
operator=
(NamespaceRegistry &&other)¶
-
~NamespaceRegistry
()¶
Registry Access
-
const NamespaceInfo &
DefaultNamespace
() const¶ Fetches namespace info for the dataset’s default XSD type.
-
XsdType
DefaultXsd
() const¶ Fetches dataset’s default XSD type.
-
const NamespaceInfo &
Namespace
(const XsdType &xsd) const¶ Fetches namespace info for the requested XSD type.
-
void
Register
(const XsdType &xsd, const NamespaceInfo &namespaceInfo)¶ Registers namespace info for a particular XSD type.
-
void
SetDefaultXsd
(const XsdType &xsd)¶ Updates dataset’s default XSD type.
-
XsdType
XsdForElement
(const std::string &elementLabel) const¶ Fetches the XSD type for
elementLabel
.
-
XsdType
XsdForUri
(const std::string &uri) const¶ Fetches the XSD type for a particular URI.
-