v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::ReturnValue< F > Class Template Reference

#include <v8-function-callback.h>

Collaboration diagram for v8::ReturnValue< F >:

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 SetNonEmpty (const Global< S > &handle)
 
template<typename S >
V8_INLINE void Set (const BasicTracedReference< S > &handle)
 
template<typename S >
V8_INLINE void SetNonEmpty (const BasicTracedReference< S > &handle)
 
template<typename S >
V8_INLINE void Set (const Local< S > handle)
 
template<typename S >
V8_INLINE void SetNonEmpty (const Local< S > handle)
 
V8_INLINE void Set (bool value)
 
V8_INLINE void Set (double i)
 
V8_INLINE void Set (int16_t i)
 
V8_INLINE void Set (int32_t i)
 
V8_INLINE void Set (int64_t i)
 
V8_INLINE void Set (uint16_t i)
 
V8_INLINE void Set (uint32_t i)
 
V8_INLINE void Set (uint64_t i)
 
V8_INLINE void SetNull ()
 
V8_INLINE void SetUndefined ()
 
V8_INLINE void SetFalse ()
 
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 SetNonEmpty (const Global< S > &handle)
 
template<typename S >
void Set (const BasicTracedReference< S > &handle)
 
template<typename S >
void SetNonEmpty (const BasicTracedReference< S > &handle)
 
template<typename S >
void Set (const Local< S > handle)
 
template<typename S >
void SetNonEmpty (const Local< S > handle)
 
template<typename S >
void Set (S *whatever)
 

Private Member Functions

V8_INLINE void SetInternal (internal::Address value)
 
V8_INLINE void SetDefaultValue ()
 
V8_INLINE ReturnValue (internal::Address *slot)
 

Private Attributes

internal::Addressvalue_
 

Static Private Attributes

static constexpr int kIsolateValueIndex = -2
 

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<class F>
class v8::ReturnValue< F >

Definition at line 59 of file v8-local-handle.h.

Constructor & Destructor Documentation

◆ ReturnValue() [1/2]

template<class F >
template<class S >
V8_INLINE v8::ReturnValue< F >::ReturnValue ( const ReturnValue< S > & that)
inline

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

◆ ReturnValue() [2/2]

template<typename T >
v8::ReturnValue< T >::ReturnValue ( internal::Address * slot)
explicitprivate

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

Member Function Documentation

◆ Get()

template<typename T >
Local< Value > v8::ReturnValue< T >::Get ( ) const

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

Here is the call graph for this function:

◆ GetIsolate()

template<typename T >
Isolate * v8::ReturnValue< T >::GetIsolate ( ) const

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

◆ Set() [1/16]

template<typename T >
void v8::ReturnValue< T >::Set ( bool value)

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

Here is the call graph for this function:

◆ Set() [2/16]

template<class F >
template<typename S >
V8_INLINE void v8::ReturnValue< F >::Set ( const BasicTracedReference< S > & handle)

◆ Set() [3/16]

template<class F >
template<typename S >
void v8::ReturnValue< F >::Set ( const BasicTracedReference< S > & handle)

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

◆ Set() [4/16]

template<class F >
template<typename S >
V8_INLINE void v8::ReturnValue< F >::Set ( const Global< S > & handle)

◆ Set() [5/16]

template<class F >
template<typename S >
void v8::ReturnValue< F >::Set ( const Global< S > & handle)

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

◆ Set() [6/16]

template<class F >
template<typename S >
V8_INLINE void v8::ReturnValue< F >::Set ( const Local< S > handle)

◆ Set() [7/16]

template<class F >
template<typename S >
void v8::ReturnValue< F >::Set ( const Local< S > handle)

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

Here is the call graph for this function:

◆ Set() [8/16]

template<typename T >
void v8::ReturnValue< T >::Set ( double i)

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

Here is the call graph for this function:

◆ Set() [9/16]

template<typename T >
void v8::ReturnValue< T >::Set ( int16_t i)

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

◆ Set() [10/16]

template<typename T >
void v8::ReturnValue< T >::Set ( int32_t i)

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

Here is the call graph for this function:

◆ Set() [11/16]

template<typename T >
void v8::ReturnValue< T >::Set ( int64_t i)

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

Here is the call graph for this function:

◆ Set() [12/16]

template<class F >
template<typename S >
V8_INLINE void v8::ReturnValue< F >::Set ( S * whatever)

◆ Set() [13/16]

template<class F >
template<typename S >
void v8::ReturnValue< F >::Set ( S * whatever)

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

◆ Set() [14/16]

template<typename T >
void v8::ReturnValue< T >::Set ( uint16_t i)

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

◆ Set() [15/16]

template<typename T >
void v8::ReturnValue< T >::Set ( uint32_t i)

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

Here is the call graph for this function:

◆ Set() [16/16]

template<typename T >
void v8::ReturnValue< T >::Set ( uint64_t i)

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

Here is the call graph for this function:

◆ SetDefaultValue()

template<typename T >
void v8::ReturnValue< T >::SetDefaultValue ( )
private

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

Here is the call graph for this function:

◆ SetEmptyString()

template<typename T >
void v8::ReturnValue< T >::SetEmptyString ( )

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

Here is the call graph for this function:

◆ SetFalse()

template<typename T >
void v8::ReturnValue< T >::SetFalse ( )

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

Here is the call graph for this function:

◆ SetInternal()

template<typename T >
void v8::ReturnValue< T >::SetInternal ( internal::Address value)
private

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

Here is the caller graph for this function:

◆ SetNonEmpty() [1/6]

template<class F >
template<typename S >
V8_INLINE void v8::ReturnValue< F >::SetNonEmpty ( const BasicTracedReference< S > & handle)

◆ SetNonEmpty() [2/6]

template<class F >
template<typename S >
void v8::ReturnValue< F >::SetNonEmpty ( const BasicTracedReference< S > & handle)

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

Here is the call graph for this function:

◆ SetNonEmpty() [3/6]

template<class F >
template<typename S >
V8_INLINE void v8::ReturnValue< F >::SetNonEmpty ( const Global< S > & handle)

◆ SetNonEmpty() [4/6]

template<class F >
template<typename S >
void v8::ReturnValue< F >::SetNonEmpty ( const Global< S > & handle)

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

Here is the call graph for this function:

◆ SetNonEmpty() [5/6]

template<class F >
template<typename S >
V8_INLINE void v8::ReturnValue< F >::SetNonEmpty ( const Local< S > handle)

◆ SetNonEmpty() [6/6]

template<class F >
template<typename S >
void v8::ReturnValue< F >::SetNonEmpty ( const Local< S > handle)

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

Here is the call graph for this function:

◆ SetNull()

template<typename T >
void v8::ReturnValue< T >::SetNull ( )

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

Here is the call graph for this function:

◆ SetUndefined()

template<typename T >
void v8::ReturnValue< T >::SetUndefined ( )

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

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ FunctionCallbackInfo

template<class F >
template<class F >
friend class FunctionCallbackInfo
friend

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

◆ PersistentValueMapBase

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

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

◆ PropertyCallbackInfo

template<class F >
template<class F >
friend class PropertyCallbackInfo
friend

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

◆ ReturnValue

template<class F >
template<class F >
friend class ReturnValue
friend

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

Member Data Documentation

◆ kIsolateValueIndex

template<class F >
int v8::ReturnValue< F >::kIsolateValueIndex = -2
staticconstexprprivate

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

◆ value_

template<class F >
internal::Address* v8::ReturnValue< F >::value_
private

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


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