v8  6.2.414(node8.16.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 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 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 138 of file v8.h.

Constructor & Destructor Documentation

◆ ReturnValue()

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

Definition at line 3596 of file v8.h.

References TYPE_CHECK.

Member Function Documentation

◆ Get()

Local< Value > Get ( ) const

Definition at line 9440 of file v8.h.

References v8::Undefined().

◆ GetIsolate()

Isolate * GetIsolate ( ) const

Definition at line 9434 of file v8.h.

◆ Set() [1/11]

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

◆ Set() [2/11]

V8_INLINE void Set ( const Local< S >  handle)

◆ Set() [3/11]

void Set ( bool  value)

Definition at line 9400 of file v8.h.

References TYPE_CHECK.

◆ Set() [4/11]

void Set ( double  i)

Definition at line 9371 of file v8.h.

References TYPE_CHECK.

◆ Set() [5/11]

void Set ( int32_t  i)

Definition at line 9377 of file v8.h.

References v8::internal::IntToSmi(), TYPE_CHECK, and V8_LIKELY.

◆ Set() [6/11]

void Set ( uint32_t  i)

Definition at line 9388 of file v8.h.

References TYPE_CHECK, and V8_LIKELY.

◆ Set() [7/11]

V8_INLINE void Set ( S *  whatever)

◆ Set() [8/11]

void Set ( const Persistent< S > &  handle)

Definition at line 9339 of file v8.h.

References TYPE_CHECK, and V8_UNLIKELY.

◆ Set() [9/11]

void Set ( const Global< S > &  handle)

Definition at line 9350 of file v8.h.

References TYPE_CHECK, and V8_UNLIKELY.

◆ Set() [10/11]

void Set ( const Local< S >  handle)

Definition at line 9361 of file v8.h.

References TYPE_CHECK, and V8_UNLIKELY.

◆ Set() [11/11]

void Set ( S *  whatever)

Definition at line 9449 of file v8.h.

References TYPE_CHECK.

◆ SetEmptyString()

void SetEmptyString ( )

Definition at line 9427 of file v8.h.

References TYPE_CHECK.

◆ SetNull()

void SetNull ( )

Definition at line 9413 of file v8.h.

References TYPE_CHECK.

◆ SetUndefined()

void SetUndefined ( )

Definition at line 9420 of file v8.h.

References TYPE_CHECK.

◆ 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 3631 of file v8.h.

◆ PersistentValueMapBase

friend class PersistentValueMapBase
friend

Definition at line 3634 of file v8.h.

◆ PropertyCallbackInfo

friend class PropertyCallbackInfo
friend

Definition at line 3632 of file v8.h.

◆ ReturnValue

friend class ReturnValue
friend

Definition at line 3630 of file v8.h.


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