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
V8TemplateMapTraits Class Referencefinal
+ Inheritance diagram for V8TemplateMapTraits:
+ Collaboration diagram for V8TemplateMapTraits:

Public Types

using WeakCallbackDataType = CFXJS_PerObjectData
 
using MapType
 

Static Public Member Functions

static WeakCallbackDataTypeWeakCallbackParameter (MapType *map, WeakCallbackDataType *key, v8::Local< v8::Object > value)
 
static MapTypeMapFromWeakCallbackInfo (const v8::WeakCallbackInfo< WeakCallbackDataType > &)
 
static WeakCallbackDataTypeKeyFromWeakCallbackInfo (const v8::WeakCallbackInfo< WeakCallbackDataType > &data)
 
static void OnWeakCallback (const v8::WeakCallbackInfo< WeakCallbackDataType > &data)
 
static void DisposeWeak (const v8::WeakCallbackInfo< WeakCallbackDataType > &data)
 
static void Dispose (v8::Isolate *isolate, v8::Global< v8::Object > value, WeakCallbackDataType *key)
 
static void DisposeCallbackData (WeakCallbackDataType *callbackData)
 
static WeakCallbackDataTypeWeakCallbackParameter (MapType *map, WeakCallbackDataType *key, v8::Local< v8::Object > value)
 
static MapTypeMapFromWeakCallbackInfo (const v8::WeakCallbackInfo< WeakCallbackDataType > &)
 
static WeakCallbackDataTypeKeyFromWeakCallbackInfo (const v8::WeakCallbackInfo< WeakCallbackDataType > &data)
 
static void OnWeakCallback (const v8::WeakCallbackInfo< WeakCallbackDataType > &data)
 
static void DisposeWeak (const v8::WeakCallbackInfo< WeakCallbackDataType > &data)
 
static void Dispose (v8::Isolate *isolate, v8::Global< v8::Object > value, WeakCallbackDataType *key)
 
static void DisposeCallbackData (WeakCallbackDataType *callbackData)
 

Static Public Attributes

static const v8::PersistentContainerCallbackType kCallbackType
 

Detailed Description

Definition at line 94 of file cfxjs_engine.cpp.

Member Typedef Documentation

◆ MapType

typedef v8::GlobalValueMap< WeakCallbackDataType *, v8::Object, V8TemplateMapTraits > V8TemplateMapTraits::MapType
Initial value:
v8::
GlobalValueMap<WeakCallbackDataType*, v8::Object, V8TemplateMapTraits>

Definition at line 98 of file cfxjs_engine.cpp.

◆ WeakCallbackDataType

Member Function Documentation

◆ Dispose() [1/2]

void V8TemplateMapTraits::Dispose ( v8::Isolate * isolate,
v8::Global< v8::Object > value,
WeakCallbackDataType * key )
static

Definition at line 280 of file cfxjs_engine.cpp.

◆ Dispose() [2/2]

static void V8TemplateMapTraits::Dispose ( v8::Isolate * isolate,
v8::Global< v8::Object > value,
WeakCallbackDataType * key )
static

◆ DisposeCallbackData() [1/2]

static void V8TemplateMapTraits::DisposeCallbackData ( WeakCallbackDataType * callbackData)
inlinestatic

Definition at line 123 of file cfxjs_engine.cpp.

◆ DisposeCallbackData() [2/2]

static void V8TemplateMapTraits::DisposeCallbackData ( WeakCallbackDataType * callbackData)
inlinestatic

Definition at line 123 of file cfxjs_engine.cpp.

◆ DisposeWeak() [1/2]

void V8TemplateMapTraits::DisposeWeak ( const v8::WeakCallbackInfo< WeakCallbackDataType > & data)
static

Definition at line 297 of file cfxjs_engine.cpp.

◆ DisposeWeak() [2/2]

static void V8TemplateMapTraits::DisposeWeak ( const v8::WeakCallbackInfo< WeakCallbackDataType > & data)
static

◆ KeyFromWeakCallbackInfo() [1/2]

static WeakCallbackDataType * V8TemplateMapTraits::KeyFromWeakCallbackInfo ( const v8::WeakCallbackInfo< WeakCallbackDataType > & data)
inlinestatic

Definition at line 112 of file cfxjs_engine.cpp.

◆ KeyFromWeakCallbackInfo() [2/2]

static WeakCallbackDataType * V8TemplateMapTraits::KeyFromWeakCallbackInfo ( const v8::WeakCallbackInfo< WeakCallbackDataType > & data)
inlinestatic

Definition at line 112 of file cfxjs_engine.cpp.

◆ MapFromWeakCallbackInfo() [1/2]

V8TemplateMapTraits::MapType * V8TemplateMapTraits::MapFromWeakCallbackInfo ( const v8::WeakCallbackInfo< WeakCallbackDataType > & info)
static

Definition at line 302 of file cfxjs_engine.cpp.

◆ MapFromWeakCallbackInfo() [2/2]

static MapType * V8TemplateMapTraits::MapFromWeakCallbackInfo ( const v8::WeakCallbackInfo< WeakCallbackDataType > & )
static

◆ OnWeakCallback() [1/2]

static void V8TemplateMapTraits::OnWeakCallback ( const v8::WeakCallbackInfo< WeakCallbackDataType > & data)
inlinestatic

Definition at line 116 of file cfxjs_engine.cpp.

◆ OnWeakCallback() [2/2]

static void V8TemplateMapTraits::OnWeakCallback ( const v8::WeakCallbackInfo< WeakCallbackDataType > & data)
inlinestatic

Definition at line 116 of file cfxjs_engine.cpp.

◆ WeakCallbackParameter() [1/2]

static WeakCallbackDataType * V8TemplateMapTraits::WeakCallbackParameter ( MapType * map,
WeakCallbackDataType * key,
v8::Local< v8::Object > value )
inlinestatic

Definition at line 104 of file cfxjs_engine.cpp.

◆ WeakCallbackParameter() [2/2]

static WeakCallbackDataType * V8TemplateMapTraits::WeakCallbackParameter ( MapType * map,
WeakCallbackDataType * key,
v8::Local< v8::Object > value )
inlinestatic

Definition at line 104 of file cfxjs_engine.cpp.

Member Data Documentation

◆ kCallbackType

static const v8::PersistentContainerCallbackType V8TemplateMapTraits::kCallbackType
static
Initial value:
=
v8::kWeakWithInternalFields

Definition at line 101 of file cfxjs_engine.cpp.


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