V8 API Reference Guide for node.js v5.11.0 - v5.11.1
Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
v8::DefaultGlobalMapTraits< K, V > Class Template Reference
Inheritance diagram for v8::DefaultGlobalMapTraits< K, V >:
Inheritance graph
[legend]
Collaboration diagram for v8::DefaultGlobalMapTraits< K, V >:
Collaboration graph
[legend]

Public Types

typedef GlobalValueMap< K, V, DefaultGlobalMapTraits< K, V > > MapType
 
typedef void WeakCallbackDataType
 
- Public Types inherited from v8::StdMapTraits< K, V >
typedef std::map< K, PersistentContainerValue > Impl
 
typedef Impl::iterator Iterator
 

Static Public Member Functions

static WeakCallbackDataType * WeakCallbackParameter (MapType *map, const K &key, Local< V > value)
 
static MapTypeMapFromWeakCallbackInfo (const WeakCallbackInfo< WeakCallbackDataType > &data)
 
static K KeyFromWeakCallbackInfo (const WeakCallbackInfo< WeakCallbackDataType > &data)
 
static void DisposeCallbackData (WeakCallbackDataType *data)
 
static void OnWeakCallback (const WeakCallbackInfo< WeakCallbackDataType > &data)
 
static void Dispose (Isolate *isolate, Global< V > value, K key)
 
static void DisposeWeak (const WeakCallbackInfo< WeakCallbackDataType > &data)
 
- Static Public Member Functions inherited from v8::StdMapTraits< K, V >
static bool Empty (Impl *impl)
 
static size_t Size (Impl *impl)
 
static void Swap (Impl &a, Impl &b)
 
static Iterator Begin (Impl *impl)
 
static Iterator End (Impl *impl)
 
static K Key (Iterator it)
 
static PersistentContainerValue Value (Iterator it)
 
static PersistentContainerValue Set (Impl *impl, K key, PersistentContainerValue value)
 
static PersistentContainerValue Get (Impl *impl, K key)
 
static PersistentContainerValue Remove (Impl *impl, K key)
 

Static Public Attributes

static const PersistentContainerCallbackType kCallbackType = kNotWeak
 

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