Public Member Functions | Private Member Functions | Private Attributes | Friends
Nan::PersistentBase< T > Class Template Reference

#include <nan.h>

Inheritance diagram for Nan::PersistentBase< T >:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

template<typename T>
class Nan::PersistentBase< T >

Definition at line 14 of file nan.h.


Constructor & Destructor Documentation

template<typename T>
Nan::PersistentBase< T >::PersistentBase ( ) [inline]

Definition at line 25 of file nan.h.

template<typename T>
Nan::PersistentBase< T >::PersistentBase ( v8::Persistent< T >  that) [inline, explicit, private]

Definition at line 104 of file nan.h.

template<typename T>
Nan::PersistentBase< T >::PersistentBase ( T *  val) [inline, explicit, private]

Definition at line 106 of file nan.h.


Member Function Documentation

template<typename T>
void Nan::PersistentBase< T >::ClearWeak ( ) [inline]

Definition at line 93 of file nan.h.

template<typename T>
void Nan::PersistentBase< T >::Empty ( ) [inline]

Definition at line 65 of file nan.h.

template<typename T>
bool Nan::PersistentBase< T >::IsEmpty ( ) const [inline]

Definition at line 63 of file nan.h.

template<typename T>
bool Nan::PersistentBase< T >::IsIndependent ( ) const [inline]

Definition at line 97 of file nan.h.

template<typename T>
bool Nan::PersistentBase< T >::IsNearDeath ( ) const [inline]

Definition at line 99 of file nan.h.

template<typename T>
bool Nan::PersistentBase< T >::IsWeak ( ) const [inline]

Definition at line 101 of file nan.h.

template<typename T>
void Nan::PersistentBase< T >::MarkIndependent ( ) [inline]

Definition at line 95 of file nan.h.

template<typename T>
template<typename S >
bool Nan::PersistentBase< T >::operator!= ( const PersistentBase< S > &  that) const [inline]

Definition at line 78 of file nan.h.

template<typename T>
template<typename S >
bool Nan::PersistentBase< T >::operator!= ( const v8::Local< S > &  that) const [inline]

Definition at line 83 of file nan.h.

template<typename T>
template<typename S >
bool Nan::PersistentBase< T >::operator== ( const PersistentBase< S > &  that) const [inline]

Definition at line 68 of file nan.h.

template<typename T>
template<typename S >
bool Nan::PersistentBase< T >::operator== ( const v8::Local< S > &  that) const [inline]

Definition at line 73 of file nan.h.

template<typename T>
void Nan::PersistentBase< T >::Reset ( ) [inline]

Definition at line 28 of file nan.h.

template<typename T>
template<typename S >
void Nan::PersistentBase< T >::Reset ( const v8::Local< S > &  other) [inline]

Definition at line 34 of file nan.h.

template<typename T>
template<typename S >
void Nan::PersistentBase< T >::Reset ( const PersistentBase< S > &  other) [inline]

Definition at line 49 of file nan.h.

template<typename T >
template<typename P >
void PersistentBase< T >::SetWeak ( P *  parameter,
typename WeakCallbackInfo< P >::Callback  callback,
WeakCallbackType  type 
) [inline]

Definition at line 403 of file nan.h.


Friends And Related Function Documentation

template<typename T>
friend class Global [friend]

Definition at line 108 of file nan.h.

template<typename T>
template<typename U >
v8::Local<U> New ( const PersistentBase< U > &  p) [friend]
template<typename T>
template<typename U , typename M >
v8::Local<U> New ( const Persistent< U, M > &  p) [friend]
template<typename T>
template<typename U >
v8::Local<U> New ( const Global< U > &  p) [friend]
template<typename T>
friend class ObjectWrap [friend]

Definition at line 109 of file nan.h.

template<typename T>
friend class Persistent [friend]

Definition at line 107 of file nan.h.

template<typename T>
friend class ReturnValue [friend]

Reimplemented in Nan::Global< T >.

Definition at line 22 of file nan.h.


Member Data Documentation

template<typename T>
v8::Persistent<T> Nan::PersistentBase< T >::persistent [private]

Definition at line 15 of file nan.h.


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


dji_ronin
Author(s):
autogenerated on Sat Jun 8 2019 20:15:32