18 #if !defined(MUTABLENODEREFLIST_HEADER_GUARD_1357924680) 19 #define MUTABLENODEREFLIST_HEADER_GUARD_1357924680 32 XALAN_CPP_NAMESPACE_BEGIN
57 create(MemoryManager& theManager);
64 MemoryManager& theManager);
73 MemoryManager& theManager);
233 m_nodeList.reserve(theCount);
242 return m_order == eUnknownOrder ? true :
false;
248 m_order = eUnknownOrder;
257 return m_order == eDocumentOrder ? true :
false;
268 m_order = eDocumentOrder;
277 return m_order == eReverseDocumentOrder ? true :
false;
288 m_order = eReverseDocumentOrder;
301 m_executionContext(theExecutionContext)
308 m_list.addNodeInDocOrder(theNode, m_executionContext);
323 const eOrder temp = m_order;
325 m_order = theOther.m_order;
327 theOther.m_order = temp;
335 enum eOrder { eUnknownOrder, eDocumentOrder, eReverseDocumentOrder };
342 XALAN_CPP_NAMESPACE_END
346 #endif // MUTABLENODEREFLIST_HEADER_GUARD_1357924680
Local implementation of MutableNodeRefList.
void operator()(XalanNode *theNode) const
addNodeInDocOrderFunctor(MutableNodeRefList &theList, XPathExecutionContext &theExecutionContext)
void setReverseDocumentOrder()
Set the known order of the nodes.
Local implementation of NodeRefList.
void clear(XalanDOMString &theString)
Remove all elements from target string.
bool getDocumentOrder() const
See if the order of the nodes is document order.
Local implementation of NodeRefList.
void swap(MutableNodeRefList &theOther)
void swap(NodeRefList &theOther)
NodeListVectorType::iterator NodeListIteratorType
NodeRefList & operator=(const NodeRefListBase &theRHS)
#define XALAN_USES_MEMORY_MANAGER(Type)
bool getReverseDocumentOrder() const
See if the order of the nodes is reverse document order.
bool getUnknownOrder() const
See if the order of the nodes is an unknown order.
void reserve(size_type theCount)
Reserve space for the supplied number of nodes.
#define XALAN_XPATH_EXPORT
void setDocumentOrder()
Set the known order of the nodes.