# 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>`

Collaboration diagram for ACEXML_Namespace_Context_Stack:

[legend]
List of all members.

## Public Member Functions

| ACEXML_Namespace_Context_Stack (void)
| Default constructor.
| ~ACEXML_Namespace_Context_Stack (void)
| Destructor.
int | push (ACEXML_NS_CONTEXT *old)
| Push the old namespace before entering into a new namespace scope.
ACEXML_NS_CONTEXT * | pop (void)
| Pop the old namespace when exiting a namespace scope.

## Private Attributes

ACE_Unbounded_Stack< ACEXML_NS_CONTEXT * > | stack_
| Internal stack structure to hold namespace context.

## 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 * | old | ) |

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

## Member Data Documentation

ACE_Unbounded_Stack<ACEXML_NS_CONTEXT*> ACEXML_Namespace_Context_Stack::stack_`[private]`

| Internal stack structure to hold namespace context.

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

- NamespaceSupport.h
- NamespaceSupport.cpp