Local implementation of NodeRefList.
More...
#include <xalanc/XPath/NodeRefList.hpp>
Local implementation of NodeRefList.
This class is for internal use only.
Definition at line 43 of file NodeRefList.hpp.
◆ NodeListVectorType
◆ anonymous enum
◆ NodeRefList() [1/3]
xalanc::NodeRefList::NodeRefList |
( |
MemoryManager &theManager |
XALAN_DEFAULT_CONSTRUCTOR_MEMMGR | ) |
|
|
explicit |
◆ NodeRefList() [2/3]
xalanc::NodeRefList::NodeRefList |
( |
const NodeRefList & |
theSource, |
|
|
MemoryManager &theManager |
XALAN_DEFAULT_CONSTRUCTOR_MEMMGR |
|
) |
| |
Construct a node list from another.
- Parameters
-
theSource | source node list |
◆ NodeRefList() [3/3]
xalanc::NodeRefList::NodeRefList |
( |
const NodeRefListBase & |
theSource, |
|
|
MemoryManager &theManager |
XALAN_DEFAULT_CONSTRUCTOR_MEMMGR |
|
) |
| |
|
explicit |
Construct a node list from another.
- Parameters
-
theSource | source node list |
◆ ~NodeRefList()
virtual xalanc::NodeRefList::~NodeRefList |
( |
| ) |
|
|
virtual |
◆ checkForDuplicates()
bool xalanc::NodeRefList::checkForDuplicates |
( |
MemoryManager & |
theManager | ) |
const |
◆ empty()
bool xalanc::NodeRefList::empty |
( |
| ) |
const |
|
inline |
◆ ensureAllocation()
Ensure that an allocation is either the default allocation amount, or the amount specified in the parameter, whichever is larger.
- Parameters
-
theSize | The requested size. |
Definition at line 132 of file NodeRefList.hpp.
◆ getLength()
virtual size_type xalanc::NodeRefList::getLength |
( |
| ) |
const |
|
virtual |
Determine the number of nodes in the list.
The range of valid child node indices is 0 to length-1
inclusive.
- Returns
- number of nodes
Implements xalanc::NodeRefListBase.
◆ getMemoryManager()
MemoryManager& xalanc::NodeRefList::getMemoryManager |
( |
| ) |
|
|
inline |
◆ indexOf()
Retrieve the zero based index of the node in the list.
- Parameters
-
theNode | node whose index to find |
- Returns
- index of node
Implements xalanc::NodeRefListBase.
◆ item()
Returns the index
th item in the collection.
If index
is greater than or equal to the number of nodes in the list, this returns null
.
- Parameters
-
index | index into the collection |
- Returns
- node at the
index
th position in the NodeList
, or null
if that is not a valid index
Implements xalanc::NodeRefListBase.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ swap()
void xalanc::NodeRefList::swap |
( |
NodeRefList & |
theOther | ) |
|
|
inline |
◆ m_nodeList
The documentation for this class was generated from the following file: