Xalan-C++ API Documentation

The Xalan-C++ XSL Transformer Version 1.0

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

MutableNodeRefList Class Reference

Local implementation of MutableNodeRefList. More...

#include <MutableNodeRefList.hpp>

Inheritance diagram for MutableNodeRefList:

NodeRefList NodeRefListBase Collaboration diagram for MutableNodeRefList:

List of all members.

Public Types

Public Methods


Detailed Description

Local implementation of MutableNodeRefList.

This class is for internal use only.


Member Typedef Documentation

typedef NodeListVectorType::iterator MutableNodeRefList::NodeListIteratorType


Constructor & Destructor Documentation

explicit MutableNodeRefList::MutableNodeRefList ()

Construct an empty mutable node list.

MutableNodeRefList::MutableNodeRefList ( const MutableNodeRefList & theSource)

Construct a mutable node list from another list.

Parameters:
theSource   source list

explicit MutableNodeRefList::MutableNodeRefList ( const NodeRefListBase & theSource)

Construct a mutable node list from another list.

Parameters:
theSource   source list

virtual MutableNodeRefList::~MutableNodeRefList () [virtual]


Member Function Documentation

void MutableNodeRefList::addNode ( XalanNode * n)

Add a node at to the list.

Parameters:
n   node to add

void MutableNodeRefList::addNodeInDocOrder ( XalanNode * node,
XPathExecutionContext & executionContext) [virtual]

Add a node into list where it should occur in document order.

Parameters:
node   node object to add
executionContext   the current execution context

void MutableNodeRefList::addNodes ( const NodeRefListBase & nodelist)

Copy NodeList members into this nodelist, adding in document order.

If a node is null, don't add it.

Parameters:
nodelist   node list to add

void MutableNodeRefList::addNodes ( const XalanNodeList & nodelist)

Copy NodeList members into this nodelist, adding in document order.

If a node is null, don't add it.

Parameters:
nodelist   node list to add

void MutableNodeRefList::addNodesInDocOrder ( const NodeRefListBase & nodelist,
XPathExecutionContext & executionContext) [virtual]

Copy NodeList members into this nodelist, adding in document order.

Parameters:
nodelist   node list to add
executionContext   the current execution context

void MutableNodeRefList::addNodesInDocOrder ( const XalanNodeList & nodelist,
XPathExecutionContext & executionContext) [virtual]

Copy NodeList members into this nodelist, adding in document order.

Parameters:
nodelist   node list to add
executionContext   the current execution context

void MutableNodeRefList::clear ()

Remove all nodes.

void MutableNodeRefList::clearNulls ()

Clear any null entries in the node list.

virtual MutableNodeRefList* MutableNodeRefList::clone () const [virtual]

Reimplemented from NodeRefList.

void MutableNodeRefList::insertNode ( XalanNode * n,
unsigned int pos)

Insert a node at a given position.

Parameters:
n   node to insert
pos   position of insertion

MutableNodeRefList& MutableNodeRefList::operator= ( const XalanNodeList * theRHS)

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

Reimplemented from NodeRefList.

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

Reimplemented from NodeRefList.

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

void MutableNodeRefList::removeNode ( unsigned int pos)

Remove a node from the list.

Parameters:
pos   position of node in list

void MutableNodeRefList::removeNode ( const XalanNode * n)

Remove a node from the list.

Parameters:
n   node to insert

void MutableNodeRefList::setNode ( unsigned int pos,
XalanNode * n = 0)

Set a item.

Parameters:
pos   position of node to modify
n   node to insert, default is empty node

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++ XSL Transformer Version 1.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.