Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

NodeRefList Class Reference

Local implementation of NodeRefList. More...

#include <NodeRefList.hpp>

Inheritance diagram for NodeRefList:

Inheritance graph
Collaboration diagram for NodeRefList:

Collaboration graph
List of all members.

Public Types

Public Methods

Protected Types

Protected Methods

Protected Attributes

Detailed Description

Local implementation of NodeRefList.

This class is for internal use only.

Member Typedef Documentation

typedef XalanVector< XalanNode *> NodeRefList::NodeListVectorType<XalanNode*>

Member Enumeration Documentation

anonymous enum [protected]

Enumeration values:

Constructor & Destructor Documentation

NodeRefList::NodeRefList ( MemoryManagerType &theManager XALAN_DEFAULT_CONSTRACTOR_MEMORY_MGR ) [explicit]

NodeRefList::NodeRefList ( const NodeRefList & theSource,

Construct a node list from another.

theSource   source node list

NodeRefList::NodeRefList ( const NodeRefListBase & theSource,
MemoryManagerType &theManager XALAN_DEFAULT_CONSTRACTOR_MEMORY_MGR ) [explicit]

Construct a node list from another.

theSource   source node list

NodeRefList::~NodeRefList ( ) [virtual]

Member Function Documentation

bool NodeRefList::checkForDuplicates ( MemoryManagerType & theManager ) const

bool NodeRefList::empty ( ) const

void NodeRefList::ensureAllocation ( NodeListVectorType::size_type theSize = 0 ) [protected]

Ensure that an allocation is either the default allocation amount, or the amount specified in the parameter, whichever is larger.

theSize   The requested size.

size_type NodeRefList::getLength ( ) const [virtual]

Determine the number of nodes in the list.

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

number of nodes

Reimplemented from NodeRefListBase.

MemoryManagerType & NodeRefList::getMemoryManager ( )

size_type NodeRefList::indexOf ( const XalanNode * theNode ) const [virtual]

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

theNode   node whose index to find
index of node

Reimplemented from NodeRefListBase.

XalanNode * NodeRefList::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.

index   index into the collection
node at the indexth position in the NodeList, or null if that is not a valid index

Reimplemented from NodeRefListBase.

NodeRefList & NodeRefList::operator= ( const NodeRefList & theRHS )

Reimplemented in MutableNodeRefList.

NodeRefList & NodeRefList::operator= ( const NodeRefListBase & theRHS )

Reimplemented from NodeRefListBase.

Reimplemented in MutableNodeRefList.

void NodeRefList::swap ( NodeRefList & theOther )

Member Data Documentation

NodeListVectorType NodeRefList::m_nodeList [protected]

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

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.


Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo