v8 10.2.154 (node 18.16.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
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()

template<typename T >
template<class S >
V8_INLINE ReturnValue ( const ReturnValue< S > &  that)
inline

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

Member Function Documentation

◆ Get()

template<typename T >
Local< Value > Get

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

References v8::Undefined().

◆ GetIsolate()

template<typename T >
Isolate * GetIsolate

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

◆ Set() [1/12]

template<typename T >
void Set ( bool  value)

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

◆ Set() [2/12]

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

◆ Set() [3/12]

template<typename T >
template<typename S >
void Set ( const BasicTracedReference< S > &  handle)

◆ Set() [4/12]

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

◆ Set() [5/12]

template<typename T >
template<typename S >
void Set ( const Global< S > &  handle)

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

References PersistentBase< T >::IsEmpty(), and V8_UNLIKELY.

◆ Set() [6/12]

template<typename T >
template<typename S >
V8_INLINE void Set ( const Local< S >  handle)

◆ Set() [7/12]

template<typename T >
template<typename S >
void Set ( const Local< S >  handle)

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

References Local< T >::IsEmpty(), and V8_UNLIKELY.

◆ Set() [8/12]

template<typename T >
void Set ( double  i)

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

◆ Set() [9/12]

template<typename T >
void Set ( int32_t  i)

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

References V8_LIKELY.

◆ Set() [10/12]

template<typename T >
template<typename S >
V8_INLINE void Set ( S *  whatever)

◆ Set() [11/12]

template<typename T >
template<typename S >
void Set ( S *  whatever)

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

◆ Set() [12/12]

template<typename T >
void Set ( uint32_t  i)

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

References v8::int32_t(), and V8_LIKELY.

◆ SetEmptyString()

template<typename T >
void SetEmptyString

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

◆ SetNull()

template<typename T >
void SetNull

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

◆ SetUndefined()

template<typename T >
void SetUndefined

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

Friends And Related Symbol Documentation

◆ FunctionCallbackInfo

template<typename T >
template<class F >
friend class FunctionCallbackInfo
friend

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

◆ PersistentValueMapBase

template<typename T >
template<class F , class G , class H >
friend class PersistentValueMapBase
friend

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

◆ PropertyCallbackInfo

template<typename T >
template<class F >
friend class PropertyCallbackInfo
friend

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

◆ ReturnValue

template<typename T >
template<class F >
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: