v8
8.6.395 (node 15.0.1)
V8 is Google's open source JavaScript engine
|
#include <persistent.h>
Public Types | |
using | PointeeType = T |
Public Member Functions | |
BasicPersistent (const SourceLocation &loc=SourceLocation::Current()) | |
BasicPersistent (std::nullptr_t, const SourceLocation &loc=SourceLocation::Current()) | |
BasicPersistent (SentinelPointer s, const SourceLocation &loc=SourceLocation::Current()) | |
BasicPersistent (T *raw, const SourceLocation &loc=SourceLocation::Current()) | |
BasicPersistent (T &raw, const SourceLocation &loc=SourceLocation::Current()) | |
BasicPersistent (const BasicPersistent &other, const SourceLocation &loc=SourceLocation::Current()) | |
template<typename U , typename OtherWeaknessPolicy , typename OtherLocationPolicy , typename OtherCheckingPolicy , typename = std::enable_if_t<std::is_base_of<T, U>::value>> | |
BasicPersistent (const BasicPersistent< U, OtherWeaknessPolicy, OtherLocationPolicy, OtherCheckingPolicy > &other, const SourceLocation &loc=SourceLocation::Current()) | |
BasicPersistent (BasicPersistent &&other, const SourceLocation &loc=SourceLocation::Current()) noexcept | |
template<typename U , typename MemberBarrierPolicy , typename MemberWeaknessTag , typename MemberCheckingPolicy , typename = std::enable_if_t<std::is_base_of<T, U>::value>> | |
BasicPersistent (internal::BasicMember< U, MemberBarrierPolicy, MemberWeaknessTag, MemberCheckingPolicy > member, const SourceLocation &loc=SourceLocation::Current()) | |
~BasicPersistent () | |
BasicPersistent & | operator= (const BasicPersistent &other) |
template<typename U , typename OtherWeaknessPolicy , typename OtherLocationPolicy , typename OtherCheckingPolicy , typename = std::enable_if_t<std::is_base_of<T, U>::value>> | |
BasicPersistent & | operator= (const BasicPersistent< U, OtherWeaknessPolicy, OtherLocationPolicy, OtherCheckingPolicy > &other) |
BasicPersistent & | operator= (BasicPersistent &&other) |
template<typename U , typename MemberBarrierPolicy , typename MemberWeaknessTag , typename MemberCheckingPolicy , typename = std::enable_if_t<std::is_base_of<T, U>::value>> | |
BasicPersistent & | operator= (internal::BasicMember< U, MemberBarrierPolicy, MemberWeaknessTag, MemberCheckingPolicy > member) |
BasicPersistent & | operator= (T *other) |
BasicPersistent & | operator= (std::nullptr_t) |
BasicPersistent & | operator= (SentinelPointer s) |
operator bool () const | |
operator T* () const | |
T * | operator-> () const |
T & | operator* () const |
V8_CLANG_NO_SANITIZE ("cfi-unrelated-cast") T *Get() const | |
void | Clear () |
T * | Release () |
Friends | |
class | cppgc::Visitor |
Additional Inherited Members | |
Protected Member Functions inherited from PersistentBase | |
PersistentBase ()=default | |
PersistentBase (void *raw) | |
void * | GetValue () const |
void | SetValue (void *value) |
PersistentNode * | GetNode () const |
void | SetNode (PersistentNode *node) |
void | ClearFromGC () const |
Definition at line 51 of file persistent.h.
using PointeeType = T |
Definition at line 57 of file persistent.h.
|
inline |
Definition at line 60 of file persistent.h.
|
inline |
Definition at line 64 of file persistent.h.
|
inline |
Definition at line 68 of file persistent.h.
|
inline |
Definition at line 73 of file persistent.h.
References PersistentBase::GetValue(), Visitor::internal::BasicPersistent, and PersistentBase::SetNode().
|
inline |
Definition at line 82 of file persistent.h.
References Visitor::internal::BasicPersistent.
|
inline |
Definition at line 87 of file persistent.h.
References Visitor::internal::BasicPersistent.
|
inline |
Definition at line 95 of file persistent.h.
References Visitor::internal::BasicPersistent.
|
inlinenoexcept |
Definition at line 103 of file persistent.h.
References PersistentBase::GetNode().
|
inline |
Definition at line 118 of file persistent.h.
References Visitor::internal::BasicPersistent.
|
inline |
Definition at line 124 of file persistent.h.
References BasicPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Clear().
|
inline |
Definition at line 192 of file persistent.h.
Referenced by BasicPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::operator=(), BasicPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Release(), and BasicPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::~BasicPersistent().
|
inlineexplicit |
Definition at line 180 of file persistent.h.
|
inline |
Definition at line 181 of file persistent.h.
|
inline |
Definition at line 183 of file persistent.h.
|
inline |
Definition at line 182 of file persistent.h.
|
inline |
Definition at line 141 of file persistent.h.
References BasicPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Clear(), and PersistentBase::GetNode().
|
inline |
Definition at line 127 of file persistent.h.
|
inline |
Definition at line 134 of file persistent.h.
|
inline |
Definition at line 158 of file persistent.h.
|
inline |
Definition at line 175 of file persistent.h.
|
inline |
Definition at line 170 of file persistent.h.
References BasicPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Clear().
|
inline |
Definition at line 165 of file persistent.h.
|
inline |
Definition at line 194 of file persistent.h.
References BasicPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Clear().
|
inline |
Definition at line 188 of file persistent.h.
References PersistentBase::GetValue().
|
friend |
Definition at line 238 of file persistent.h.