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

#include <nan_persistent_pre_12_inl.h>

Inheritance diagram for 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 PersistentBase< T >

Definition at line 13 of file nan_persistent_pre_12_inl.h.


Constructor & Destructor Documentation

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

Definition at line 24 of file nan_persistent_pre_12_inl.h.

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

Definition at line 103 of file nan_persistent_pre_12_inl.h.

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

Definition at line 105 of file nan_persistent_pre_12_inl.h.


Member Function Documentation

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

Definition at line 92 of file nan_persistent_pre_12_inl.h.

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

Definition at line 64 of file nan_persistent_pre_12_inl.h.

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

Definition at line 62 of file nan_persistent_pre_12_inl.h.

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

Definition at line 96 of file nan_persistent_pre_12_inl.h.

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

Definition at line 98 of file nan_persistent_pre_12_inl.h.

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

Definition at line 100 of file nan_persistent_pre_12_inl.h.

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

Definition at line 94 of file nan_persistent_pre_12_inl.h.

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

Definition at line 77 of file nan_persistent_pre_12_inl.h.

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

Definition at line 82 of file nan_persistent_pre_12_inl.h.

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

Definition at line 67 of file nan_persistent_pre_12_inl.h.

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

Definition at line 72 of file nan_persistent_pre_12_inl.h.

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

Reimplemented in Global< T >, Persistent< T, M >, and Persistent< v8::Object >.

Definition at line 27 of file nan_persistent_pre_12_inl.h.

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

Reimplemented in Global< T >, Persistent< T, M >, and Persistent< v8::Object >.

Definition at line 33 of file nan_persistent_pre_12_inl.h.

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

Definition at line 48 of file nan_persistent_pre_12_inl.h.

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

Reimplemented in Global< T >, Persistent< T, M >, and Persistent< v8::Object >.

Definition at line 402 of file nan_weak.h.


Friends And Related Function Documentation

template<typename T>
friend class Global [friend]

Definition at line 107 of file nan_persistent_pre_12_inl.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 108 of file nan_persistent_pre_12_inl.h.

template<typename T>
friend class Persistent [friend]

Definition at line 106 of file nan_persistent_pre_12_inl.h.

template<typename T>
friend class ReturnValue [friend]

Reimplemented in Global< T >.

Definition at line 21 of file nan_persistent_pre_12_inl.h.


Member Data Documentation

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

Definition at line 14 of file nan_persistent_pre_12_inl.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