Unicorn XML Toolkit
Version 1.00.00

Namespace EcmaScript
Class CNativeFunction

class CNativeFunction: public CNativeObject {
public:
    CNativeFunction(
        CGlobalObject *pGlobalObject,
        const XObject &pPrototype);
    ~CNativeFunction();
public:
    CString Class();
    CString TypeOf();
    };

The abstract interface to native function objects.

Classes implementing native functions are usually derived from this class.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CObject, CGlobalObject
Constructor/Destructor Summary
CNativeFunction (CGlobalObject *pGlobalObject, const XObject &pPrototype);
����������Constructs the native function.
~CNativeFunction ();
����������Destroys the native function.

Function Summary
CString Class ();
����������Returns the class of this object.
CString TypeOf ();
����������Returns a string representing type of this object.

Constructor/Destructor Detail

CNativeFunction

CNativeFunction(
    CGlobalObject *pGlobalObject,
    const XObject &pPrototype);

Constructs the native function.

Parameters:
pGlobalObject - the global object
pPrototype - the prototype of this native function

~CNativeFunction

~CNativeFunction();

Destroys the native function.

Function Detail

Class

CString Class();

Returns the class of this object.

This function corresponds to the internal [[Class]] property.

Returns:
the class of this object

TypeOf

CString TypeOf();

Returns a string representing type of this object.

Returns:
the string representing type of this object

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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