v8  7.4.288(node12.0.0)
V8 is Google's open source JavaScript engine
Eternal< T > Class Template Reference

#include <v8.h>

Public Member Functions

V8_INLINE Eternal ()
 
template<class S >
V8_INLINE Eternal (Isolate *isolate, Local< S > handle)
 
V8_INLINE Local< T > Get (Isolate *isolate) const
 
V8_INLINE bool IsEmpty () const
 
template<class S >
V8_INLINE void Set (Isolate *isolate, Local< S > handle)
 
template<class S >
void Set (Isolate *isolate, Local< S > handle)
 

Detailed Description

template<class T>
class v8::Eternal< T >

Eternal handles are set-once handles that live for the lifetime of the isolate.

Definition at line 89 of file v8.h.

Constructor & Destructor Documentation

◆ Eternal() [1/2]

V8_INLINE Eternal ( )
inline

Definition at line 384 of file v8.h.

◆ Eternal() [2/2]

V8_INLINE Eternal ( Isolate isolate,
Local< S >  handle 
)
inline

Definition at line 386 of file v8.h.

References Eternal< T >::Set().

Member Function Documentation

◆ Get()

Local< T > Get ( Isolate isolate) const

Definition at line 9730 of file v8.h.

◆ IsEmpty()

V8_INLINE bool IsEmpty ( ) const
inline

Definition at line 391 of file v8.h.

◆ Set() [1/2]

V8_INLINE void Set ( Isolate isolate,
Local< S >  handle 
)

Referenced by Eternal< T >::Eternal().

◆ Set() [2/2]

void Set ( Isolate isolate,
Local< S >  handle 
)

Definition at line 9723 of file v8.h.

References TYPE_CHECK.


The documentation for this class was generated from the following file: