JsMethod Class Reference

Inheritance diagram for JsMethod:
JsObject IJsObject IMemoryValidate IComparable IHashable

List of all members.

Public Member Functions

 JsMethod (const String &sourceCode)
 JsMethod (const Program &prog)
 JsMethod (const JsMethod &obj)
virtual IJsObjectPtr New () const
virtual bool IsNative () const
virtual VariantPtr Call (JsMethod *isthis, Vector< VariantPtr > args)
virtual VariantPtr GetProperty (const String &idx)
virtual bool HasProperty (const String &idx) const
virtual void SetProperty (const String &idx, VariantPtr obj)
virtual bool Equals (const IComparable &a) const
virtual int Compare (const IComparable &a) const
virtual int32 MajicNumber () const
 Class instances with the same majic number are of the same type (can be casted). Majic numbers above 0xFFFF are available for user applications.
virtual int32 HashCode () const
StringPtr ToString () const
const ProgramGetProgram ()
const ProgramGetProgramPtr ()
void CheckMem () const
void ValidateMem () const

Protected Attributes

String m_src
Program m_prog

Detailed Description

Definition at line 26 of file JsMethod.h.

The documentation for this class was generated from the following files: