16 #if !defined(NODEREFLIST_HEADER_GUARD_1357924680)
17 #define NODEREFLIST_HEADER_GUARD_1357924680
34 XALAN_CPP_NAMESPACE_BEGIN
58 return m_nodeList.getMemoryManager();
81 return m_nodeList.empty();
115 eDefaultVectorSize = 100
128 m_nodeList.reserve(eDefaultVectorSize > theSize ? eDefaultVectorSize : theSize);
133 #if defined (XALAN_DEVELOPMENT)
142 XALAN_CPP_NAMESPACE_END
146 #endif // NODEREFLIST_HEADER_GUARD_1357924680
#define XALAN_DEFAULT_CONSTRACTOR_MEMORY_MGR
Definition: XalanMemoryManagement.hpp:401
Definition: XalanNode.hpp:44
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
Local implementation of NodeRefList.
Definition: NodeRefList.hpp:41
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
Definition: NodeRefList.hpp:101
Local implementation of NodeRefList.
Definition: NodeRefListBase.hpp:42
NodeRefListBase & operator=(const NodeRefListBase &)
Definition: NodeRefListBase.hpp:102
MemoryManagerType & getMemoryManager()
Definition: NodeRefList.hpp:56
void swap(NodeRefList &theOther)
Definition: NodeRefList.hpp:104
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
Definition: XalanMap.hpp:44
size_t size_type
Definition: XalanVector.hpp:71
void ensureAllocation(NodeListVectorType::size_type theSize=0)
Ensure that an allocation is either the default allocation amount, or the amount specified in the par...
Definition: NodeRefList.hpp:126
bool empty() const
Definition: NodeRefList.hpp:79
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:33
NodeListVectorType m_nodeList
Definition: NodeRefList.hpp:131