![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cJSXObject.h>
Public Member Functions | |
| cJSXObject () | |
| cJSXObject (cJSContext *pjsCx, cXObject *pObj, cJSObject *pjsObj) | |
| virtual | ~cJSXObject () |
| STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept | |
| HASHCODE_t | get_HashCode () const noexcept |
| cJSObject * | get_JSObject () const noexcept |
| void | RemoveRoot (cJSContext *pjsCx) |
Public Member Functions inherited from Gray::cRefBase | |
| 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 () |
Static Public Member Functions | |
| static HASHCODE_t | GetHashCode (cXObject *pXObj) noexcept |
Public Attributes | |
| cXObjectPtr | m_pXObj |
| keep a ref count to the cXObject we represent. More... | |
Manage a JavaScript object (JSObject) to wrap a cXObject (IXObject) rooted/locked objects cached for re-use
| GrayJS::cJSXObject::cJSXObject | ( | ) |
| GrayJS::cJSXObject::cJSXObject | ( | cJSContext * | pjsCx, |
| cXObject * | pObj, | ||
| cJSObject * | pjsObj | ||
| ) |
|
virtual |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinestaticnoexcept |
Create a hash code form the pointer.
| void GrayJS::cJSXObject::RemoveRoot | ( | cJSContext * | pjsCx | ) |
|
inlinenoexcept |
| cXObjectPtr GrayJS::cJSXObject::m_pXObj |
keep a ref count to the cXObject we represent.