Unicorn XML Toolkit
Version 1.00.00

Namespace Xslt
Class CSortedArrayIndex

class CSortedArrayIndex: public CInterface {
public:
    CSortedArrayIndex();
    virtual ~CSortedArrayIndex();
public:
    virtual XNode GetNode() = 0;
    virtual void Iterate() = 0;
    };

The abstract interface to sorted array indexes.

Sorted array indexes are used for sequential enumeration of nodes in sorted arrays.

Every sorted array index has the internal current node pointer. The current node pointer points to the first node in the array when the sorted array index is created. The current node is set to NULL if the array is empty.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CSortedArray, Dom::INode
Constructor/Destructor Summary
CSortedArrayIndex ();
����������Constructs the sorted array index.
~CSortedArrayIndex ();
����������Destroys the sorted array index.

Function Summary
XNode GetNode ();
����������Returns the current node of this sorted array index.
void Iterate ();
����������Moves the current node pointer to the next node in the sorted array.

Constructor/Destructor Detail

CSortedArrayIndex

CSortedArrayIndex();

Constructs the sorted array index.

~CSortedArrayIndex

virtual ~CSortedArrayIndex();

Destroys the sorted array index.

Function Detail

GetNode

virtual XNode GetNode() = 0;

Returns the current node of this sorted array index.

Returns:
the current node of this sorted array index, or NULL if node enumeration had reached the end of the sorted array

Iterate

virtual void Iterate() = 0;

Moves the current node pointer to the next node in the sorted array.

The current node is set to NULL if node enumeration had reached the end of the sorted array.


Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.