Loading...
Searching...
No Matches
Public Member Functions | List of all members
v8::Eternal< T > Class Template Reference

#include <v8-persistent-handle.h>

Inheritance diagram for v8::Eternal< T >:
[legend]
Collaboration diagram for v8::Eternal< T >:
[legend]

Public Member Functions

 Eternal ()=default
 
template<class S >
 Eternal (Isolate *isolate, Local< S > handle)
 
Local< T > Get (Isolate *isolate) const
 
template<class S >
void Set (Isolate *isolate, Local< S > handle)
 
- Public Member Functions inherited from v8::api_internal::IndirectHandleBase
bool IsEmpty () const
 
void Clear ()
 

Additional Inherited Members

- Protected Member Functions inherited from v8::api_internal::IndirectHandleBase
 IndirectHandleBase ()=default
 
 IndirectHandleBase (const IndirectHandleBase &other)=default
 
IndirectHandleBaseoperator= (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
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ Eternal() [1/2]

template<class T >
v8::Eternal< T >::Eternal ( )
inlinedefault

◆ Eternal() [2/2]

template<class T >
template<class S >
v8::Eternal< T >::Eternal ( Isolate isolate,
Local< S >  handle 
)
inline

Member Function Documentation

◆ Get()

template<class T >
Local< T > v8::Eternal< T >::Get ( Isolate isolate) const
inline
Here is the call graph for this function:

◆ Set()

template<class T >
template<class S >
void v8::Eternal< T >::Set ( Isolate isolate,
Local< S >  handle 
)
inline
Here is the call graph for this function:

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