bes
Updated for version 3.20.6
|
Public Types | |
typedef std::vector< XMLNamespaceMap >::const_reverse_iterator | const_iterator |
Public Member Functions | |
XMLNamespaceStack::const_iterator | begin () const |
void | clear () |
bool | empty () const |
XMLNamespaceStack::const_iterator | end () const |
void | getFlattenedNamespacesUsingLexicalScoping (XMLNamespaceMap &nsFlattened) const |
XMLNamespaceStack & | operator= (const XMLNamespaceStack &rhs) |
void | pop () |
void | push (const XMLNamespaceMap &nsMap) |
const XMLNamespaceMap & | top () const |
XMLNamespaceStack (const XMLNamespaceStack &proto) | |
Definition at line 192 of file XMLHelpers.h.
XMLNamespaceStack::const_iterator ncml_module::XMLNamespaceStack::begin | ( | ) | const |
Starts from the top (most recently pushed) and iterates to the bottom (first pushed).
Definition at line 455 of file XMLHelpers.cc.
void ncml_module::XMLNamespaceStack::getFlattenedNamespacesUsingLexicalScoping | ( | XMLNamespaceMap & | nsFlattened | ) | const |
Scanning from the stack top downwards, add the first found new XMLNamespace (in terms of its prefix) into nsFlattened until the stack bottom is reached. Effectively finds all the namespaces visible on the stack currently. Note: Doesn't clear the nsFlattened, so it can be "seeded" with namespaces that should be shadowed on the stack (ie a local element's namespaces)
nsFlattened | namespace container (could start !empty() which will contain the flattened namespaces using lexical scoping on the stack. |
Definition at line 465 of file XMLHelpers.cc.