Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CJS_Global Class Referencefinal

#include <cjs_global.h>

Inheritance diagram for CJS_Global:
Collaboration diagram for CJS_Global:

Public Member Functions

 CJS_Global (v8::Local< v8::Object > pObject, CJS_Runtime *pRuntime)
 ~CJS_Global () override
Public Member Functions inherited from CJS_Object
 CJS_Object (v8::Local< v8::Object > pObject, CJS_Runtime *pRuntime)
 ~CJS_Object () override
v8::Local< v8::Object > ToV8Object ()
CJS_RuntimeGetRuntime () const
Public Member Functions inherited from CFXJS_PerObjectData::Binding
virtual ~Binding ()=default

Static Public Member Functions

static uint32_t GetObjDefnID ()
static void DefineJSObjects (CFXJS_Engine *pEngine)
static void DefineAllProperties (CFXJS_Engine *pEngine)
static v8::Intercepted queryprop_static (v8::Local< v8::Name > property, const v8::PropertyCallbackInfo< v8::Integer > &info)
static v8::Intercepted getprop_static (v8::Local< v8::Name > property, const v8::PropertyCallbackInfo< v8::Value > &info)
static v8::Intercepted putprop_static (v8::Local< v8::Name > property, v8::Local< v8::Value > value, const v8::PropertyCallbackInfo< void > &info)
static v8::Intercepted delprop_static (v8::Local< v8::Name > property, const v8::PropertyCallbackInfo< v8::Boolean > &info)
static void enumprop_static (const v8::PropertyCallbackInfo< v8::Array > &info)
static void setPersistent_static (const v8::FunctionCallbackInfo< v8::Value > &info)
Static Public Member Functions inherited from CJS_Object
static void DefineConsts (CFXJS_Engine *pEngine, uint32_t nObjDefnID, pdfium::span< const JSConstSpec > consts)
static void DefineProps (CFXJS_Engine *pEngine, uint32_t nObjDefnID, pdfium::span< const JSPropertySpec > consts)
static void DefineMethods (CFXJS_Engine *pEngine, uint32_t nObjDefnID, pdfium::span< const JSMethodSpec > consts)

Detailed Description

Definition at line 32 of file cjs_global.h.

Constructor & Destructor Documentation

◆ CJS_Global()

CJS_Global::CJS_Global ( v8::Local< v8::Object > pObject,
CJS_Runtime * pRuntime )

Definition at line 176 of file cjs_global.cpp.

References CJS_Global().

Referenced by CJS_Global().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~CJS_Global()

CJS_Global::~CJS_Global ( )
override

Definition at line 182 of file cjs_global.cpp.

Member Function Documentation

◆ DefineAllProperties()

void CJS_Global::DefineAllProperties ( CFXJS_Engine * pEngine)
static

Definition at line 156 of file cjs_global.cpp.

Referenced by DefineJSObjects().

Here is the caller graph for this function:

◆ DefineJSObjects()

void CJS_Global::DefineJSObjects ( CFXJS_Engine * pEngine)
static

Definition at line 169 of file cjs_global.cpp.

References DefineAllProperties(), and FXJSOBJTYPE_STATIC.

Here is the call graph for this function:

◆ delprop_static()

v8::Intercepted CJS_Global::delprop_static ( v8::Local< v8::Name > property,
const v8::PropertyCallbackInfo< v8::Boolean > & info )
static

Definition at line 125 of file cjs_global.cpp.

◆ enumprop_static()

void CJS_Global::enumprop_static ( const v8::PropertyCallbackInfo< v8::Array > & info)
static

Definition at line 142 of file cjs_global.cpp.

◆ GetObjDefnID()

uint32_t CJS_Global::GetObjDefnID ( )
static

Definition at line 164 of file cjs_global.cpp.

◆ getprop_static()

v8::Intercepted CJS_Global::getprop_static ( v8::Local< v8::Name > property,
const v8::PropertyCallbackInfo< v8::Value > & info )
static

Definition at line 71 of file cjs_global.cpp.

◆ putprop_static()

v8::Intercepted CJS_Global::putprop_static ( v8::Local< v8::Name > property,
v8::Local< v8::Value > value,
const v8::PropertyCallbackInfo< void > & info )
static

Definition at line 100 of file cjs_global.cpp.

◆ queryprop_static()

v8::Intercepted CJS_Global::queryprop_static ( v8::Local< v8::Name > property,
const v8::PropertyCallbackInfo< v8::Integer > & info )
static

Definition at line 53 of file cjs_global.cpp.

◆ setPersistent_static()

void CJS_Global::setPersistent_static ( const v8::FunctionCallbackInfo< v8::Value > & info)
static

Definition at line 46 of file cjs_global.cpp.


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