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

#include <xalanc/XPath/XalanDocumentFragmentNodeRefListBaseProxy.hpp>

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

Public Member Functions

 XalanDocumentFragmentNodeRefListBaseProxy (const XalanDocumentFragment &value)
 Construct an instance from a document fragment. More...
 
 XalanDocumentFragmentNodeRefListBaseProxy (const XalanDocumentFragmentNodeRefListBaseProxy &source)
 Copy constructor. More...
 
virtual ~XalanDocumentFragmentNodeRefListBaseProxy ()
 
XalanNodeitem (size_type index) const
 Returns the indexth item in the collection. More...
 
size_type getLength () const
 Determine the number of nodes in the list. More...
 
size_type indexOf (const XalanNode *theNode) const
 Retrieve the zero based index of the node in the list. More...
 
- Public Member Functions inherited from xalanc::NodeRefListBase
 NodeRefListBase ()
 
virtual ~NodeRefListBase ()
 

Additional Inherited Members

- Public Types inherited from xalanc::NodeRefListBase
typedef XalanSize_t size_type
 
- Static Public Attributes inherited from xalanc::NodeRefListBase
static const size_type npos
 
- Protected Member Functions inherited from xalanc::NodeRefListBase
 NodeRefListBase (const NodeRefListBase &)
 
NodeRefListBaseoperator= (const NodeRefListBase &)
 

Detailed Description

Definition at line 41 of file XalanDocumentFragmentNodeRefListBaseProxy.hpp.

Constructor & Destructor Documentation

◆ XalanDocumentFragmentNodeRefListBaseProxy() [1/2]

xalanc::XalanDocumentFragmentNodeRefListBaseProxy::XalanDocumentFragmentNodeRefListBaseProxy ( const XalanDocumentFragment value)

Construct an instance from a document fragment.

Parameters
valuesource document fragment.

◆ XalanDocumentFragmentNodeRefListBaseProxy() [2/2]

xalanc::XalanDocumentFragmentNodeRefListBaseProxy::XalanDocumentFragmentNodeRefListBaseProxy ( const XalanDocumentFragmentNodeRefListBaseProxy source)

Copy constructor.

Parameters
sourcesource instance

◆ ~XalanDocumentFragmentNodeRefListBaseProxy()

virtual xalanc::XalanDocumentFragmentNodeRefListBaseProxy::~XalanDocumentFragmentNodeRefListBaseProxy ( )
virtual

Member Function Documentation

◆ getLength()

size_type xalanc::XalanDocumentFragmentNodeRefListBaseProxy::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

Implements xalanc::NodeRefListBase.

◆ indexOf()

size_type xalanc::XalanDocumentFragmentNodeRefListBaseProxy::indexOf ( const XalanNode theNode) const
virtual

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

Parameters
theNodenode whose index to find
Returns
index of node

Implements xalanc::NodeRefListBase.

◆ item()

XalanNode* xalanc::XalanDocumentFragmentNodeRefListBaseProxy::item ( size_type  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
node at the indexth position in the NodeList, or null if that is not a valid index

Implements xalanc::NodeRefListBase.


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