Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
CJSProperty< T, ReadOnly > Class Template Reference

#include <ScriptableObject.h>

Inheritance diagram for CJSProperty< T, ReadOnly >:
IJSProperty

Public Member Functions

 CJSProperty (T IJSObject::*Data)
 
jsval Get (JSContext *cx, IJSObject *owner)
 
void Set (JSContext *cx, IJSObject *owner, jsval Value)
 
- Public Member Functions inherited from IJSProperty
virtual ~IJSProperty ()
 

Private Attributes

T IJSObject::* m_Data
 

Detailed Description

template<typename T, bool ReadOnly>
class CJSProperty< T, ReadOnly >

Definition at line 68 of file ScriptableObject.h.

Constructor & Destructor Documentation

template<typename T, bool ReadOnly>
CJSProperty< T, ReadOnly >::CJSProperty ( T IJSObject::*  Data)
inline

Definition at line 73 of file ScriptableObject.h.

Member Function Documentation

template<typename T, bool ReadOnly>
jsval CJSProperty< T, ReadOnly >::Get ( JSContext *  cx,
IJSObject owner 
)
inlinevirtual

Implements IJSProperty.

Definition at line 77 of file ScriptableObject.h.

template<typename T, bool ReadOnly>
void CJSProperty< T, ReadOnly >::Set ( JSContext *  cx,
IJSObject owner,
jsval  Value 
)
inlinevirtual

Implements IJSProperty.

Definition at line 81 of file ScriptableObject.h.

Member Data Documentation

template<typename T, bool ReadOnly>
T IJSObject::* CJSProperty< T, ReadOnly >::m_Data
private

Definition at line 70 of file ScriptableObject.h.


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