#include <v8-persistent-handle.h>
Public Types | |
| using | MoveOnlyTypeForCPP03 = void |
Public Member Functions | |
| Global ()=default | |
| template<class S > requires (std::is_base_of_v<T, S>) | |
| Global (Isolate *isolate, Local< S > that) | |
| template<class S > requires (std::is_base_of_v<T, S>) | |
| Global (Isolate *isolate, const PersistentBase< S > &that) | |
| Global (Global &&other) | |
| ~Global () | |
| template<class S > | |
| Global & | operator= (Global< S > &&rhs) |
| Global | Pass () |
| Global (const Global &)=delete | |
| void | operator= (const Global &)=delete |
| template<class S > | |
| Global< T > & | operator= (Global< S > &&rhs) |
Public Member Functions inherited from v8::PersistentBase< T > | |
| void | Reset () |
| template<class S > | |
| void | Reset (Isolate *isolate, const Local< S > &other) |
| template<class S > | |
| void | Reset (Isolate *isolate, const PersistentBase< S > &other) |
| Local< T > | Get (Isolate *isolate) const |
| template<class S > | |
| bool | operator== (const PersistentBase< S > &that) const |
| template<class S > | |
| bool | operator== (const Local< S > &that) const |
| template<class S > | |
| bool | operator!= (const PersistentBase< S > &that) const |
| template<class S > | |
| bool | operator!= (const Local< S > &that) const |
| template<typename P > | |
| void | SetWeak (P *parameter, typename WeakCallbackInfo< P >::Callback callback, WeakCallbackType type) |
| void | SetWeak () |
| template<typename P > | |
| P * | ClearWeak () |
| void | ClearWeak () |
| void | AnnotateStrongRetainer (const char *label) |
| bool | IsWeak () const |
| void | SetWrapperClassId (uint16_t class_id) |
| uint16_t | WrapperClassId () const |
| PersistentBase (const PersistentBase &other)=delete | |
| void | operator= (const PersistentBase &)=delete |
Public Member Functions inherited from v8::api_internal::IndirectHandleBase | |
| bool | IsEmpty () const |
| void | Clear () |
Friends | |
| template<class F > | |
| class | ReturnValue |
Additional Inherited Members | |
Protected Member Functions inherited from v8::api_internal::IndirectHandleBase | |
| IndirectHandleBase ()=default | |
| IndirectHandleBase (const IndirectHandleBase &other)=default | |
| IndirectHandleBase & | operator= (const IndirectHandleBase &that)=default |
| IndirectHandleBase (internal::Address *location) | |
| internal::Address | ptr () const |
| internal::Address *const & | slot () const |
| internal::Address *& | slot () |
| template<typename T , bool check_null = false> | |
| T * | value () const |
| internal::ValueHelper::InternalRepresentationType | repr () const |
A PersistentBase which has move semantics.
Note: Persistent class hierarchy is subject to future changes.
| using v8::Global< T >::MoveOnlyTypeForCPP03 = void |
|
inlinedefault |
A Global with no storage cell.
|
inline |
|
inline |
Construct a Global from a PersistentBase with automatic up casting. When the Persistent is non-empty, a new storage cell is created pointing to the same object, and no flags are set.
|
inline |
Move constructor.
|
inline |
|
delete |
|
delete |
|
inline |
Move via assignment.
| Global< T > & v8::Global< T >::operator= | ( | Global< S > && | rhs | ) |
|
inline |
Pass allows returning uniques from functions, etc.