#include <nan.h>
Public Member Functions | |
v8::Isolate * | GetIsolate () const |
template<class S > | |
ReturnValue (v8::Isolate *isolate, v8::Persistent< S > *p) | |
template<class S > | |
ReturnValue (const ReturnValue< S > &that) | |
template<typename S > | |
void | Set (const v8::Local< S > &handle) |
template<typename S > | |
void | Set (const Global< S > &handle) |
void | Set (bool value) |
void | Set (double i) |
void | Set (int32_t i) |
void | Set (uint32_t i) |
template<typename S > | |
void | Set (S *whatever) |
void | SetEmptyString () |
void | SetNull () |
void | SetUndefined () |
Private Attributes | |
v8::Isolate * | isolate_ |
v8::Persistent< T > * | value_ |
Friends | |
class | imp::ReturnValueImp< T > |
Nan::ReturnValue< T >::ReturnValue | ( | v8::Isolate * | isolate, |
v8::Persistent< S > * | p | ||
) | [inline, explicit] |
Nan::ReturnValue< T >::ReturnValue | ( | const ReturnValue< S > & | that | ) | [inline, explicit] |
v8::Isolate* Nan::ReturnValue< T >::GetIsolate | ( | ) | const [inline] |
void Nan::ReturnValue< T >::Set | ( | const v8::Local< S > & | handle | ) | [inline] |
void Nan::ReturnValue< T >::Set | ( | const Global< S > & | handle | ) | [inline] |
void Nan::ReturnValue< T >::Set | ( | bool | value | ) | [inline] |
void Nan::ReturnValue< T >::Set | ( | double | i | ) | [inline] |
void Nan::ReturnValue< T >::Set | ( | int32_t | i | ) | [inline] |
void Nan::ReturnValue< T >::Set | ( | uint32_t | i | ) | [inline] |
void Nan::ReturnValue< T >::SetEmptyString | ( | ) | [inline] |
void Nan::ReturnValue< T >::SetNull | ( | ) | [inline] |
void Nan::ReturnValue< T >::SetUndefined | ( | ) | [inline] |
friend class imp::ReturnValueImp< T > [friend] |
v8::Isolate* Nan::ReturnValue< T >::isolate_ [private] |
v8::Persistent<T>* Nan::ReturnValue< T >::value_ [private] |