V8  latest master commit
V8 is Google's open source JavaScript engine
v8::PersistentValueMapBase< K, V, Traits >::PersistentValueReference Class Reference

#include <v8-util.h>

Public Member Functions

 PersistentValueReference ()
 
 PersistentValueReference (const PersistentValueReference &other)
 
Local< VNewLocal (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 226 of file v8-util.h.

Constructor & Destructor Documentation

◆ PersistentValueReference() [1/2]

template<typename K , typename V , typename Traits >
v8::PersistentValueMapBase< K, V, Traits >::PersistentValueReference::PersistentValueReference ( )
inline

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

◆ PersistentValueReference() [2/2]

template<typename K , typename V , typename Traits >
v8::PersistentValueMapBase< K, V, Traits >::PersistentValueReference::PersistentValueReference ( const PersistentValueReference other)
inline

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

Member Function Documentation

◆ IsEmpty()

template<typename K , typename V , typename Traits >
bool v8::PersistentValueMapBase< K, V, Traits >::PersistentValueReference::IsEmpty ( ) const
inline

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

◆ NewLocal()

template<typename K , typename V , typename Traits >
Local<V> v8::PersistentValueMapBase< K, V, Traits >::PersistentValueReference::NewLocal ( Isolate isolate) const
inline

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

◆ operator=()

template<typename K , typename V , typename Traits >
void v8::PersistentValueMapBase< K, V, Traits >::PersistentValueReference::operator= ( const PersistentValueReference other)
inline

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

◆ Reset()

template<typename K , typename V , typename Traits >
void v8::PersistentValueMapBase< K, V, Traits >::PersistentValueReference::Reset ( )
inline

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

◆ SetReturnValue()

template<typename K , typename V , typename Traits >
template<typename T >
bool v8::PersistentValueMapBase< K, V, Traits >::PersistentValueReference::SetReturnValue ( ReturnValue< T >  returnValue)
inline

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

Friends And Related Function Documentation

◆ GlobalValueMap< K, V, Traits >

template<typename K , typename V , typename Traits >
friend class GlobalValueMap< K, V, Traits >
friend

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

◆ PersistentValueMap< K, V, Traits >

template<typename K , typename V , typename Traits >
friend class PersistentValueMap< K, V, Traits >
friend

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

◆ PersistentValueMapBase

template<typename K , typename V , typename Traits >
friend class PersistentValueMapBase
friend

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


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