Local implementation of NodeRefList.
More...
#include <NodeRefList.hpp>
Inherits NodeRefListBase.
Inherited by MutableNodeRefList.
Local implementation of NodeRefList.
This class is for internal use only.
Definition at line 43 of file NodeRefList.hpp.
NodeRefList::NodeRefList |
( |
MemoryManager &theManager |
XALAN_DEFAULT_CONSTRUCTOR_MEMMGR) | |
|
|
explicit |
NodeRefList::NodeRefList |
( |
const NodeRefList & |
theSource, |
|
|
MemoryManager &theManager |
XALAN_DEFAULT_CONSTRUCTOR_MEMMGR |
|
) |
| |
Construct a node list from another.
- Parameters
-
theSource | source node list |
NodeRefList::NodeRefList |
( |
const NodeRefListBase & |
theSource, |
|
|
MemoryManager &theManager |
XALAN_DEFAULT_CONSTRUCTOR_MEMMGR |
|
) |
| |
|
explicit |
Construct a node list from another.
- Parameters
-
theSource | source node list |
virtual NodeRefList::~NodeRefList |
( |
) | |
|
|
virtual |
bool NodeRefList::checkForDuplicates |
( |
MemoryManager & |
theManager) | |
const |
bool NodeRefList::empty |
( |
) | |
const |
|
inline |
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.
virtual size_type 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 NodeRefListBase.
MemoryManager& NodeRefList::getMemoryManager |
( |
) | |
|
|
inline |
Retrieve the zero based index of the node in the list.
- Parameters
-
theNode | node whose index to find |
- Returns
- index of node
Implements NodeRefListBase.
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 NodeRefListBase.
The documentation for this class was generated from the following file: