v8  4.5.103(node4.8.7)
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)
 

Friends

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 235 of file v8-util.h.

Constructor & Destructor Documentation

◆ PersistentValueReference() [1/2]

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

◆ PersistentValueReference() [2/2]

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

Member Function Documentation

◆ IsEmpty()

bool IsEmpty ( ) const
inline

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

◆ NewLocal()

Local<V> NewLocal ( Isolate isolate) const
inline

◆ operator=()

void operator= ( const PersistentValueReference other)
inline

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

◆ Reset()

void Reset ( )
inline

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

◆ SetReturnValue()

bool SetReturnValue ( ReturnValue< T >  returnValue)
inline

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

Friends And Related Function Documentation

◆ GlobalValueMap< K, V, Traits >

friend class GlobalValueMap< K, V, Traits >
friend

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

◆ PersistentValueMap< K, V, Traits >

friend class PersistentValueMap< K, V, Traits >
friend

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

◆ PersistentValueMapBase

friend class PersistentValueMapBase
friend

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


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