18#if !defined(XALAN_OUTPUTCONTEXTSTACK_HEADER_GUARD)
19#define XALAN_OUTPUTCONTEXTSTACK_HEADER_GUARD
45class 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;
#define XALAN_XSLT_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
bool & getHasPendingStartDocument()
const AttributeListImpl & getPendingAttributes() const
XalanDOMString & getPendingElementName()
void pushContext(FormatterListener *theListener=0)
OutputContextStack(MemoryManager &theManager)
const bool & getHasPendingStartDocument() const
const bool & getMustFlushPendingStartDocument() const
bool & getMustFlushPendingStartDocument()
FormatterListener *& getFormatterListener()
OutputContextStackType::size_type size_type
FormatterListener * getFormatterListener() const
const XalanDOMString & getPendingElementName() const
AttributeListImpl & getPendingAttributes()
XalanDeque< OutputContext, ConstructWithMemoryManagerTraits< OutputContext > > OutputContextStackType
Xalan implementation of deque.
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
bool m_mustFlushPendingStartDocument
OutputContext(MemoryManager &theManager, FormatterListener *theListener=0)
OutputContext(const OutputContext &other, MemoryManager &theManager)
XalanDOMString m_pendingElementName
bool m_hasPendingStartDocument
FormatterListener * m_flistener
AttributeListImpl m_pendingAttributes