#include <nan.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_ |
Nan::ObjectWrap::ObjectWrap | ( | ) | [inline] |
virtual Nan::ObjectWrap::~ObjectWrap | ( | ) | [inline, virtual] |
v8::Local<v8::Object> Nan::ObjectWrap::handle | ( | ) | const [inline] |
void Nan::ObjectWrap::MakeWeak | ( | ) | [inline, protected] |
Persistent<v8::Object>& Nan::ObjectWrap::persistent | ( | ) | [inline] |
virtual void Nan::ObjectWrap::Ref | ( | ) | [inline, protected, virtual] |
virtual void Nan::ObjectWrap::Unref | ( | ) | [inline, protected, virtual] |
static T* Nan::ObjectWrap::Unwrap | ( | v8::Local< v8::Object > | object | ) | [inline, static] |
static void Nan::ObjectWrap::WeakCallback | ( | v8::Persistent< v8::Value > | value, |
void * | data | ||
) | [inline, static, private] |
void Nan::ObjectWrap::Wrap | ( | v8::Local< v8::Object > | object | ) | [inline, protected] |
Persistent<v8::Object> Nan::ObjectWrap::handle_ [private] |
int Nan::ObjectWrap::refs_ [protected] |