Local implementation of NodeRefList. More...
#include <NodeRefListBase.hpp>
Inherited by NodeRefList, XalanDocumentFragmentNodeRefListBaseProxy, and XNodeSetNodeProxy::Proxy.
Public Types | |
| typedef XalanSize_t | size_type |
Public Member Functions | |
| NodeRefListBase () | |
| virtual | ~NodeRefListBase () |
| virtual XalanNode * | item (size_type index) const =0 |
Returns the indexth item in the collection. More... | |
| virtual size_type | getLength () const =0 |
| Determine the number of nodes in the list. More... | |
| virtual size_type | indexOf (const XalanNode *theNode) const =0 |
| Retrieve the zero based index of the node in the list. More... | |
Static Public Attributes | |
| static const size_type | npos |
Protected Member Functions | |
| NodeRefListBase (const NodeRefListBase &) | |
| NodeRefListBase & | operator= (const NodeRefListBase &) |
Local implementation of NodeRefList.
This class is for internal use only.
Definition at line 44 of file NodeRefListBase.hpp.
| typedef XalanSize_t NodeRefListBase::size_type |
Definition at line 53 of file NodeRefListBase.hpp.
| NodeRefListBase::NodeRefListBase | ( | ) |
|
virtual |
|
inlineprotected |
Definition at line 94 of file NodeRefListBase.hpp.
|
pure virtual |
Determine the number of nodes in the list.
The range of valid child node indices is 0 to length-1 inclusive.
Implemented in NodeRefList, XNodeSetNodeProxy::Proxy, and XalanDocumentFragmentNodeRefListBaseProxy.
Retrieve the zero based index of the node in the list.
| theNode | node whose index to find |
Implemented in NodeRefList, XNodeSetNodeProxy::Proxy, and XalanDocumentFragmentNodeRefListBaseProxy.
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.
| index | index into the collection |
indexth position in the NodeList, or null if that is not a valid index Implemented in NodeRefList, XNodeSetNodeProxy::Proxy, and XalanDocumentFragmentNodeRefListBaseProxy.
|
inlineprotected |
Definition at line 99 of file NodeRefListBase.hpp.
|
static |
Definition at line 89 of file NodeRefListBase.hpp.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
|
Xalan-C++ XSLT Processor Version 1.11 |
|
|