![]() |
v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <v8-util.h>


Public Types | |
| 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 WeakCallbackDataType * | WeakCallbackParameter (Impl *impl, const K &key, Local< V > value) |
| static Impl * | ImplFromWeakCallbackData (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) |
Static Public Attributes | |
| static const bool | kIsWeak = false |
A default trait implementation for PersistentValueMap, which inherits a std:map backing map from StdMapTraits and holds non-weak persistent objects.
Users have to implement their own dispose trait.
| typedef StdMapTraits<K, V>::Impl Impl |
| typedef void WeakCallbackDataType |
|
static |
|
static |
|
static |
|
static |
Empty default implementations for StrongTraits methods.
These should not be necessary, since they're only used in code that is surrounded by if(Traits::kIsWeak), which for StrongMapTraits is compile-time false. Most compilers can live without them; however the compiler we use from 64-bit Win differs.
TODO(vogelheim): Remove these once they're no longer necessary.
Definition at line 328 of file v8-util.h.
References NULL.