Unicorn XML Toolkit
Version 1.50.00

Namespace Sax
Class CEnumeration

class CEnumeration: public CInterface {
public:
    CEnumeration();
    virtual ~CEnumeration();
public:
    virtual int GetLength() = 0;
    virtual const WCHAR *Item(int nIndex) = 0;
    };
typedef XInterface<CEnumeration> XEnumeration;

The abstract interface to enumerations of string items.

Since:
1.00.00
Version:
1.50.00
Author:
C++ interfaces by Alexey Gokhberg; based on the original SAX2 specification by David Megginson
Constructor/Destructor Summary
CEnumeration ();
����������Constructs the enumeration.
~CEnumeration ();
����������Destroys the enumeration.

Function Summary
int GetLength ();
����������Returns a number of items in this enumeration.
const�WCHAR�* Item (int nIndex);
����������Returns a string value of the item at the given index.

Constructor/Destructor Detail

CEnumeration

CEnumeration();

Constructs the enumeration.

~CEnumeration

virtual ~CEnumeration();

Destroys the enumeration.

Function Detail

GetLength

virtual int GetLength() = 0;

Returns a number of items in this enumeration.

Returns:
the number of items in this enumeration

Item

virtual const WCHAR *Item(int nIndex) = 0;

Returns a string value of the item at the given index.

Parameters:
nIndex - the index (zero-based)
Returns:
the string value of the item at the given index

Unicorn XML Toolkit
Version 1.50.00


This document was created using Unicorn DOC++.

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