v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
WeakStdMapTraits< K, V > Class Template Reference
Inheritance diagram for WeakStdMapTraits< K, V >:
Collaboration diagram for WeakStdMapTraits< K, V >:

Data Structures

struct  WeakCallbackDataType
 

Public Types

typedef
v8::DefaultPersistentValueMapTraits
< K, V >::Impl 
Impl
 
- Public Types inherited from StdMapTraits< K, V >
typedef std::map< K,
PersistentContainerValue
Impl
 
typedef Impl::iterator Iterator
 

Static Public Member Functions

static WeakCallbackDataTypeWeakCallbackParameter (Impl *impl, const K &key, Local< V > value)
 
static ImplImplFromWeakCallbackData (const v8::WeakCallbackData< V, WeakCallbackDataType > &data)
 
static K KeyFromWeakCallbackData (const v8::WeakCallbackData< V, WeakCallbackDataType > &data)
 
static void DisposeCallbackData (WeakCallbackDataType *data)
 
static void Dispose (v8::Isolate *isolate, v8::UniquePersistent< V > value, Impl *impl, 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 bool kIsWeak = true
 

Detailed Description

template<typename K, typename V>
class WeakStdMapTraits< K, V >

Definition at line 3499 of file test-api.cc.

Member Typedef Documentation

Definition at line 3501 of file test-api.cc.

Member Function Documentation

static void Dispose ( v8::Isolate isolate,
v8::UniquePersistent< V >  value,
Impl impl,
key 
)
inlinestatic

Definition at line 3525 of file test-api.cc.

static void DisposeCallbackData ( WeakCallbackDataType data)
inlinestatic

Definition at line 3522 of file test-api.cc.

static Impl* ImplFromWeakCallbackData ( const v8::WeakCallbackData< V, WeakCallbackDataType > &  data)
inlinestatic
static K KeyFromWeakCallbackData ( const v8::WeakCallbackData< V, WeakCallbackDataType > &  data)
inlinestatic
static WeakCallbackDataType* WeakCallbackParameter ( Impl impl,
const K &  key,
Local< V >  value 
)
inlinestatic

Field Documentation

const bool kIsWeak = true
static

Definition at line 3502 of file test-api.cc.


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