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;
219 size_type m_stackSize;
228 #endif // XALAN_RESULTNAMESPACESSTACK_HEADER_GUARD
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
FormatterListener * m_flistener
XalanDeque< OutputContext, ConstructWithMemoryManagerTraits< OutputContext > > OutputContextStackType
const bool & getMustFlushPendingStartDocument() const
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
OutputContextStackType::size_type size_type
bool m_mustFlushPendingStartDocument
FormatterListener * getFormatterListener() const
AttributeListImpl & getPendingAttributes()
bool & getHasPendingStartDocument()
XalanDOMString & getPendingElementName()
bool m_hasPendingStartDocument
FormatterListener *& getFormatterListener()
XalanDOMString m_pendingElementName
OutputContext(MemoryManager &theManager, FormatterListener *theListener=0)
const bool & getHasPendingStartDocument() const
const AttributeListImpl & getPendingAttributes() const
#define XALAN_XSLT_EXPORT
bool & getMustFlushPendingStartDocument()
AttributeListImpl m_pendingAttributes
void clear(XalanDOMString &theString)
Remove all elements from target string.
const XalanDOMString & getPendingElementName() const
Xalan implementation of deque.
OutputContext(const OutputContext &other, MemoryManager &theManager)