![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cJSXClass.h>
Public Member Functions | |
cJSXClass (const cScriptableInterfaceDef *pInterfaceDef) | |
virtual | ~cJSXClass () |
SCRIPTINTERFACEID_t | get_HashCode () const noexcept |
cString | get_Name () const |
JSClass * | get_JSClass () const |
cJSObject * | GetJSObjProto (cJSContext *pjsCx) |
const cScriptableInterfaceDef * | get_InterfaceDef () const |
const cScriptableProp * | GetPropPtr (int i) const |
![]() | |
cRefBase (int iRefCount=0) noexcept | |
virtual | ~cRefBase () |
int | get_RefCount () const noexcept |
HASHCODE_t | get_HashCode () const noexcept |
STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept | |
virtual void | onFinalRelease () |
bool | isValidObj () const noexcept |
STDMETHOD_ (ULONG, AddRef)(void) override | |
STDMETHOD_ (ULONG, Release)(void) override | |
STDMETHOD() | QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override |
void | IncRefCount () |
void | DecRefCount () |
bool | isStaticConstruct () const noexcept |
void | StaticConstruct () |
void | StaticDestruct () |
bool | isDestructing () noexcept |
void | SetDestructing () |
Public Attributes | |
cNewPtr< JSPropertySpec > | m_ajsProps |
array of props. NOT exactly Equiv to m_aPropsAll More... | |
cNewPtr< JSFunctionSpec > | m_ajsFunctions |
NOT exactly Equiv to m_aMethodsAll. More... | |
Define a class/interface for exposure to JavaScript. associate a JSClass and cScriptableInterfaceDef
GrayJS::cJSXClass::cJSXClass | ( | const cScriptableInterfaceDef * | pInterfaceDef | ) |
|
virtual |
|
inlinenoexcept |
|
inline |
|
inline |
cString GrayJS::cJSXClass::get_Name | ( | ) | const |
cJSObject * GrayJS::cJSXClass::GetJSObjProto | ( | cJSContext * | pjsCx | ) |
|
inline |
enum the defined props for a class.
cNewPtr<JSFunctionSpec> GrayJS::cJSXClass::m_ajsFunctions |
NOT exactly Equiv to m_aMethodsAll.
cNewPtr<JSPropertySpec> GrayJS::cJSXClass::m_ajsProps |
array of props. NOT exactly Equiv to m_aPropsAll