Xalan-C++ API Documentation
Xalan-C++ API Documentation
The Xalan C++ XSL Transformer Version 1.1
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
NodeRefList Class Reference
Local implementation of NodeRefList.
More...
#include <NodeRefList.hpp>
Inheritance diagram for NodeRefList
[legend]Collaboration diagram for NodeRefList:
[legend]List of all members.Public Types
Public Methods
Protected Types
Protected Methods
- void ensureAllocation (NodeListVectorType::size_type theSize = 0)
- Ensure that an allocation is either the default allocation amount, or the amount specified in the parameter, whichever is larger. More...
Protected Attributes
Detailed Description
Local implementation of NodeRefList.
This class is for internal use only.
Member Typedef Documentation
typedef std::vector<XalanNode*> NodeRefList::NodeListVectorType
|
|
Member Enumeration Documentation
anonymous enum [protected]
|
|
Constructor & Destructor Documentation
NodeRefList::NodeRefList (
|
) [explicit]
|
|
NodeRefList::NodeRefList (
|
const NodeRefList & theSource )
|
|
|
Construct a node list from another.
-
Parameters:
-
theSource
|
source node list |
|
|
Construct a node list from another.
-
Parameters:
-
theSource
|
source node list |
|
virtual NodeRefList::~NodeRefList (
|
) [virtual]
|
|
Member Function Documentation
bool NodeRefList::checkForDuplicates (
|
) const
|
|
void NodeRefList::ensureAllocation (
|
NodeListVectorType::size_type theSize = 0 ) [protected]
|
|
|
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. |
|
virtual unsigned int 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
Reimplemented from NodeRefListBase. |
virtual unsigned int NodeRefList::indexOf (
|
const XalanNode * theNode ) const [virtual]
|
|
|
Retrieve the zero based index of the node in the list.
-
Parameters:
-
theNode
|
node whose index to find |
-
Returns:
-
index of node
Reimplemented from NodeRefListBase. |
virtual XalanNode* NodeRefList::item (
|
unsigned int index ) const [virtual]
|
|
|
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
Reimplemented from NodeRefListBase. |
NodeRefList& NodeRefList::operator= (
|
const NodeRefList & theRHS )
|
|
Member Data Documentation
The documentation for this class was generated from the following file:
Interpreting class diagrams
Doxygen and
GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSL Transformer Version 1.1
Copyright © 2000, 2001 The Apache Software Foundation. All Rights Reserved.
|
|