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
DefaultPersistentValueMapTraits< K, V > Class Template Reference

#include <v8-util.h>

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

Public Types

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

Static Public Member Functions

static void Dispose (Isolate *isolate, UniquePersistent< V > value, Impl *impl, K key)
 
- Static Public Member Functions inherited from StrongMapTraits< K, V >
static WeakCallbackDataTypeWeakCallbackParameter (Impl *impl, const K &key, Local< V > value)
 
static ImplImplFromWeakCallbackData (const WeakCallbackData< V, WeakCallbackDataType > &data)
 
static K KeyFromWeakCallbackData (const WeakCallbackData< V, WeakCallbackDataType > &data)
 
static void DisposeCallbackData (WeakCallbackDataType *data)
 
- 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)
 

Additional Inherited Members

- Static Public Attributes inherited from StrongMapTraits< K, V >
static const bool kIsWeak = false
 

Detailed Description

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

A default trait implementation for PersistentValueMap, with a std::map backing map, non-weak persistents as values, and no special dispose handling. Can be used as-is.

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

Member Typedef Documentation

typedef StrongMapTraits<K, V>::Impl Impl

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

Member Function Documentation

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

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


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