bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
ncml_module::XMLNamespaceStack Class Reference
Collaboration diagram for ncml_module::XMLNamespaceStack:
Collaboration graph

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
 
XMLNamespaceStackoperator= (const XMLNamespaceStack &rhs)
 
void pop ()
 
void push (const XMLNamespaceMap &nsMap)
 
const XMLNamespaceMaptop () const
 
 XMLNamespaceStack (const XMLNamespaceStack &proto)
 

Detailed Description

Definition at line 192 of file XMLHelpers.h.

Member Typedef Documentation

◆ const_iterator

typedef std::vector<XMLNamespaceMap>::const_reverse_iterator ncml_module::XMLNamespaceStack::const_iterator

Definition at line 207 of file XMLHelpers.h.

Constructor & Destructor Documentation

◆ XMLNamespaceStack() [1/2]

ncml_module::XMLNamespaceStack::XMLNamespaceStack ( )

Definition at line 403 of file XMLHelpers.cc.

◆ ~XMLNamespaceStack()

ncml_module::XMLNamespaceStack::~XMLNamespaceStack ( )

Definition at line 408 of file XMLHelpers.cc.

◆ XMLNamespaceStack() [2/2]

ncml_module::XMLNamespaceStack::XMLNamespaceStack ( const XMLNamespaceStack & proto)

Definition at line 414 of file XMLHelpers.cc.

Member Function Documentation

◆ begin()

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.

◆ clear()

void ncml_module::XMLNamespaceStack::clear ( )

Definition at line 450 of file XMLHelpers.cc.

◆ empty()

bool ncml_module::XMLNamespaceStack::empty ( ) const

Definition at line 445 of file XMLHelpers.cc.

◆ end()

XMLNamespaceStack::const_iterator ncml_module::XMLNamespaceStack::end ( ) const

Definition at line 460 of file XMLHelpers.cc.

◆ getFlattenedNamespacesUsingLexicalScoping()

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)

Parameters
nsFlattenednamespace container (could start !empty() which will contain the flattened namespaces using lexical scoping on the stack.

Definition at line 465 of file XMLHelpers.cc.

◆ operator=()

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

Definition at line 420 of file XMLHelpers.cc.

◆ pop()

void ncml_module::XMLNamespaceStack::pop ( )

Definition at line 434 of file XMLHelpers.cc.

◆ push()

void ncml_module::XMLNamespaceStack::push ( const XMLNamespaceMap & nsMap)

Definition at line 429 of file XMLHelpers.cc.

◆ top()

const XMLNamespaceMap & ncml_module::XMLNamespaceStack::top ( ) const

Definition at line 440 of file XMLHelpers.cc.


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