Unicorn XML Toolkit
Version 1.00.00

Namespace XsltObject
Class CObjectIterator

class CObjectIterator: public CInterface {
public:
    CObjectIterator();
    virtual ~CObjectIterator();
public:
    virtual bool Iterate() = 0;
    };

The abstract interface to object iterators.

Iterators are used to implement the obj:while XSLT extension instruction. When the object iterator is created, it is associated with the certain function property of the certain object and with the certain parameter list. The method Iterate can be applied to the object iterator; the effect of calling this method is equivalent to calling the specified function property with the specified parameter list, and the result returned by Iterate is equal to the result returned by the function converted to a boolean.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
Constructor/Destructor Summary
CObjectIterator ();
����������Constructs the object iterator.
~CObjectIterator ();
����������Destroys the object iterator.

Function Summary
bool Iterate ();
����������Performs a single iteration step.

Constructor/Destructor Detail

CObjectIterator

CObjectIterator();

Constructs the object iterator.

~CObjectIterator

virtual ~CObjectIterator();

Destroys the object iterator.

Function Detail

Iterate

virtual bool Iterate() = 0;

Performs a single iteration step.

The effect of calling this method is equivalent to calling the function property specified for this iterator, with the parameter list specified for this iterator, and the result is equal to the result returned by the function converted to a boolean.

Returns:
the boolean result of this iteration

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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