|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
#include <XMLHelpers.h>

Public Types | |
| typedef vector< XMLNamespace >::const_iterator | const_iterator |
Public Member Functions | |
| void | addNamespace (const XMLNamespace &ns) |
| If the given prefix is already in the map, ns REPLACES it. More... | |
| XMLNamespaceMap::const_iterator | begin () const |
| void | clear () |
| bool | empty () const |
| XMLNamespaceMap::const_iterator | end () const |
| XMLNamespaceMap::const_iterator | find (const string &prefix) const |
| Return the iterator to the element or end() if not found. More... | |
| void | fromSAX2Namespaces (const xmlChar **pNamespaces, int numNamespaces) |
| Read them all in from the xmlChar array. More... | |
| string | getAllNamespacesAsAttributeString () const |
| Get a big string full of xmlns:prefix="uri" attributes, separated by spaces. More... | |
| bool | isInMap (const string &prefix) const |
| XMLNamespaceMap & | operator= (const XMLNamespaceMap &rhs) |
| XMLNamespaceMap () | |
| XMLNamespaceMap (const XMLNamespaceMap &proto) | |
| ~XMLNamespaceMap () | |
Definition at line 155 of file XMLHelpers.h.
| typedef vector<XMLNamespace>::const_iterator ncml_module::XMLNamespaceMap::const_iterator |
Definition at line 171 of file XMLHelpers.h.
| ncml_module::XMLNamespaceMap::XMLNamespaceMap | ( | ) |
Definition at line 342 of file XMLHelpers.cc.
| ncml_module::XMLNamespaceMap::~XMLNamespaceMap | ( | ) |
Definition at line 347 of file XMLHelpers.cc.
| ncml_module::XMLNamespaceMap::XMLNamespaceMap | ( | const XMLNamespaceMap & | proto | ) |
Definition at line 352 of file XMLHelpers.cc.
| void ncml_module::XMLNamespaceMap::addNamespace | ( | const XMLNamespace & | ns | ) |
If the given prefix is already in the map, ns REPLACES it.
Definition at line 426 of file XMLHelpers.cc.
References ncml_module::XMLNamespace::prefix.
Referenced by fromSAX2Namespaces().
| XMLNamespaceMap::const_iterator ncml_module::XMLNamespaceMap::begin | ( | ) | const |
Definition at line 394 of file XMLHelpers.cc.
Referenced by find(), and getAllNamespacesAsAttributeString().
| void ncml_module::XMLNamespaceMap::clear | ( | ) |
Definition at line 441 of file XMLHelpers.cc.
Referenced by fromSAX2Namespaces().
| bool ncml_module::XMLNamespaceMap::empty | ( | ) | const |
Definition at line 447 of file XMLHelpers.cc.
| XMLNamespaceMap::const_iterator ncml_module::XMLNamespaceMap::end | ( | ) | const |
Definition at line 400 of file XMLHelpers.cc.
Referenced by find(), getAllNamespacesAsAttributeString(), and isInMap().
| XMLNamespaceMap::const_iterator ncml_module::XMLNamespaceMap::find | ( | const string & | prefix | ) | const |
| void ncml_module::XMLNamespaceMap::fromSAX2Namespaces | ( | const xmlChar ** | pNamespaces, |
| int | numNamespaces | ||
| ) |
Read them all in from the xmlChar array.
Definition at line 369 of file XMLHelpers.cc.
References addNamespace(), clear(), and ncml_module::XMLNamespace::fromSAX2Namespace().

| string ncml_module::XMLNamespaceMap::getAllNamespacesAsAttributeString | ( | ) | const |
Get a big string full of xmlns:prefix="uri" attributes, separated by spaces.
Definition at line 382 of file XMLHelpers.cc.
References begin(), end(), and ncml_module::XMLNamespace::getAsAttributeString().

| bool ncml_module::XMLNamespaceMap::isInMap | ( | const string & | prefix | ) | const |
| XMLNamespaceMap & ncml_module::XMLNamespaceMap::operator= | ( | const XMLNamespaceMap & | rhs | ) |
Definition at line 358 of file XMLHelpers.cc.