Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
IJSObject Class Referenceabstract

#include <ScriptableObject.h>

Inheritance diagram for IJSObject:
CJSObject< T, ReadOnly >

Public Types

typedef boost::unordered_map
< CStrW, IJSProperty * > 
PropertyTable
 
typedef jsval(IJSObject::* GetFn )(JSContext *cx)
 
typedef void(IJSObject::* SetFn )(JSContext *cx, jsval value)
 

Public Member Functions

virtual IJSPropertyHasProperty (const CStrW &PropertyName)=0
 
virtual bool GetProperty (JSContext *cx, const CStrW &PropertyName, jsval *vp)=0
 
virtual void AddProperty (const CStrW &PropertyName, jsval Value)=0
 
 IJSObject ()
 
virtual ~IJSObject ()
 

Detailed Description

Definition at line 44 of file ScriptableObject.h.

Member Typedef Documentation

typedef jsval(IJSObject::* IJSObject::GetFn)(JSContext *cx)

Definition at line 50 of file ScriptableObject.h.

typedef boost::unordered_map<CStrW, IJSProperty*> IJSObject::PropertyTable

Definition at line 47 of file ScriptableObject.h.

typedef void(IJSObject::* IJSObject::SetFn)(JSContext *cx, jsval value)

Definition at line 51 of file ScriptableObject.h.

Constructor & Destructor Documentation

IJSObject::IJSObject ( )
inline

Definition at line 62 of file ScriptableObject.h.

virtual IJSObject::~IJSObject ( )
inlinevirtual

Definition at line 63 of file ScriptableObject.h.

Member Function Documentation

virtual void IJSObject::AddProperty ( const CStrW &  PropertyName,
jsval  Value 
)
pure virtual

Implemented in CJSObject< T, ReadOnly >.

virtual bool IJSObject::GetProperty ( JSContext *  cx,
const CStrW &  PropertyName,
jsval *  vp 
)
pure virtual

Implemented in CJSObject< T, ReadOnly >.

virtual IJSProperty* IJSObject::HasProperty ( const CStrW &  PropertyName)
pure virtual

Implemented in CJSObject< T, ReadOnly >.


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