v8  7.4.288(node12.0.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_DEPRECATED ("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 TracedGlobal< 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 Persistent< S > &handle)
 
template<typename S >
void Set (const Global< S > &handle)
 
template<typename S >
void Set (const TracedGlobal< 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 114 of file v8.h.

Constructor & Destructor Documentation

◆ ReturnValue()

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

Definition at line 3892 of file v8.h.

References TYPE_CHECK.

Member Function Documentation

◆ Get()

Local< Value > Get ( ) const

Definition at line 10125 of file v8.h.

References Local< T >::New(), and v8::Undefined().

◆ GetIsolate()

Isolate * GetIsolate ( ) const

Definition at line 10119 of file v8.h.

◆ Set() [1/13]

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

◆ Set() [2/13]

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

◆ Set() [3/13]

V8_INLINE void Set ( const Local< S >  handle)

◆ Set() [4/13]

void Set ( bool  value)

Definition at line 10085 of file v8.h.

References TYPE_CHECK.

◆ Set() [5/13]

void Set ( double  i)

Definition at line 10056 of file v8.h.

References Number::New(), and TYPE_CHECK.

◆ Set() [6/13]

void Set ( int32_t  i)

Definition at line 10062 of file v8.h.

References TYPE_CHECK, and V8_LIKELY.

◆ Set() [7/13]

void Set ( uint32_t  i)

Definition at line 10073 of file v8.h.

References Integer::NewFromUnsigned(), TYPE_CHECK, and V8_LIKELY.

◆ Set() [8/13]

V8_INLINE void Set ( S *  whatever)

◆ Set() [9/13]

void Set ( const Persistent< S > &  handle)

Definition at line 10013 of file v8.h.

References TYPE_CHECK, and V8_UNLIKELY.

◆ Set() [10/13]

void Set ( const Global< S > &  handle)

Definition at line 10024 of file v8.h.

References TYPE_CHECK, and V8_UNLIKELY.

◆ Set() [11/13]

void Set ( const TracedGlobal< S > &  handle)

Definition at line 10035 of file v8.h.

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

◆ Set() [12/13]

void Set ( const Local< S >  handle)

Definition at line 10046 of file v8.h.

References TYPE_CHECK, and V8_UNLIKELY.

◆ Set() [13/13]

void Set ( S *  whatever)

Definition at line 10134 of file v8.h.

References TYPE_CHECK.

◆ SetEmptyString()

void SetEmptyString ( )

Definition at line 10112 of file v8.h.

References TYPE_CHECK.

◆ SetNull()

void SetNull ( )

Definition at line 10098 of file v8.h.

References TYPE_CHECK.

◆ SetUndefined()

void SetUndefined ( )

Definition at line 10105 of file v8.h.

References TYPE_CHECK.

◆ V8_DEPRECATED()

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

Friends And Related Function Documentation

◆ FunctionCallbackInfo

friend class FunctionCallbackInfo
friend

Definition at line 3929 of file v8.h.

◆ PersistentValueMapBase

friend class PersistentValueMapBase
friend

Definition at line 3932 of file v8.h.

◆ PropertyCallbackInfo

friend class PropertyCallbackInfo
friend

Definition at line 3930 of file v8.h.

◆ ReturnValue

friend class ReturnValue
friend

Definition at line 3928 of file v8.h.


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