v8  5.5.372(node7.10.1)
V8 is Google's open source JavaScript engine
PersistentValueMapBase< K, V, Traits >::PersistentValueReference Class Reference

#include <v8-util.h>

Public Member Functions

 PersistentValueReference ()
 PersistentValueReference (const PersistentValueReference &other)
Local< V > NewLocal (Isolate *isolate) const
bool IsEmpty () const
template<typename T >
bool SetReturnValue (ReturnValue< T > returnValue)
void Reset ()
void operator= (const PersistentValueReference &other)


class PersistentValueMapBase
class PersistentValueMap< K, V, Traits >
class GlobalValueMap< K, V, Traits >

Detailed Description

template<typename K, typename V, typename Traits>
class v8::PersistentValueMapBase< K, V, Traits >::PersistentValueReference

Helper class for GetReference/SetWithReference. Do not use outside that context.

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

bool IsEmpty ( ) const

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

Local<V> NewLocal ( Isolate isolate) const

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

References PersistentValueMapBase< K, V, Traits >::FromVal().

void operator= ( const PersistentValueReference other)

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

void Reset ( )

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

bool SetReturnValue ( ReturnValue< T >  returnValue)

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

Friends And Related Function Documentation

friend class GlobalValueMap< K, V, Traits >

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

friend class PersistentValueMap< K, V, Traits >

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

friend class PersistentValueMapBase

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

Referenced by PersistentValueMapBase< K, V, Traits >::GetReference().

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