Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
v8::NativeWeakMap Class Reference

#include <v8.h>

Inheritance diagram for v8::NativeWeakMap:
[legend]
Collaboration diagram for v8::NativeWeakMap:
[legend]

Public Member Functions

void Set (Local< Value > key, Local< Value > value)
 
Local< ValueGet (Local< Value > key) const
 
bool Has (Local< Value > key)
 
bool Delete (Local< Value > key)
 

Static Public Member Functions

static Local< NativeWeakMapNew (Isolate *isolate)
 

Detailed Description

A map whose keys are referenced weakly. It is similar to JavaScript WeakMap but can be created without entering a v8::Context and hence shouldn't escape to JavaScript.

Member Function Documentation

◆ Delete()

bool v8::NativeWeakMap::Delete ( Local< Value key)

◆ Get()

Local< Value > v8::NativeWeakMap::Get ( Local< Value key) const

◆ Has()

bool v8::NativeWeakMap::Has ( Local< Value key)

◆ New()

static Local< NativeWeakMap > v8::NativeWeakMap::New ( Isolate isolate)
static

◆ Set()

void v8::NativeWeakMap::Set ( Local< Value key,
Local< Value value 
)

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