bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
ncml_module::XMLNamespace Struct Reference
Collaboration diagram for ncml_module::XMLNamespace:
Collaboration graph

Public Member Functions

void fromSAX2Namespace (const xmlChar **namespaces)
 
std::string getAsAttributeString () const
 
XMLNamespaceoperator= (const XMLNamespace &rhs)
 
 XMLNamespace (const std::string &prefix="", const std::string &uri="")
 
 XMLNamespace (const XMLNamespace &proto)
 

Public Attributes

std::string prefix
 
std::string uri
 

Detailed Description

Definition at line 135 of file XMLHelpers.h.

Constructor & Destructor Documentation

◆ XMLNamespace() [1/2]

ncml_module::XMLNamespace::XMLNamespace ( const std::string & prefix = "",
const std::string & uri = "" )

Definition at line 252 of file XMLHelpers.cc.

◆ XMLNamespace() [2/2]

ncml_module::XMLNamespace::XMLNamespace ( const XMLNamespace & proto)

Definition at line 257 of file XMLHelpers.cc.

Member Function Documentation

◆ fromSAX2Namespace()

void ncml_module::XMLNamespace::fromSAX2Namespace ( const xmlChar ** namespaces)

Assuming the pointer is an array of two strings: {prefix, uri}

Definition at line 274 of file XMLHelpers.cc.

◆ getAsAttributeString()

string ncml_module::XMLNamespace::getAsAttributeString ( ) const

Get the namespace as attribute string, ie "xmlns:prefix=\"uri\"" for serializing

Definition at line 281 of file XMLHelpers.cc.

◆ operator=()

XMLNamespace & ncml_module::XMLNamespace::operator= ( const XMLNamespace & rhs)

Definition at line 263 of file XMLHelpers.cc.

Member Data Documentation

◆ prefix

std::string ncml_module::XMLNamespace::prefix

Definition at line 146 of file XMLHelpers.h.

◆ uri

std::string ncml_module::XMLNamespace::uri

Definition at line 147 of file XMLHelpers.h.


The documentation for this struct was generated from the following files: