Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

NodeRefList Class Reference

Local implementation of NodeRefList. More...

#include <NodeRefList.hpp>

Inherits NodeRefListBase.

Inherited by MutableNodeRefList.

Collaboration diagram for NodeRefList:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions

Protected Types

Protected Member Functions

Protected Attributes


Detailed Description

Local implementation of NodeRefList.

This class is for internal use only.

Definition at line 43 of file NodeRefList.hpp.


Member Typedef Documentation

Definition at line 107 of file NodeRefList.hpp.


Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
eDefaultVectorSize 

Definition at line 119 of file NodeRefList.hpp.


Constructor & Destructor Documentation

NodeRefList::NodeRefList ( MemoryManager &  theManager = XalanMemMgrs::getDefaultXercesMemMgr()  )  [explicit]
NodeRefList::NodeRefList ( const NodeRefList theSource,
MemoryManager &  theManager = XalanMemMgrs::getDefaultXercesMemMgr() 
)

Construct a node list from another.

Parameters:
theSource source node list
NodeRefList::NodeRefList ( const NodeRefListBase theSource,
MemoryManager &  theManager = XalanMemMgrs::getDefaultXercesMemMgr() 
) [explicit]

Construct a node list from another.

Parameters:
theSource source node list
virtual NodeRefList::~NodeRefList (  )  [virtual]

Member Function Documentation

bool NodeRefList::checkForDuplicates ( MemoryManager &  theManager  )  const
bool NodeRefList::empty (  )  const [inline]

Definition at line 85 of file NodeRefList.hpp.

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

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

Parameters:
theSize The requested size.

Definition at line 132 of file NodeRefList.hpp.

virtual 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.

Returns:
number of nodes

Implements NodeRefListBase.

MemoryManager& NodeRefList::getMemoryManager (  )  [inline]

Definition at line 60 of file NodeRefList.hpp.

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

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

Parameters:
theNode node whose index to find
Returns:
index of node

Implements NodeRefListBase.

virtual 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.

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

Implements NodeRefListBase.

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

Reimplemented from NodeRefListBase.

Reimplemented in MutableNodeRefList.

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

Reimplemented in MutableNodeRefList.

void NodeRefList::swap ( NodeRefList theOther  )  [inline]

Definition at line 110 of file NodeRefList.hpp.


Member Data Documentation

Definition at line 137 of file NodeRefList.hpp.


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.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo