v8
9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
|
#include <pointer-policies.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 () |
template<typename U , typename OtherWeaknessPolicy = WeaknessPolicy, typename OtherLocationPolicy = LocationPolicy, typename OtherCheckingPolicy = CheckingPolicy> | |
BasicPersistent< U, OtherWeaknessPolicy, OtherLocationPolicy, OtherCheckingPolicy > | To () const |
Friends | |
class | cppgc::Visitor |
Definition at line 134 of file pointer-policies.h.
using PointeeType = T |
Definition at line 60 of file persistent.h.
|
inline |
Definition at line 63 of file persistent.h.
|
inline |
Definition at line 67 of file persistent.h.
|
inline |
Definition at line 71 of file persistent.h.
|
inline |
Definition at line 76 of file persistent.h.
References PersistentBase::GetValue(), Visitor::internal::BasicPersistent, and PersistentBase::SetNode().
|
inline |
Definition at line 85 of file persistent.h.
References Visitor::internal::BasicPersistent.
|
inline |
Definition at line 90 of file persistent.h.
References Visitor::internal::BasicPersistent.
|
inline |
Definition at line 98 of file persistent.h.
References Visitor::internal::BasicPersistent.
|
inlinenoexcept |
Definition at line 106 of file persistent.h.
References PersistentBase::GetNode().
|
inline |
Definition at line 121 of file persistent.h.
References Visitor::internal::BasicPersistent.
|
inline |
Definition at line 127 of file persistent.h.
References BasicPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Clear().
|
inline |
Definition at line 198 of file persistent.h.
References PersistentBase::GetNode(), PersistentBase::GetValue(), PersistentBase::SetNode(), and PersistentBase::SetValue().
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 183 of file persistent.h.
|
inline |
Definition at line 184 of file persistent.h.
|
inline |
Definition at line 186 of file persistent.h.
|
inline |
Definition at line 185 of file persistent.h.
|
inline |
Definition at line 144 of file persistent.h.
References BasicPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Clear(), and PersistentBase::GetNode().
|
inline |
Definition at line 130 of file persistent.h.
|
inline |
Definition at line 137 of file persistent.h.
|
inline |
Definition at line 161 of file persistent.h.
|
inline |
Definition at line 178 of file persistent.h.
|
inline |
Definition at line 173 of file persistent.h.
References BasicPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Clear().
|
inline |
Definition at line 168 of file persistent.h.
|
inline |
Definition at line 208 of file persistent.h.
References BasicPersistent< T, WeaknessPolicy, LocationPolicy, CheckingPolicy >::Clear().
|
inline |
Definition at line 219 of file persistent.h.
References Visitor::internal::BasicPersistent.
|
inline |
Definition at line 191 of file persistent.h.
References PersistentBase::GetValue().
|
friend |
Definition at line 262 of file persistent.h.