Unicorn XML Toolkit
Version 1.00.00

Namespace EcmaScript
Class CList

class CList {
public:
    CList();
    ~CList();
public:
    int GetSize() const;
    XValue GetAt(int nIndex) const;
    void Add(const XValue &pValue);
    };

The ECMAScript list.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CValue
Constructor/Destructor Summary
CList ();
����������Constructs the list.
~CList ();
����������Destroys the list.

Function Summary
int GetSize ();
����������Returns a number of values in this list.
XValue GetAt (int nIndex);
����������Returns a value at the given index of this list.
void Add (const XValue &pValue);
����������Adds a value to the end of this list.

Constructor/Destructor Detail

CList

CList();

Constructs the list.

~CList

~CList();

Destroys the list.

Function Detail

GetSize

int GetSize();

Returns a number of values in this list.

Returns:
the number of values in this list

GetAt

XValue GetAt(int nIndex);

Returns a value at the given index of this list.

Parameters:
nIndex - the index (zero-based)
Returns:
the value at the given index of this list

Add

void Add(const XValue &pValue);

Adds a value to the end of this list.

Parameters:
pValue - the value to add

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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