 |
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
18 #if !defined(NODEREFLIST_HEADER_GUARD_1357924680)
19 #define NODEREFLIST_HEADER_GUARD_1357924680
62 return m_nodeList.getMemoryManager();
87 return m_nodeList.empty();
121 eDefaultVectorSize = 100
134 m_nodeList.reserve(eDefaultVectorSize > theSize ? eDefaultVectorSize : theSize);
139 #if defined (XALAN_DEVELOPMENT)
152 #endif // NODEREFLIST_HEADER_GUARD_1357924680
NodeRefList(MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
virtual XalanNode * item(size_type index) const
Returns the indexth item in the collection.
bool checkForDuplicates(MemoryManager &theManager) const
NodeRefList & operator=(const NodeRefList &theRHS)
virtual size_type indexOf(const XalanNode *theNode) const
Retrieve the zero based index of the node in the list.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
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
NodeRefList & operator=(const NodeRefListBase &theRHS)
Local implementation of NodeRefList.
#define XALAN_XPATH_EXPORT
virtual size_type getLength() const
Determine the number of nodes in the list.
void swap(NodeRefList &theOther)
MemoryManager & getMemoryManager()
NodeRefList(const NodeRefList &theSource, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
Construct a node list from another.
Local implementation of NodeRefList.
NodeRefList(const NodeRefListBase &theSource, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
Construct a node list from another.
XalanVector< XalanNode * > NodeListVectorType
#define XALAN_DEFAULT_CONSTRUCTOR_MEMMGR