v8  5.8.282(node8.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_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

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

Definition at line 3444 of file v8.h.

Member Function Documentation

Local< Value > Get ( ) const
V8_INLINE void Set ( const Global< S > &  handle)
V8_INLINE void Set ( const Local< S >  handle)
void Set ( double  i)

Definition at line 8893 of file v8.h.

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

void Set ( int32_t  i)
void Set ( uint32_t  i)

Definition at line 8910 of file v8.h.

References ReturnValue< T >::GetIsolate(), and Integer::NewFromUnsigned().

V8_INLINE void Set ( S *  whatever)
void Set ( const Persistent< S > &  handle)

Definition at line 8861 of file v8.h.

void Set ( const Global< S > &  handle)

Definition at line 8872 of file v8.h.

void Set ( const Local< S >  handle)

Definition at line 8883 of file v8.h.

void Set ( S *  whatever)

Definition at line 8971 of file v8.h.

void SetEmptyString ( )
void SetNull ( )
void SetUndefined ( )
V8_INLINE V8_DEPRECATE_SOON ( "Use Global<> instead"  ,
void   Setconst Persistent< S > &handle 
)

Friends And Related Function Documentation

friend class FunctionCallbackInfo
friend

Definition at line 3479 of file v8.h.

friend class PersistentValueMapBase
friend

Definition at line 3482 of file v8.h.

friend class PropertyCallbackInfo
friend

Definition at line 3480 of file v8.h.

friend class ReturnValue
friend

Definition at line 3478 of file v8.h.


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