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  

NodeRefListBase Class Reference

Local implementation of NodeRefList. More...

#include <NodeRefListBase.hpp>

Inheritance diagram for NodeRefListBase

Inheritance graph

[legend]
List of all members.

Public Methods

Static Public Attributes

Protected Methods


Detailed Description

Local implementation of NodeRefList.

This class is for internal use only.


Constructor & Destructor Documentation

NodeRefListBase::NodeRefListBase ( )
 

virtual NodeRefListBase::~NodeRefListBase ( ) [virtual]
 

NodeRefListBase::NodeRefListBase ( const NodeRefListBase & ) [protected]
 


Member Function Documentation

unsigned int NodeRefListBase::getLength ( ) const [pure 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 in NodeRefList, and XResultTreeFrag::NodeRefListBaseProxy.

unsigned int NodeRefListBase::indexOf ( const XalanNode * theNode ) const [pure virtual]
 

Retrieve the zero based index of the node in the list.

Parameters:
theNode   node whose index to find
Returns:
index of node

Reimplemented in NodeRefList, and XResultTreeFrag::NodeRefListBaseProxy.

XalanNode * NodeRefListBase::item ( unsigned int index ) const [pure virtual]
 

Returns the indexth 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 indexth position in the NodeList, or null if that is not a valid index

Reimplemented in NodeRefList, and XResultTreeFrag::NodeRefListBaseProxy.

NodeRefListBase & NodeRefListBase::operator= ( const NodeRefListBase & theRHS ) [protected]
 

Reimplemented in MutableNodeRefList, and NodeRefList.


Member Data Documentation

const unsigned int NodeRefListBase::npos [static]
 


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.