#include <nan.h>
Public Member Functions | |
void | ClearWeak () |
void | Empty () |
bool | IsEmpty () const |
bool | IsIndependent () const |
bool | IsNearDeath () const |
bool | IsWeak () const |
void | MarkIndependent () |
template<typename S > | |
bool | operator!= (const PersistentBase< S > &that) const |
template<typename S > | |
bool | operator!= (const v8::Local< S > &that) const |
template<typename S > | |
bool | operator== (const PersistentBase< S > &that) const |
template<typename S > | |
bool | operator== (const v8::Local< S > &that) const |
PersistentBase () | |
void | Reset () |
template<typename S > | |
void | Reset (const v8::Local< S > &other) |
template<typename S > | |
void | Reset (const PersistentBase< S > &other) |
template<typename P > | |
void | SetWeak (P *parameter, typename WeakCallbackInfo< P >::Callback callback, WeakCallbackType type) |
Private Member Functions | |
PersistentBase (v8::Persistent< T > that) | |
PersistentBase (T *val) | |
Private Attributes | |
v8::Persistent< T > | persistent |
Friends | |
class | Global |
template<typename U > | |
v8::Local< U > | New (const PersistentBase< U > &p) |
template<typename U , typename M > | |
v8::Local< U > | New (const Persistent< U, M > &p) |
template<typename U > | |
v8::Local< U > | New (const Global< U > &p) |
class | ObjectWrap |
class | Persistent |
class | ReturnValue |
Nan::PersistentBase< T >::PersistentBase | ( | ) | [inline] |
Nan::PersistentBase< T >::PersistentBase | ( | v8::Persistent< T > | that | ) | [inline, explicit, private] |
Nan::PersistentBase< T >::PersistentBase | ( | T * | val | ) | [inline, explicit, private] |
void Nan::PersistentBase< T >::ClearWeak | ( | ) | [inline] |
void Nan::PersistentBase< T >::Empty | ( | ) | [inline] |
bool Nan::PersistentBase< T >::IsEmpty | ( | ) | const [inline] |
bool Nan::PersistentBase< T >::IsIndependent | ( | ) | const [inline] |
bool Nan::PersistentBase< T >::IsNearDeath | ( | ) | const [inline] |
bool Nan::PersistentBase< T >::IsWeak | ( | ) | const [inline] |
void Nan::PersistentBase< T >::MarkIndependent | ( | ) | [inline] |
bool Nan::PersistentBase< T >::operator!= | ( | const PersistentBase< S > & | that | ) | const [inline] |
bool Nan::PersistentBase< T >::operator!= | ( | const v8::Local< S > & | that | ) | const [inline] |
bool Nan::PersistentBase< T >::operator== | ( | const PersistentBase< S > & | that | ) | const [inline] |
bool Nan::PersistentBase< T >::operator== | ( | const v8::Local< S > & | that | ) | const [inline] |
void Nan::PersistentBase< T >::Reset | ( | ) | [inline] |
void Nan::PersistentBase< T >::Reset | ( | const v8::Local< S > & | other | ) | [inline] |
void Nan::PersistentBase< T >::Reset | ( | const PersistentBase< S > & | other | ) | [inline] |
void PersistentBase< T >::SetWeak | ( | P * | parameter, |
typename WeakCallbackInfo< P >::Callback | callback, | ||
WeakCallbackType | type | ||
) | [inline] |
v8::Local<U> New | ( | const PersistentBase< U > & | p | ) | [friend] |
v8::Local<U> New | ( | const Persistent< U, M > & | p | ) | [friend] |
friend class ObjectWrap [friend] |
friend class Persistent [friend] |
friend class ReturnValue [friend] |
Reimplemented in Nan::Global< T >.
v8::Persistent<T> Nan::PersistentBase< T >::persistent [private] |