V8 API Reference Guide for node.js v5.10.0 - v5.10.1
Public Member Functions | List of all members
v8::StdGlobalValueMap< K, V, Traits > Class Template Reference

#include <v8-util.h>

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

Public Member Functions

 StdGlobalValueMap (Isolate *isolate)
 
- Public Member Functions inherited from v8::GlobalValueMap< K, V, Traits >
 GlobalValueMap (Isolate *isolate)
 
Global< V > Set (const K &key, Local< V > value)
 
Global< V > Set (const K &key, Global< V > value)
 
Global< V > SetUnique (const K &key, Global< V > *persistent)
 
Global< V > Set (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< V > Get (const K &key)
 
bool Contains (const K &key)
 
bool SetReturnValue (const K &key, ReturnValue< Value > returnValue)
 
void SetReference (const K &key, const Persistent< Object > &parent)
 
Global< V > Remove (const K &key)
 
void Clear ()
 
PersistentValueReference GetReference (const K &key)
 

Additional Inherited Members

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

Detailed Description

template<typename K, typename V, typename Traits = DefaultGlobalMapTraits<K, V>>
class v8::StdGlobalValueMap< K, V, Traits >

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

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


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