16 #if !defined(MUTABLENODEREFLIST_HEADER_GUARD_1357924680)
17 #define MUTABLENODEREFLIST_HEADER_GUARD_1357924680
30 XALAN_CPP_NAMESPACE_BEGIN
231 m_nodeList.reserve(theCount);
240 return m_order == eUnknownOrder ?
true :
false;
246 m_order = eUnknownOrder;
255 return m_order == eDocumentOrder ?
true :
false;
266 m_order = eDocumentOrder;
275 return m_order == eReverseDocumentOrder ?
true :
false;
286 m_order = eReverseDocumentOrder;
299 m_executionContext(theExecutionContext)
306 m_list.addNodeInDocOrder(theNode, m_executionContext);
321 const eOrder temp = m_order;
323 m_order = theOther.m_order;
325 theOther.m_order = temp;
333 enum eOrder { eUnknownOrder, eDocumentOrder, eReverseDocumentOrder };
340 XALAN_CPP_NAMESPACE_END
344 #endif // MUTABLENODEREFLIST_HEADER_GUARD_1357924680
Definition: XalanNode.hpp:44
Definition: XalanNodeList.hpp:42
Local implementation of MutableNodeRefList.
Definition: MutableNodeRefList.hpp:44
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
bool getUnknownOrder() const
See if the order of the nodes is an unknown order.
Definition: MutableNodeRefList.hpp:238
addNodeInDocOrderFunctor(MutableNodeRefList &theList, XPathExecutionContext &theExecutionContext)
Definition: MutableNodeRefList.hpp:295
value_type * iterator
Definition: XalanVector.hpp:91
void operator()(XalanNode *theNode) const
Definition: MutableNodeRefList.hpp:304
void setReverseDocumentOrder()
Set the known order of the nodes.
Definition: MutableNodeRefList.hpp:284
Local implementation of NodeRefList.
Definition: NodeRefList.hpp:41
void clear(XalanDOMString &theString)
Remove all elements from target string.
Definition: DOMStringHelper.hpp:2291
Definition: MutableNodeRefList.hpp:291
Definition: XPathExecutionContext.hpp:72
Local implementation of NodeRefList.
Definition: NodeRefListBase.hpp:42
bool getReverseDocumentOrder() const
See if the order of the nodes is reverse document order.
Definition: MutableNodeRefList.hpp:273
void swap(MutableNodeRefList &theOther)
Definition: MutableNodeRefList.hpp:317
void swap(NodeRefList &theOther)
Definition: NodeRefList.hpp:104
bool getDocumentOrder() const
See if the order of the nodes is document order.
Definition: MutableNodeRefList.hpp:253
NodeListVectorType::iterator NodeListIteratorType
Definition: MutableNodeRefList.hpp:289
Definition: XalanDocument.hpp:51
void setUnknownOrder()
Definition: MutableNodeRefList.hpp:244
NodeRefList & operator=(const NodeRefListBase &theRHS)
#define XALAN_USES_MEMORY_MANAGER(Type)
Definition: XalanMemoryManagement.hpp:468
unsigned int size_type
Definition: NodeRefListBase.hpp:56
void reserve(size_type theCount)
Reserve space for the supplied number of nodes.
Definition: MutableNodeRefList.hpp:229
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:33
void setDocumentOrder()
Set the known order of the nodes.
Definition: MutableNodeRefList.hpp:264