bes  Updated for version 3.20.6
ncml_module::XMLNamespaceMap Class Reference
Collaboration diagram for ncml_module::XMLNamespaceMap:
Collaboration graph

Public Types

typedef std::vector< XMLNamespace >::const_iterator const_iterator
 

Public Member Functions

void addNamespace (const XMLNamespace &ns)
 
XMLNamespaceMap::const_iterator begin () const
 
void clear ()
 
bool empty () const
 
XMLNamespaceMap::const_iterator end () const
 
XMLNamespaceMap::const_iterator find (const std::string &prefix) const
 
void fromSAX2Namespaces (const xmlChar **pNamespaces, int numNamespaces)
 
std::string getAllNamespacesAsAttributeString () const
 
bool isInMap (const std::string &prefix) const
 
XMLNamespaceMapoperator= (const XMLNamespaceMap &rhs)
 
 XMLNamespaceMap (const XMLNamespaceMap &proto)
 

Detailed Description

Definition at line 150 of file XMLHelpers.h.

Member Function Documentation

◆ addNamespace()

void ncml_module::XMLNamespaceMap::addNamespace ( const XMLNamespace ns)

If the given prefix is already in the map, ns REPLACES it

Definition at line 367 of file XMLHelpers.cc.

◆ find()

XMLNamespaceMap::const_iterator ncml_module::XMLNamespaceMap::find ( const std::string &  prefix) const

Return the iterator to the element or end() if not found.

Definition at line 351 of file XMLHelpers.cc.

◆ fromSAX2Namespaces()

void ncml_module::XMLNamespaceMap::fromSAX2Namespaces ( const xmlChar **  pNamespaces,
int  numNamespaces 
)

Read them all in from the xmlChar array.

Definition at line 320 of file XMLHelpers.cc.

◆ getAllNamespacesAsAttributeString()

string ncml_module::XMLNamespaceMap::getAllNamespacesAsAttributeString ( ) const

Get a big string full of xmlns:prefix="uri" attributes, separated by spaces.

Definition at line 331 of file XMLHelpers.cc.


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