Unicorn XML Toolkit
Version 1.00.00

Namespace EcmaScript
Class CGlobalObject

class CGlobalObject: virtual public CObject {
public:
    CGlobalObject();
    ~CGlobalObject();
public:
    virtual void Destroy() = 0;
public:
    virtual XObject GetObjectConstructor() = 0;
    virtual XObject GetFunctionConstructor() = 0;
    virtual XObject GetArrayConstructor() = 0;
    virtual XObject GetStringConstructor() = 0;
    virtual XObject GetBooleanConstructor() = 0;
    virtual XObject GetNumberConstructor() = 0;
    virtual XObject GetDateConstructor() = 0;
    virtual XObject GetRegExpConstructor() = 0;
public:
    virtual XObject GetObjectPrototype() = 0;
    virtual XObject GetFunctionPrototype() = 0;
    virtual XObject GetArrayPrototype() = 0;
    virtual XObject GetStringPrototype() = 0;
    virtual XObject GetBooleanPrototype() = 0;
    virtual XObject GetNumberPrototype() = 0;
    virtual XObject GetDatePrototype() = 0;
    virtual XObject GetRegExpPrototype() = 0;
    };

The ECMAScript global object.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CObject
Constructor/Destructor Summary
CGlobalObject ();
����������Constructs the global object.
~CGlobalObject ();
����������Destroys the global object.

Function Summary
void Destroy ();
����������Forces the destruction of the global object.
XObject GetObjectConstructor ();
����������Returns the Object constructor.
XObject GetFunctionConstructor ();
����������Returns the Function constructor.
XObject GetArrayConstructor ();
����������Returns the Array constructor.
XObject GetStringConstructor ();
����������Returns the String constructor.
XObject GetBooleanConstructor ();
����������Returns the Boolean constructor.
XObject GetNumberConstructor ();
����������Returns the Number constructor.
XObject GetDateConstructor ();
����������Returns the Date constructor.
XObject GetRegExpConstructor ();
����������Returns the RegExp constructor.
XObject GetObjectPrototype ();
����������Returns the Object prototype.
XObject GetFunctionPrototype ();
����������Returns the Function prototype.
XObject GetArrayPrototype ();
����������Returns the Array prototype.
XObject GetStringPrototype ();
����������Returns the String prototype.
XObject GetBooleanPrototype ();
����������Returns the Boolean prototype.
XObject GetNumberPrototype ();
����������Returns the Number prototype.
XObject GetDatePrototype ();
����������Returns the Date prototype.
XObject GetRegExpPrototype ();
����������Returns the RegExp prototype.

Constructor/Destructor Detail

CGlobalObject

CGlobalObject();

Constructs the global object.

~CGlobalObject

~CGlobalObject();

Destroys the global object.

Function Detail

Destroy

virtual void Destroy() = 0;

Forces the destruction of the global object.

This function is introduced in order to avoid problems related to circular referencing.

GetObjectConstructor

virtual XObject GetObjectConstructor() = 0;

Returns the Object constructor.

Returns:
the Object constructor

GetFunctionConstructor

virtual XObject GetFunctionConstructor() = 0;

Returns the Function constructor.

Returns:
the Function constructor

GetArrayConstructor

virtual XObject GetArrayConstructor() = 0;

Returns the Array constructor.

Returns:
the Array constructor

GetStringConstructor

virtual XObject GetStringConstructor() = 0;

Returns the String constructor.

Returns:
the String constructor

GetBooleanConstructor

virtual XObject GetBooleanConstructor() = 0;

Returns the Boolean constructor.

Returns:
the Boolean constructor

GetNumberConstructor

virtual XObject GetNumberConstructor() = 0;

Returns the Number constructor.

Returns:
the Number constructor

GetDateConstructor

virtual XObject GetDateConstructor() = 0;

Returns the Date constructor.

Returns:
the Date constructor

GetRegExpConstructor

virtual XObject GetRegExpConstructor() = 0;

Returns the RegExp constructor.

Returns:
the RegExp constructor

GetObjectPrototype

virtual XObject GetObjectPrototype() = 0;

Returns the Object prototype.

Returns:
the Object prototype

GetFunctionPrototype

virtual XObject GetFunctionPrototype() = 0;

Returns the Function prototype.

Returns:
the Function prototype

GetArrayPrototype

virtual XObject GetArrayPrototype() = 0;

Returns the Array prototype.

Returns:
the Array prototype

GetStringPrototype

virtual XObject GetStringPrototype() = 0;

Returns the String prototype.

Returns:
the String prototype

GetBooleanPrototype

virtual XObject GetBooleanPrototype() = 0;

Returns the Boolean prototype.

Returns:
the Boolean prototype

GetNumberPrototype

virtual XObject GetNumberPrototype() = 0;

Returns the Number prototype.

Returns:
the Number prototype

GetDatePrototype

virtual XObject GetDatePrototype() = 0;

Returns the Date prototype.

Returns:
the Date prototype

GetRegExpPrototype

virtual XObject GetRegExpPrototype() = 0;

Returns the RegExp prototype.

Returns:
the RegExp prototype

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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