bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
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 Typedef Documentation

◆ const_iterator

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

Definition at line 165 of file XMLHelpers.h.

Constructor & Destructor Documentation

◆ XMLNamespaceMap() [1/2]

ncml_module::XMLNamespaceMap::XMLNamespaceMap ( )

Definition at line 295 of file XMLHelpers.cc.

◆ ~XMLNamespaceMap()

ncml_module::XMLNamespaceMap::~XMLNamespaceMap ( )

Definition at line 300 of file XMLHelpers.cc.

◆ XMLNamespaceMap() [2/2]

ncml_module::XMLNamespaceMap::XMLNamespaceMap ( const XMLNamespaceMap & proto)

Definition at line 305 of file XMLHelpers.cc.

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.

◆ begin()

XMLNamespaceMap::const_iterator ncml_module::XMLNamespaceMap::begin ( ) const

Definition at line 341 of file XMLHelpers.cc.

◆ clear()

void ncml_module::XMLNamespaceMap::clear ( )

Definition at line 380 of file XMLHelpers.cc.

◆ empty()

bool ncml_module::XMLNamespaceMap::empty ( ) const

Definition at line 385 of file XMLHelpers.cc.

◆ end()

XMLNamespaceMap::const_iterator ncml_module::XMLNamespaceMap::end ( ) const

Definition at line 346 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.

◆ isInMap()

bool ncml_module::XMLNamespaceMap::isInMap ( const std::string & prefix) const

Definition at line 362 of file XMLHelpers.cc.

◆ operator=()

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

Definition at line 311 of file XMLHelpers.cc.


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