18 #if !defined(XALAN_OUTPUTCONTEXTSTACK_HEADER_GUARD)
19 #define XALAN_OUTPUTCONTEXTSTACK_HEADER_GUARD
45 class FormatterListener;
57 m_flistener(theListener),
58 m_pendingAttributes(theManager),
59 m_pendingElementName(theManager),
60 m_hasPendingStartDocument(false),
61 m_mustFlushPendingStartDocument(false)
66 MemoryManager& theManager) :
67 m_flistener(other.m_flistener),
68 m_pendingAttributes(other.m_pendingAttributes , theManager),
69 m_pendingElementName(other.m_pendingElementName , theManager),
70 m_hasPendingStartDocument(other.m_hasPendingStartDocument),
71 m_mustFlushPendingStartDocument(other.m_mustFlushPendingStartDocument)
84 m_pendingAttributes.clear();
86 m_pendingElementName.clear();
88 m_hasPendingStartDocument =
false;
90 m_mustFlushPendingStartDocument =
false;
122 return (*m_stackPosition).m_flistener;
128 return (*m_stackPosition).m_flistener;
134 return (*m_stackPosition).m_pendingAttributes;
140 return (*m_stackPosition).m_pendingAttributes;
146 return (*m_stackPosition).m_pendingElementName;
152 return (*m_stackPosition).m_pendingElementName;
158 return (*m_stackPosition).m_hasPendingStartDocument;
164 return (*m_stackPosition).m_hasPendingStartDocument;
170 return (*m_stackPosition).m_mustFlushPendingStartDocument;
176 return (*m_stackPosition).m_mustFlushPendingStartDocument;
192 return size() == 0 ? true :
false;
215 OutputContextStackType m_stack;
217 OutputContextStackType::iterator m_stackPosition;
228 #endif // XALAN_RESULTNAMESPACESSTACK_HEADER_GUARD