16 #if !defined(XALAN_OUTPUTCONTEXTSTACK_HEADER_GUARD)
17 #define XALAN_OUTPUTCONTEXTSTACK_HEADER_GUARD
39 XALAN_CPP_NAMESPACE_BEGIN
55 m_flistener(theListener),
56 m_pendingAttributes(theManager),
57 m_pendingElementName(theManager),
58 m_hasPendingStartDocument(false),
59 m_mustFlushPendingStartDocument(false)
65 m_flistener(other.m_flistener),
66 m_pendingAttributes(other.m_pendingAttributes , theManager),
67 m_pendingElementName(other.m_pendingElementName , theManager),
68 m_hasPendingStartDocument(other.m_hasPendingStartDocument),
69 m_mustFlushPendingStartDocument(other.m_mustFlushPendingStartDocument)
82 m_pendingAttributes.clear();
84 m_pendingElementName.clear();
86 m_hasPendingStartDocument =
false;
88 m_mustFlushPendingStartDocument =
false;
120 return (*m_stackPosition).m_flistener;
126 return (*m_stackPosition).m_flistener;
132 return (*m_stackPosition).m_pendingAttributes;
138 return (*m_stackPosition).m_pendingAttributes;
144 return (*m_stackPosition).m_pendingElementName;
150 return (*m_stackPosition).m_pendingElementName;
156 return (*m_stackPosition).m_hasPendingStartDocument;
162 return (*m_stackPosition).m_hasPendingStartDocument;
168 return (*m_stackPosition).m_mustFlushPendingStartDocument;
174 return (*m_stackPosition).m_mustFlushPendingStartDocument;
190 return size() == 0 ?
true :
false;
213 OutputContextStackType m_stack;
215 OutputContextStackType::iterator m_stackPosition;
222 XALAN_CPP_NAMESPACE_END
226 #endif // XALAN_RESULTNAMESPACESSTACK_HEADER_GUARD
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1111
bool & getMustFlushPendingStartDocument()
Definition: OutputContextStack.hpp:172
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
XalanDeque< OutputContext, ConstructWithMemoryManagerTraits< OutputContext > > OutputContextStackType
Definition: OutputContextStack.hpp:102
XalanDOMString & getPendingElementName()
Definition: OutputContextStack.hpp:148
FormatterListener * getFormatterListener() const
Definition: OutputContextStack.hpp:118
Definition: AttributeListImpl.hpp:47
Definition: OutputContextStack.hpp:51
bool empty() const
Definition: OutputContextStack.hpp:188
AttributeListImpl & getPendingAttributes()
Definition: OutputContextStack.hpp:136
~OutputContext()
Definition: OutputContextStack.hpp:73
void clear(XalanDOMString &theString)
Remove all elements from target string.
Definition: DOMStringHelper.hpp:2291
bool & getHasPendingStartDocument()
Definition: OutputContextStack.hpp:160
FormatterListener * m_flistener
Definition: OutputContextStack.hpp:91
size_type size() const
Definition: OutputContextStack.hpp:178
size_t size_type
Definition: XalanDeque.hpp:165
OutputContext(MemoryManagerType &theManager, FormatterListener *theListener=0)
Definition: OutputContextStack.hpp:53
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
Definition: XalanMap.hpp:44
#define XALAN_XSLT_EXPORT
Definition: XSLTDefinitions.hpp:25
AttributeListImpl m_pendingAttributes
Definition: OutputContextStack.hpp:93
bool m_hasPendingStartDocument
Definition: OutputContextStack.hpp:97
Definition: OutputContextStack.hpp:47
const bool & getHasPendingStartDocument() const
Definition: OutputContextStack.hpp:154
OutputContextStackType::size_type size_type
Definition: OutputContextStack.hpp:104
Definition: XalanDOMString.hpp:42
OutputContext(const OutputContext &other, MemoryManagerType &theManager)
Definition: OutputContextStack.hpp:63
const bool & getMustFlushPendingStartDocument() const
Definition: OutputContextStack.hpp:166
void reset()
Definition: OutputContextStack.hpp:78
const AttributeListImpl & getPendingAttributes() const
Definition: OutputContextStack.hpp:130
bool m_mustFlushPendingStartDocument
Definition: OutputContextStack.hpp:99
FormatterListener *& getFormatterListener()
Definition: OutputContextStack.hpp:124
XalanDOMString m_pendingElementName
Definition: OutputContextStack.hpp:95
Xalan implementation of deque.
Definition: XalanDeque.hpp:160
Definition: XalanDeque.hpp:59
const XalanDOMString & getPendingElementName() const
Definition: OutputContextStack.hpp:142