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

#include <v8-function-callback.h>

Public Member Functions

template<class S >
V8_INLINE ReturnValue (const ReturnValue< S > &that)
 
template<typename S >
V8_INLINE void Set (const Global< S > &handle)
 
template<typename S >
V8_INLINE void Set (const BasicTracedReference< 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 IsolateGetIsolate () const
 
template<typename S >
V8_INLINE void Set (S *whatever)
 
V8_INLINE Local< ValueGet () const
 
template<typename S >
void Set (const Global< S > &handle)
 
template<typename S >
void Set (const BasicTracedReference< S > &handle)
 
template<typename S >
void Set (const Local< S > handle)
 
template<typename S >
void Set (S *whatever)
 

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 31 of file v8-function-callback.h.

Constructor & Destructor Documentation

◆ ReturnValue()

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

Definition at line 34 of file v8-function-callback.h.

Member Function Documentation

◆ Get()

◆ GetIsolate()

◆ Set() [1/12]

◆ Set() [2/12]

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

◆ Set() [3/12]

void Set ( const BasicTracedReference< S > &  handle)

Definition at line 271 of file v8-function-callback.h.

◆ Set() [4/12]

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

◆ Set() [5/12]

void Set ( const Global< S > &  handle)

Definition at line 260 of file v8-function-callback.h.

◆ Set() [6/12]

V8_INLINE void Set ( const Local< S >  handle)

◆ Set() [7/12]

void Set ( const Local< S >  handle)

Definition at line 282 of file v8-function-callback.h.

◆ Set() [8/12]

void Set ( double  i)

Definition at line 293 of file v8-function-callback.h.

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

◆ Set() [9/12]

◆ Set() [10/12]

V8_INLINE void Set ( S *  whatever)

◆ Set() [11/12]

void Set ( S *  whatever)

Definition at line 371 of file v8-function-callback.h.

◆ Set() [12/12]

void Set ( uint32_t  i)

◆ SetEmptyString()

void SetEmptyString

◆ SetNull()

◆ SetUndefined()

Friends And Related Function Documentation

◆ FunctionCallbackInfo

friend class FunctionCallbackInfo
friend

Definition at line 69 of file v8-function-callback.h.

◆ PersistentValueMapBase

◆ PropertyCallbackInfo

friend class PropertyCallbackInfo
friend

Definition at line 71 of file v8-function-callback.h.

◆ ReturnValue

friend class ReturnValue
friend

Definition at line 67 of file v8-function-callback.h.


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