18 #if !defined(NODEREFLIST_HEADER_GUARD_1357924680) 19 #define NODEREFLIST_HEADER_GUARD_1357924680 36 XALAN_CPP_NAMESPACE_BEGIN
57 MemoryManager& theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR);
62 return m_nodeList.getMemoryManager();
73 MemoryManager& theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR);
87 return m_nodeList.empty();
104 checkForDuplicates(MemoryManager& theManager)
const;
121 eDefaultVectorSize = 100
134 m_nodeList.reserve(eDefaultVectorSize > theSize ? eDefaultVectorSize : theSize);
139 #if defined (XALAN_DEVELOPMENT) 148 XALAN_CPP_NAMESPACE_END
152 #endif // NODEREFLIST_HEADER_GUARD_1357924680
MemoryManager & getMemoryManager()
#define XALAN_DEFAULT_CONSTRUCTOR_MEMMGR
Local implementation of NodeRefList.
virtual size_type getLength() const =0
Determine the number of nodes in the list.
virtual XalanNode * item(size_type index) const =0
Returns the indexth item in the collection.
virtual size_type indexOf(const XalanNode *theNode) const =0
Retrieve the zero based index of the node in the list.
XalanVector< XalanNode * > NodeListVectorType
Local implementation of NodeRefList.
NodeRefListBase & operator=(const NodeRefListBase &)
void swap(NodeRefList &theOther)
void ensureAllocation(NodeListVectorType::size_type theSize=0)
Ensure that an allocation is either the default allocation amount, or the amount specified in the par...
#define XALAN_XPATH_EXPORT
NodeListVectorType m_nodeList