v8  4.2.77(io.js2.5.0)
V8 is Google's open source JavaScript engine
DefaultPhantomPersistentValueMapTraits< K, V > Class Template Reference

#include <v8-util.h>

Inheritance diagram for DefaultPhantomPersistentValueMapTraits< K, V >:
Collaboration diagram for DefaultPhantomPersistentValueMapTraits< K, V >:

Public Types

typedef PersistentValueMap< K, V, DefaultPhantomPersistentValueMapTraits< K, V > > MapType
 
typedef void PhantomCallbackDataType
 
- Public Types inherited from StdMapTraits< K, V >
typedef std::map< K, PersistentContainerValueImpl
 
typedef Impl::iterator Iterator
 

Static Public Member Functions

static PhantomCallbackDataTypePhantomCallbackParameter (MapType *map, const K &key, Local< V > value)
 
static MapTypeMapFromPhantomCallbackData (const PhantomCallbackData< PhantomCallbackDataType > &data)
 
static K KeyFromPhantomCallbackData (const PhantomCallbackData< PhantomCallbackDataType > &data)
 
static void DisposeCallbackData (PhantomCallbackDataType *data)
 
static void Dispose (Isolate *isolate, UniquePersistent< V > value, K key)
 
- Static Public Member Functions inherited from 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
 

Detailed Description

template<typename K, typename V>
class v8::DefaultPhantomPersistentValueMapTraits< K, V >

Definition at line 109 of file v8-util.h.

Member Typedef Documentation

Definition at line 118 of file v8-util.h.

Definition at line 119 of file v8-util.h.

Member Function Documentation

static void Dispose ( Isolate isolate,
UniquePersistent< V >  value,
key 
)
inlinestatic

Definition at line 135 of file v8-util.h.

static void DisposeCallbackData ( PhantomCallbackDataType data)
inlinestatic

Definition at line 134 of file v8-util.h.

static K KeyFromPhantomCallbackData ( const PhantomCallbackData< PhantomCallbackDataType > &  data)
inlinestatic

Definition at line 130 of file v8-util.h.

static MapType* MapFromPhantomCallbackData ( const PhantomCallbackData< PhantomCallbackDataType > &  data)
inlinestatic

Definition at line 126 of file v8-util.h.

static PhantomCallbackDataType* PhantomCallbackParameter ( MapType map,
const K &  key,
Local< V >  value 
)
inlinestatic

Definition at line 121 of file v8-util.h.

Field Documentation

const PersistentContainerCallbackType kCallbackType = kNotWeak
static

Definition at line 116 of file v8-util.h.


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