#include <v8.h>
Public Types | |
| typedef void | MoveOnlyTypeForCPP03 |
Public Member Functions | |
| Global () | |
| template<class S > | |
| Global (Isolate *isolate, Local< S > that) | |
| template<class 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 |
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) |
| bool | IsEmpty () const |
| void | Empty () |
| 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 | RegisterExternalReference (Isolate *isolate) const |
| void | MarkIndependent () |
| void | MarkActive () |
| bool | IsIndependent () const |
| bool | IsNearDeath () const |
| bool | IsWeak () const |
| void | SetWrapperClassId (uint16_t class_id) |
| uint16_t | WrapperClassId () const |
| PersistentBase (const PersistentBase &other)=delete | |
| void | operator= (const PersistentBase &)=delete |
Friends | |
| template<class F > | |
| class | ReturnValue |
A PersistentBase which has move semantics.
Note: Persistent class hierarchy is subject to future changes.
| typedef void v8::Global< T >::MoveOnlyTypeForCPP03 |
|
inline |
A Global with no storage cell.
|
inline |
|
inline |
Construct a Global from a PersistentBase. 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.
|
inline |
Pass allows returning uniques from functions, etc.