v8  3.28.71 (node 0.12.18)
V8 is Google's open source JavaScript engine
PersistentValueMap< 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 PersistentValueMap

Detailed Description

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

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

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

Constructor & Destructor Documentation

◆ PersistentValueReference() [1/2]

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

◆ PersistentValueReference() [2/2]

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

Member Function Documentation

◆ IsEmpty()

bool IsEmpty ( ) const

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

◆ NewLocal()

Local<V> NewLocal ( Isolate isolate) const

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

References Handle< T >::Local.

◆ operator=()

void operator= ( const PersistentValueReference other)

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

◆ Reset()

void Reset ( )

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

◆ SetReturnValue()

bool SetReturnValue ( ReturnValue< T >  returnValue)

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

Friends And Related Function Documentation

◆ PersistentValueMap

friend class PersistentValueMap

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

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