Xalan-C++ API Reference  1.12.0
Public Member Functions | List of all members
xalanc::XalanNodeList Class Referenceabstract

#include <xalanc/XalanDOM/XalanNodeList.hpp>

Inheritance diagram for xalanc::XalanNodeList:
[legend]

Public Member Functions

 XalanNodeList ()
 
virtual ~XalanNodeList ()
 

Get functions.

virtual XalanNodeitem (XalanSize_t index) const =0
 Returns the indexth item in the collection. More...
 
virtual XalanSize_t getLength () const =0
 Returns the number of nodes in the list. More...
 
 XalanNodeList (const XalanNodeList &theSource)
 
XalanNodeListoperator= (const XalanNodeList &theSource)
 
bool operator== (const XalanNodeList &theRHS) const
 

Detailed Description

Definition at line 36 of file XalanNodeList.hpp.

Constructor & Destructor Documentation

◆ XalanNodeList() [1/2]

xalanc::XalanNodeList::XalanNodeList ( )

◆ ~XalanNodeList()

virtual xalanc::XalanNodeList::~XalanNodeList ( )
virtual

◆ XalanNodeList() [2/2]

xalanc::XalanNodeList::XalanNodeList ( const XalanNodeList theSource)
protected

Member Function Documentation

◆ getLength()

virtual XalanSize_t xalanc::XalanNodeList::getLength ( ) const
pure virtual

Returns the number of nodes in the list.

The range of valid child node indices is 0 to length-1 inclusive.

Implemented in xalanc::XercesNodeListBridge, xalanc::XalanNodeListSurrogate, xalanc::XercesNodeListWrapper, and xalanc::XalanNodeListDummy.

◆ item()

virtual XalanNode* xalanc::XalanNodeList::item ( XalanSize_t  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
indexIndex into the collection.
Returns
The node at the indexth position in the NodeList, or null if that is not a valid index.

Implemented in xalanc::XalanNodeListSurrogate, xalanc::XercesNodeListWrapper, and xalanc::XalanNodeListDummy.

◆ operator=()

XalanNodeList& xalanc::XalanNodeList::operator= ( const XalanNodeList theSource)
protected

◆ operator==()

bool xalanc::XalanNodeList::operator== ( const XalanNodeList theRHS) const
protected

The documentation for this class was generated from the following file: