![]() |
v8 13.6.233 (node 24.1.0)
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 MemberStorageType, typename = std::enable_if_t<std::is_base_of<T, U>::value>> | |
| BasicPersistent (const internal::BasicMember< U, MemberBarrierPolicy, MemberWeaknessTag, MemberCheckingPolicy, MemberStorageType > &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) noexcept |
| template<typename U, typename MemberBarrierPolicy, typename MemberWeaknessTag, typename MemberCheckingPolicy, typename MemberStorageType, typename = std::enable_if_t<std::is_base_of<T, U>::value>> | |
| BasicPersistent & | operator= (const internal::BasicMember< U, MemberBarrierPolicy, MemberWeaknessTag, MemberCheckingPolicy, MemberStorageType > &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 | internal::RootVisitor |
Additional Inherited Members | |
Protected Member Functions inherited from PersistentBase | |
| PersistentBase ()=default | |
| PersistentBase (const void *raw) | |
| const void * | GetValue () const |
| void | SetValue (const void *value) |
| PersistentNode * | GetNode () const |
| void | SetNode (PersistentNode *node) |
| void | ClearFromGC () const |
Protected Attributes inherited from PersistentBase | |
| const void * | raw_ = nullptr |
| PersistentNode * | node_ = nullptr |
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.
|
inline |
Definition at line 82 of file persistent.h.
|
inline |
Definition at line 87 of file persistent.h.
|
inline |
Definition at line 96 of file persistent.h.
|
inlinenoexcept |
Definition at line 104 of file persistent.h.
|
inline |
Definition at line 121 of file persistent.h.
|
inline |
Definition at line 127 of file persistent.h.
|
inline |
Definition at line 201 of file persistent.h.
Referenced by BasicPersistent< T, internal::StrongPersistentPolicy >::operator=(), BasicPersistent< T, internal::StrongPersistentPolicy >::operator=(), BasicPersistent< T, internal::StrongPersistentPolicy >::Release(), and BasicPersistent< T, internal::StrongPersistentPolicy >::~BasicPersistent().
|
inlineexplicit |
Definition at line 184 of file persistent.h.
|
inline |
Definition at line 187 of file persistent.h.
|
inline |
Definition at line 189 of file persistent.h.
|
inline |
Definition at line 188 of file persistent.h.
|
inlinenoexcept |
Definition at line 144 of file persistent.h.
|
inline |
|
inline |
Definition at line 137 of file persistent.h.
|
inline |
Definition at line 162 of file persistent.h.
|
inline |
Definition at line 179 of file persistent.h.
|
inline |
Definition at line 174 of file persistent.h.
|
inline |
Definition at line 169 of file persistent.h.
|
inline |
Definition at line 211 of file persistent.h.
|
inline |
Definition at line 222 of file persistent.h.
|
inline |
Definition at line 194 of file persistent.h.
|
friend |
Definition at line 270 of file persistent.h.