OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
ncml_module::XMLNamespace Struct Reference

#include <XMLHelpers.h>

Collaboration diagram for ncml_module::XMLNamespace:
Collaboration graph

Public Member Functions

void fromSAX2Namespace (const xmlChar **namespaces)
 Assuming the pointer is an array of two strings: {prefix, uri}. More...
 
string getAsAttributeString () const
 Get the namespace as attribute string, ie "xmlns:prefix=\"uri"" for serializing. More...
 
XMLNamespaceoperator= (const XMLNamespace &rhs)
 
 XMLNamespace (const string &prefix="", const string &uri="")
 
 XMLNamespace (const XMLNamespace &proto)
 

Public Attributes

string prefix
 
string uri
 

Detailed Description

Definition at line 139 of file XMLHelpers.h.

Constructor & Destructor Documentation

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

Definition at line 293 of file XMLHelpers.cc.

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

Definition at line 299 of file XMLHelpers.cc.

Member Function Documentation

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

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

Definition at line 319 of file XMLHelpers.cc.

References prefix, uri, and ncml_module::XMLUtil::xmlCharToString().

Referenced by ncml_module::XMLNamespaceMap::fromSAX2Namespaces().

Here is the call graph for this function:

string ncml_module::XMLNamespace::getAsAttributeString ( ) const

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

Definition at line 327 of file XMLHelpers.cc.

References prefix, and uri.

Referenced by ncml_module::XMLNamespaceMap::getAllNamespacesAsAttributeString().

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

Definition at line 306 of file XMLHelpers.cc.

References prefix, and uri.

Member Data Documentation

string ncml_module::XMLNamespace::prefix
string ncml_module::XMLNamespace::uri

Definition at line 152 of file XMLHelpers.h.

Referenced by fromSAX2Namespace(), getAsAttributeString(), and operator=().


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