Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions

NodeRefListBase Class Reference

Local implementation of NodeRefList. More...

#include <NodeRefListBase.hpp>

Inherited by NodeRefList, XalanDocumentFragmentNodeRefListBaseProxy, and XNodeSetNodeProxy::Proxy.

List of all members.

Public Types

Public Member Functions

Static Public Attributes

Protected Member Functions


Detailed Description

Local implementation of NodeRefList.

This class is for internal use only.

Definition at line 44 of file NodeRefListBase.hpp.


Member Typedef Documentation

typedef XalanSize_t NodeRefListBase::size_type

Definition at line 53 of file NodeRefListBase.hpp.


Constructor & Destructor Documentation

NodeRefListBase::NodeRefListBase (  ) 
virtual NodeRefListBase::~NodeRefListBase (  )  [virtual]
NodeRefListBase::NodeRefListBase ( const NodeRefListBase  )  [inline, protected]

Definition at line 94 of file NodeRefListBase.hpp.


Member Function Documentation

virtual size_type 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

Implemented in NodeRefList, XalanDocumentFragmentNodeRefListBaseProxy, and XNodeSetNodeProxy::Proxy.

virtual size_type 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

Implemented in NodeRefList, XalanDocumentFragmentNodeRefListBaseProxy, and XNodeSetNodeProxy::Proxy.

virtual XalanNode* NodeRefListBase::item ( size_type  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

Implemented in NodeRefList, XalanDocumentFragmentNodeRefListBaseProxy, and XNodeSetNodeProxy::Proxy.

NodeRefListBase& NodeRefListBase::operator= ( const NodeRefListBase  )  [inline, protected]

Reimplemented in MutableNodeRefList, and NodeRefList.

Definition at line 99 of file NodeRefListBase.hpp.


Member Data Documentation

Definition at line 89 of file NodeRefListBase.hpp.


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++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo