|
Xalan-C++ API Reference
1.12.0
|
Local implementation of NodeRefList. More...
#include <xalanc/XPath/NodeRefListBase.hpp>
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 xalanc::NodeRefListBase::size_type |
Definition at line 53 of file NodeRefListBase.hpp.
| xalanc::NodeRefListBase::NodeRefListBase | ( | ) |
|
virtual |
|
inlineprotected |
Definition at line 90 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 xalanc::NodeRefList, xalanc::XNodeSetNodeProxy::Proxy, and xalanc::XalanDocumentFragmentNodeRefListBaseProxy.
Referenced by xalanc::XObject::boolean(), and xalanc::XObject::string().
Retrieve the zero based index of the node in the list.
| theNode | node whose index to find |
Implemented in xalanc::NodeRefList, xalanc::XNodeSetNodeProxy::Proxy, and xalanc::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 xalanc::NodeRefList, xalanc::XNodeSetNodeProxy::Proxy, and xalanc::XalanDocumentFragmentNodeRefListBaseProxy.
Referenced by xalanc::XObject::string().
|
inlineprotected |
Definition at line 95 of file NodeRefListBase.hpp.
|
static |
Definition at line 86 of file NodeRefListBase.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:33 for Xalan-C++ API Reference by
1.8.17