Main Page Modules Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# ACEXML_Namespace_Context_Stack Class Reference

ACEXML_Namespace_Context_Stack implements a simple stack that ACEXML_NamespaceSupport uses to keep track of namespace scopes. More...

`#include "ACEXML/common/NamespaceSupport.h"`

List of all members.

## Public Methods
| ACEXML_Namespace_Context_Stack (void)
| Default constructor. More...
| ~ACEXML_Namespace_Context_Stack (void)
| Destructor. More...
int | push (ACEXML_NS_CONTEXT *old)
| Push the old namespace before entering into a new namespace scope. More...
ACEXML_NS_CONTEXT * | pop (void)
| Pop the old namespace when exiting a namespace scope. More...
## Private Attributes
NS_Node_T * | head_
| Anchor point for head of stack. More...

## Detailed Description

ACEXML_Namespace_Context_Stack implements a simple stack that ACEXML_NamespaceSupport uses to keep track of namespace scopes.

See also:
  ACEXML_NamespaceSupport

## Constructor & Destructor Documentation

ACEXML_Namespace_Context_Stack::ACEXML_Namespace_Context_Stack | ( | void |  | ) |

| Default constructor.

ACEXML_Namespace_Context_Stack::~ACEXML_Namespace_Context_Stack | ( | void |  | ) |

| Destructor.

## Member Function Documentation

ACEXML_NS_CONTEXT * ACEXML_Namespace_Context_Stack::pop | ( | void |  | ) |

| Pop the old namespace when exiting a namespace scope.

int ACEXML_Namespace_Context_Stack::push | ( | ACEXML_NS_CONTEXT * | nsc | ) |

| Push the old namespace before entering into a new namespace scope.

## Member Data Documentation

NS_Node_T* ACEXML_Namespace_Context_Stack::head_`[private]`

| Anchor point for head of stack.

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

- NamespaceSupport.h
- NamespaceSupport.cpp