v8  7.0.276 (node 11.14.0)
V8 is Google's open source JavaScript engine
ReturnValue< T > Class Template Reference

#include <v8.h>

Public Member Functions

template<class S >
V8_INLINE ReturnValue (const ReturnValue< S > &that)
 
template<typename S >
V8_INLINE V8_DEPRECATE_SOON ("Use Global<> instead", void Set(const Persistent< S > &handle))
 
template<typename S >
V8_INLINE void Set (const Global< S > &handle)
 
template<typename S >
V8_INLINE void Set (const Local< S > handle)
 
V8_INLINE void Set (bool value)
 
V8_INLINE void Set (double i)
 
V8_INLINE void Set (int32_t i)
 
V8_INLINE void Set (uint32_t i)
 
V8_INLINE void SetNull ()
 
V8_INLINE void SetUndefined ()
 
V8_INLINE void SetEmptyString ()
 
V8_INLINE Isolate * GetIsolate () const
 
template<typename S >
V8_INLINE void Set (S *whatever)
 
V8_INLINE Local< ValueGet () const
 

Friends

template<class F >
class ReturnValue
 
template<class F >
class FunctionCallbackInfo
 
template<class F >
class PropertyCallbackInfo
 
template<class F , class G , class H >
class PersistentValueMapBase
 

Detailed Description

template<typename T>
class v8::ReturnValue< T >

Definition at line 3819 of file v8.h.

Constructor & Destructor Documentation

◆ ReturnValue()

V8_INLINE ReturnValue ( const ReturnValue< S > &  that)
inline

Definition at line 3821 of file v8.h.

Member Function Documentation

◆ Get()

◆ GetIsolate()

◆ Set() [1/7]

◆ Set() [2/7]

V8_INLINE void Set ( const Global< S > &  handle)

◆ Set() [3/7]

V8_INLINE void Set ( const Local< S >  handle)

◆ Set() [4/7]

void Set ( double  i)

Definition at line 9787 of file v8.h.

References ReturnValue< T >::GetIsolate(), and Number::New().

◆ Set() [5/7]

void Set ( int32_t  i)

◆ Set() [6/7]

V8_INLINE void Set ( S *  whatever)

◆ Set() [7/7]

void Set ( uint32_t  i)

Definition at line 9804 of file v8.h.

References ReturnValue< T >::GetIsolate(), and Integer::NewFromUnsigned().

◆ SetEmptyString()

void SetEmptyString

◆ SetNull()

void SetNull

◆ SetUndefined()

void SetUndefined

◆ V8_DEPRECATE_SOON()

V8_INLINE V8_DEPRECATE_SOON ( "Use Global<> instead"  ,
void   Setconst Persistent< S > &handle 
)

Friends And Related Function Documentation

◆ FunctionCallbackInfo

friend class FunctionCallbackInfo
friend

Definition at line 3856 of file v8.h.

◆ PersistentValueMapBase

friend class PersistentValueMapBase
friend

Definition at line 3859 of file v8.h.

◆ PropertyCallbackInfo

friend class PropertyCallbackInfo
friend

Definition at line 3857 of file v8.h.

◆ ReturnValue

friend class ReturnValue
friend

Definition at line 3855 of file v8.h.


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