Unicorn XML Toolkit
Version 1.00.00

Namespace EcmaScript
Class CEnumerator

class CEnumerator: public CInterface {
public:
    CEnumerator() { }
    virtual ~CEnumerator() { }
public:
    virtual bool Next(CPropertyName &propertyName) = 0;
    };

The abstract interface to enumerators of object properties.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CPropertyName
Constructor/Destructor Summary
CEnumerator ();
����������Constructs the enumerator.
~CEnumerator ();
����������Destroys the enumerator.

Function Summary
bool Next (CPropertyName &propertyName);
����������Returns a name of the next property in the property list of the object.

Constructor/Destructor Detail

CEnumerator

CEnumerator();

Constructs the enumerator.

~CEnumerator

virtual ~CEnumerator();

Destroys the enumerator.

Function Detail

Next

virtual bool Next(CPropertyName &propertyName) = 0;

Returns a name of the next property in the property list of the object.

Parameters:
propertyName - on return, the next property name in the property list of the object; unspecified, if the end of the property list is encountered
Returns:
true if the next property name was successfully obtained; false if the end of the property list is encountered

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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