Xalan-C++ API Documentation
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
MutableNodeRefList Class Reference
Local implementation of MutableNodeRefList.
More...
#include <MutableNodeRefList.hpp>
Inheritance diagram for MutableNodeRefList:
[legend]Collaboration diagram for MutableNodeRefList:
[legend]List of all members.Public Types
Public Methods
- MutableNodeRefList (MemoryManagerType &theManager)
- Construct an empty mutable node list. More...
- MutableNodeRefList (const MutableNodeRefList &theSource, MemoryManagerType &theManager)
- Construct a mutable node list from another list. More...
- MutableNodeRefList (const NodeRefListBase &theSource, MemoryManagerType &theManager)
- Construct a mutable node list from another list. More...
- virtual ~MutableNodeRefList ()
- MutableNodeRefList& operator= (const MutableNodeRefList &theRHS)
- MutableNodeRefList& operator= (const NodeRefList &theRHS)
- MutableNodeRefList& operator= (const NodeRefListBase &theRHS)
- MutableNodeRefList& operator= (const XalanNodeList *theRHS)
- void addNode (XalanNode *n)
- Add a node at to the list. More...
- void insertNode (XalanNode *n, size_type pos)
- Insert a node at a given position. More...
- void removeNode (const XalanNode *n)
- Remove a node from the list. More...
- void removeNode (size_type pos)
- Remove a node from the list. More...
- void clear ()
- Remove all nodes. More...
- void setNode (size_type pos, XalanNode *n=0)
- Set a item. More...
- void addNodes (const XalanNodeList &nodelist)
- Copy NodeList members into this nodelist, adding in document order. More...
- void addNodes (const NodeRefListBase &nodelist)
- Copy NodeList members into this nodelist, adding in document order. More...
- void addNodesInDocOrder (const XalanNodeList &nodelist, XPathExecutionContext &executionContext)
- Copy NodeList members into this nodelist, adding in document order. More...
- void addNodesInDocOrder (const NodeRefListBase &nodelist, XPathExecutionContext &executionContext)
- Copy NodeList members into this nodelist, adding in document order. More...
- void addNodesInDocOrder (const MutableNodeRefList &nodelist, XPathExecutionContext &executionContext)
- Copy NodeList members into this nodelist, adding in document order. More...
- void addNodeInDocOrder (XalanNode *node, XPathExecutionContext &executionContext)
- Add a node into list where it should occur in document order. More...
- void clearNulls ()
- Clear any null entries in the node list. More...
- void reverse ()
- Reverse the nodes in the list. More...
- void reserve (size_type theCount)
- Reserve space for the supplied number of nodes. More...
- bool getUnknownOrder () const
- See if the order of the nodes is an unknown order. More...
- void setUnknownOrder ()
- bool getDocumentOrder () const
- See if the order of the nodes is document order. More...
- void setDocumentOrder ()
- Set the known order of the nodes. More...
- bool getReverseDocumentOrder () const
- See if the order of the nodes is reverse document order. More...
- void setReverseDocumentOrder ()
- Set the known order of the nodes. More...
- void swap (MutableNodeRefList &theOther)
Static 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
|
Construct an empty mutable node list.
|
MutableNodeRefList::MutableNodeRefList (
|
const MutableNodeRefList & theSource,
|
|
MemoryManagerType & theManager )
|
|
|
Construct a mutable node list from another list.
-
Parameters:
-
|
|
Construct a mutable node list from another list.
-
Parameters:
-
|
MutableNodeRefList::~MutableNodeRefList (
|
) [virtual]
|
|
Member Function Documentation
void MutableNodeRefList::addNode (
|
XalanNode * n )
|
|
|
Add a node at to the list.
-
Parameters:
-
|
|
Add a node into list where it should occur in document order.
-
Parameters:
-
node
|
node object to add |
executionContext
|
the current execution context |
|
|
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 MutableNodeRefList & nodelist,
|
|
XPathExecutionContext & executionContext )
|
|
|
Copy NodeList members into this nodelist, adding in document order.
-
Parameters:
-
nodelist
|
node list to add |
executionContext
|
the current execution context |
|
|
Copy NodeList members into this nodelist, adding in document order.
-
Parameters:
-
nodelist
|
node list to add |
executionContext
|
the current execution context |
|
|
Copy NodeList members into this nodelist, adding in document order.
-
Parameters:
-
nodelist
|
node list to add |
executionContext
|
the current execution context |
|
void MutableNodeRefList::clear (
|
)
|
|
void MutableNodeRefList::clearNulls (
|
)
|
|
|
Clear any null entries in the node list.
|
MutableNodeRefList * MutableNodeRefList::create (
|
MemoryManagerType & theManager ) [static]
|
|
bool MutableNodeRefList::getDocumentOrder (
|
) const
|
|
|
See if the order of the nodes is document order.
|
bool MutableNodeRefList::getReverseDocumentOrder (
|
) const
|
|
|
See if the order of the nodes is reverse document order.
|
bool MutableNodeRefList::getUnknownOrder (
|
) const
|
|
|
See if the order of the nodes is an unknown order.
|
|
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 )
|
|
MutableNodeRefList & MutableNodeRefList::operator= (
|
const NodeRefList & theRHS )
|
|
MutableNodeRefList & MutableNodeRefList::operator= (
|
const MutableNodeRefList & theRHS )
|
|
void MutableNodeRefList::removeNode (
|
size_type 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:
-
|
void MutableNodeRefList::reserve (
|
size_type theCount )
|
|
|
Reserve space for the supplied number of nodes.
This is taken as an optimization, and may be ignored. You might want to call this when you know the number of nodes you're about to add to this list.
Remember to take into account the current size of the list when calling this. That means you will probably want to add the result of getLength() to the number of nodes you're planning to add. -
Parameters:
-
theCount
|
the number of nodes to reserve space for |
|
void MutableNodeRefList::reverse (
|
)
|
|
|
Reverse the nodes in the list.
|
void MutableNodeRefList::setDocumentOrder (
|
)
|
|
|
Set the known order of the nodes.
This should only be done when the order is known. Otherwise, disaster will ensue. |
|
Set a item.
-
Parameters:
-
pos
|
position of node to modify |
n
|
node to insert, default is empty node |
|
void MutableNodeRefList::setReverseDocumentOrder (
|
)
|
|
|
Set the known order of the nodes.
This should only be done when the order is known. Otherwise, disaster will ensue. |
void MutableNodeRefList::setUnknownOrder (
|
)
|
|
void MutableNodeRefList::swap (
|
MutableNodeRefList & theOther )
|
|
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.
|
|