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

#include <xalanc/XalanDOM/XalanNodeListSurrogate.hpp>

Inheritance diagram for xalanc::XalanNodeListSurrogate:
[legend]
Collaboration diagram for xalanc::XalanNodeListSurrogate:
[legend]

Public Member Functions

 XalanNodeListSurrogate (const XalanNode &theNode)
 
 XalanNodeListSurrogate (const XalanNodeListSurrogate &theSource)
 
virtual ~XalanNodeListSurrogate ()
 
XalanNodeListSurrogateoperator= (const XalanNodeListSurrogate &theSource)
 
bool operator== (const XalanNodeListSurrogate &theRHS) const
 
virtual XalanNodeitem (XalanSize_t index) const
 Returns the indexth item in the collection. More...
 
virtual XalanSize_t getLength () const
 Returns the number of nodes in the list. More...
 
- Public Member Functions inherited from xalanc::XalanNodeList
 XalanNodeList ()
 
virtual ~XalanNodeList ()
 

Additional Inherited Members

- Protected Member Functions inherited from xalanc::XalanNodeList
 XalanNodeList (const XalanNodeList &theSource)
 
XalanNodeListoperator= (const XalanNodeList &theSource)
 
bool operator== (const XalanNodeList &theRHS) const
 

Detailed Description

Definition at line 47 of file XalanNodeListSurrogate.hpp.

Constructor & Destructor Documentation

◆ XalanNodeListSurrogate() [1/2]

xalanc::XalanNodeListSurrogate::XalanNodeListSurrogate ( const XalanNode theNode)

◆ XalanNodeListSurrogate() [2/2]

xalanc::XalanNodeListSurrogate::XalanNodeListSurrogate ( const XalanNodeListSurrogate theSource)

◆ ~XalanNodeListSurrogate()

virtual xalanc::XalanNodeListSurrogate::~XalanNodeListSurrogate ( )
virtual

Member Function Documentation

◆ getLength()

virtual XalanSize_t xalanc::XalanNodeListSurrogate::getLength ( ) const
virtual

Returns the number of nodes in the list.

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

Implements xalanc::XalanNodeList.

◆ item()

virtual XalanNode* xalanc::XalanNodeListSurrogate::item ( XalanSize_t  index) const
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.

Implements xalanc::XalanNodeList.

◆ operator=()

XalanNodeListSurrogate& xalanc::XalanNodeListSurrogate::operator= ( const XalanNodeListSurrogate theSource)
inline

Definition at line 59 of file XalanNodeListSurrogate.hpp.

◆ operator==()

bool xalanc::XalanNodeListSurrogate::operator== ( const XalanNodeListSurrogate theRHS) const
inline

Definition at line 69 of file XalanNodeListSurrogate.hpp.


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