v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 void Set (const Persistent< S > &handle)
 
template<typename S >
V8_INLINE void Set (const Handle< 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 ()
 
template<typename S >
void Set (const Persistent< S > &handle)
 
template<typename S >
void Set (const Handle< S > handle)
 

Friends

template<class F >
class ReturnValue
 
template<class F >
class FunctionCallbackInfo
 
template<class F >
class PropertyCallbackInfo
 
template<class F , class G , class H >
class PersistentValueMap
 

Detailed Description

template<typename T>
class v8::ReturnValue< T >

Definition at line 146 of file v8.h.

Constructor & Destructor Documentation

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

Definition at line 2498 of file v8.h.

References S, T, and TYPE_CHECK.

Member Function Documentation

Isolate * GetIsolate ( )

Definition at line 6004 of file v8.h.

V8_INLINE void Set ( const Persistent< S > &  handle)
V8_INLINE void Set ( const Handle< S handle)
void Set ( bool  value)

Definition at line 5970 of file v8.h.

References I, T, and TYPE_CHECK.

void Set ( double  i)

Definition at line 5941 of file v8.h.

References Number::New(), T, and TYPE_CHECK.

void Set ( int32_t  i)

Definition at line 5947 of file v8.h.

References I, v8::internal::IntToSmi(), Integer::New(), T, TYPE_CHECK, and V8_LIKELY.

void Set ( uint32_t  i)

Definition at line 5958 of file v8.h.

References Integer::NewFromUnsigned(), T, TYPE_CHECK, v8::internal::U, and V8_LIKELY.

void Set ( const Persistent< S > &  handle)

Definition at line 5920 of file v8.h.

References S, T, TYPE_CHECK, and V8_UNLIKELY.

void Set ( const Handle< S handle)

Definition at line 5931 of file v8.h.

References S, T, TYPE_CHECK, and V8_UNLIKELY.

void SetEmptyString ( )

Definition at line 5997 of file v8.h.

References I, T, and TYPE_CHECK.

void SetNull ( )

Definition at line 5983 of file v8.h.

References I, T, and TYPE_CHECK.

void SetUndefined ( )

Definition at line 5990 of file v8.h.

References I, T, and TYPE_CHECK.

Friends And Related Function Documentation

friend class FunctionCallbackInfo
friend

Definition at line 2519 of file v8.h.

friend class PersistentValueMap
friend

Definition at line 2521 of file v8.h.

friend class PropertyCallbackInfo
friend

Definition at line 2520 of file v8.h.

friend class ReturnValue
friend

Definition at line 2518 of file v8.h.


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