18#if !defined(NODEREFLIST_HEADER_GUARD_1357924680)
19#define NODEREFLIST_HEADER_GUARD_1357924680
62 return m_nodeList.getMemoryManager();
87 return m_nodeList.empty();
112 m_nodeList.swap(
theOther.m_nodeList);
121 eDefaultVectorSize = 100
134 m_nodeList.reserve(eDefaultVectorSize >
theSize ? eDefaultVectorSize :
theSize);
139#if defined (XALAN_DEVELOPMENT)
#define XALAN_XPATH_EXPORT
#define XALAN_DEFAULT_CONSTRUCTOR_MEMMGR
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Local implementation of NodeRefList.
Local implementation of NodeRefList.
virtual size_type indexOf(const XalanNode *theNode) const
Retrieve the zero based index of the node in the list.
NodeRefList(const NodeRefList &theSource, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
Construct a node list from another.
void ensureAllocation(NodeListVectorType::size_type theSize=0)
Ensure that an allocation is either the default allocation amount, or the amount specified in the par...
NodeListVectorType m_nodeList
XalanVector< XalanNode * > NodeListVectorType
virtual size_type getLength() const
Determine the number of nodes in the list.
bool checkForDuplicates(MemoryManager &theManager) const
NodeRefList & operator=(const NodeRefList &theRHS)
MemoryManager & getMemoryManager()
NodeRefList(const NodeRefListBase &theSource, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
Construct a node list from another.
NodeRefList(MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
void swap(NodeRefList &theOther)
NodeRefList & operator=(const NodeRefListBase &theRHS)
virtual XalanNode * item(size_type index) const
Returns the indexth item in the collection.