Loading...
Searching...
No Matches
Public Member Functions | List of all members
v8::StdPersistentValueMap< K, V, Traits > Class Template Reference

#include <v8-util.h>

Inheritance diagram for v8::StdPersistentValueMap< K, V, Traits >:
[legend]
Collaboration diagram for v8::StdPersistentValueMap< K, V, Traits >:
[legend]

Public Member Functions

 StdPersistentValueMap (Isolate *isolate)
 
- Public Member Functions inherited from v8::PersistentValueMap< K, V, Traits >
 PersistentValueMap (Isolate *isolate)
 
 PersistentValueMap (Isolate *isolate, const char *label)
 
Global< VSet (const K &key, Local< V > value)
 
Global< VSet (const K &key, Global< V > value)
 
Global< VSetUnique (const K &key, Global< V > *persistent)
 
Global< VSet (const K &key, Global< V > value, PersistentValueReference *reference)
 
- Public Member Functions inherited from v8::PersistentValueMapBase< K, V, Traits >
IsolateGetIsolate ()
 
size_t Size ()
 
bool IsWeak ()
 
Local< VGet (const K &key)
 
bool Contains (const K &key)
 
bool SetReturnValue (const K &key, ReturnValue< Value > returnValue)
 
Global< VRemove (const K &key)
 
void Clear ()
 
PersistentValueReference GetReference (const K &key)
 

Additional Inherited Members

- Public Types inherited from v8::PersistentValueMap< K, V, Traits >
typedef PersistentValueMapBase< K, V, Traits >::PersistentValueReference PersistentValueReference
 
- Protected Member Functions inherited from v8::PersistentValueMapBase< K, V, Traits >
 PersistentValueMapBase (Isolate *isolate)
 
 PersistentValueMapBase (Isolate *isolate, const char *label)
 
 ~PersistentValueMapBase ()
 
Isolateisolate ()
 
Traits::Impl * impl ()
 
void RemoveWeak (const K &key)
 
void AnnotateStrongRetainer (Global< V > *persistent)
 
- Static Protected Member Functions inherited from v8::PersistentValueMapBase< K, V, Traits >
static VFromVal (PersistentContainerValue v)
 
static PersistentContainerValue ClearAndLeak (Global< V > *persistent)
 
static PersistentContainerValue Leak (Global< V > *persistent)
 
static Global< VRelease (PersistentContainerValue v)
 

Detailed Description

template<typename K, typename V, typename Traits = DefaultPersistentValueMapTraits<K, V>>
class v8::StdPersistentValueMap< K, V, Traits >

A map that uses Global as value and std::map as the backing implementation. Persistents are held non-weak.

C++11 embedders don't need this class, as they can use Global directly in std containers.

Constructor & Destructor Documentation

◆ StdPersistentValueMap()

template<typename K , typename V , typename Traits = DefaultPersistentValueMapTraits<K, V>>
v8::StdPersistentValueMap< K, V, Traits >::StdPersistentValueMap ( Isolate isolate)
inlineexplicit

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