#include <nan_object_wrap.h>
Public Member Functions | |
v8::Local< v8::Object > | handle () const |
ObjectWrap () | |
Persistent< v8::Object > & | persistent () |
virtual | ~ObjectWrap () |
Static Public Member Functions | |
template<class T > | |
static T * | Unwrap (v8::Local< v8::Object > object) |
Protected Member Functions | |
void | MakeWeak () |
virtual void | Ref () |
virtual void | Unref () |
void | Wrap (v8::Local< v8::Object > object) |
Protected Attributes | |
int | refs_ |
Static Private Member Functions | |
static void | WeakCallback (v8::Persistent< v8::Value > value, void *data) |
Private Attributes | |
Persistent< v8::Object > | handle_ |
Definition at line 12 of file nan_object_wrap.h.
ObjectWrap::ObjectWrap | ( | ) | [inline] |
Definition at line 14 of file nan_object_wrap.h.
virtual ObjectWrap::~ObjectWrap | ( | ) | [inline, virtual] |
Definition at line 19 of file nan_object_wrap.h.
v8::Local<v8::Object> ObjectWrap::handle | ( | ) | const [inline] |
Definition at line 42 of file nan_object_wrap.h.
void ObjectWrap::MakeWeak | ( | ) | [inline, protected] |
Definition at line 79 of file nan_object_wrap.h.
Persistent<v8::Object>& ObjectWrap::persistent | ( | ) | [inline] |
Definition at line 47 of file nan_object_wrap.h.
virtual void ObjectWrap::Ref | ( | ) | [inline, protected, virtual] |
Definition at line 90 of file nan_object_wrap.h.
virtual void ObjectWrap::Unref | ( | ) | [inline, protected, virtual] |
Definition at line 105 of file nan_object_wrap.h.
static T* ObjectWrap::Unwrap | ( | v8::Local< v8::Object > | object | ) | [inline, static] |
Definition at line 31 of file nan_object_wrap.h.
static void ObjectWrap::WeakCallback | ( | v8::Persistent< v8::Value > | value, |
void * | data | ||
) | [inline, static, private] |
Definition at line 142 of file nan_object_wrap.h.
void ObjectWrap::Wrap | ( | v8::Local< v8::Object > | object | ) | [inline, protected] |
Definition at line 53 of file nan_object_wrap.h.
Persistent<v8::Object> ObjectWrap::handle_ [private] |
Definition at line 151 of file nan_object_wrap.h.
int ObjectWrap::refs_ [protected] |
Definition at line 113 of file nan_object_wrap.h.