18 #if !defined(XALAN_OUTPUTCONTEXTSTACK_HEADER_GUARD) 19 #define XALAN_OUTPUTCONTEXTSTACK_HEADER_GUARD 41 XALAN_CPP_NAMESPACE_BEGIN
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;
219 size_type m_stackSize;
224 XALAN_CPP_NAMESPACE_END
228 #endif // XALAN_RESULTNAMESPACESSTACK_HEADER_GUARD
bool & getMustFlushPendingStartDocument()
XalanDeque< OutputContext, ConstructWithMemoryManagerTraits< OutputContext > > OutputContextStackType
XalanDOMString & getPendingElementName()
OutputContext(MemoryManager &theManager, FormatterListener *theListener=0)
AttributeListImpl & getPendingAttributes()
FormatterListener * getFormatterListener() const
void clear(XalanDOMString &theString)
Remove all elements from target string.
bool & getHasPendingStartDocument()
const bool & getHasPendingStartDocument() const
FormatterListener * m_flistener
const XalanDOMString & getPendingElementName() const
OutputContext(const OutputContext &other, MemoryManager &theManager)
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
const bool & getMustFlushPendingStartDocument() const
#define XALAN_XSLT_EXPORT
AttributeListImpl m_pendingAttributes
bool m_hasPendingStartDocument
OutputContextStackType::size_type size_type
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
const AttributeListImpl & getPendingAttributes() const
bool m_mustFlushPendingStartDocument
FormatterListener *& getFormatterListener()
XalanDOMString m_pendingElementName
Xalan implementation of deque.