v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::LocalBase< T > Class Template Reference

#include <v8-local-handle.h>

Inheritance diagram for v8::LocalBase< T >:
Collaboration diagram for v8::LocalBase< T >:

Protected Member Functions

V8_INLINE LocalBase ()=default
 
V8_INLINE LocalBase (internal::Address *location)
 
template<typename S >
V8_INLINE LocalBase (const LocalBase< S > &other)
 
- Protected Member Functions inherited from v8::api_internal::IndirectHandleBase
V8_INLINE IndirectHandleBase ()=default
 
V8_INLINE IndirectHandleBase (const IndirectHandleBase &other)=default
 
V8_INLINE IndirectHandleBaseoperator= (const IndirectHandleBase &that)=default
 
V8_INLINE IndirectHandleBase (internal::Address *location)
 
V8_INLINE internal::Address ptr () const
 
V8_INLINE internal::Address *const & slot () const
 
V8_INLINE internal::Address *& slot ()
 
template<typename T , bool check_null = false>
V8_INLINE Tvalue () const
 
V8_INLINE internal::ValueHelper::InternalRepresentationType repr () const
 

Static Protected Member Functions

static V8_INLINE LocalBase< TNew (Isolate *isolate, internal::Address value)
 
static V8_INLINE LocalBase< TNew (Isolate *isolate, T *that)
 
static V8_INLINE LocalBase< TFromSlot (internal::Address *slot)
 
static V8_INLINE LocalBase< TFromRepr (internal::ValueHelper::InternalRepresentationType repr)
 

Friends

template<class F >
class Local
 

Additional Inherited Members

- Public Member Functions inherited from v8::api_internal::IndirectHandleBase
V8_INLINE bool IsEmpty () const
 
V8_INLINE void Clear ()
 

Detailed Description

template<typename T>
class v8::LocalBase< T >

A base class for local handles. Its implementation depends on whether direct handle support is enabled. When it is, a local handle contains a direct pointer to the referenced object, otherwise it contains an indirect pointer.

Definition at line 195 of file v8-local-handle.h.

Constructor & Destructor Documentation

◆ LocalBase() [1/3]

template<typename T >
V8_INLINE v8::LocalBase< T >::LocalBase ( )
protecteddefault
Here is the caller graph for this function:

◆ LocalBase() [2/3]

template<typename T >
V8_INLINE v8::LocalBase< T >::LocalBase ( internal::Address * location)
inlineexplicitprotected

Definition at line 202 of file v8-local-handle.h.

◆ LocalBase() [3/3]

template<typename T >
template<typename S >
V8_INLINE v8::LocalBase< T >::LocalBase ( const LocalBase< S > & other)
inlineprotected

Definition at line 206 of file v8-local-handle.h.

Member Function Documentation

◆ FromRepr()

template<typename T >
static V8_INLINE LocalBase< T > v8::LocalBase< T >::FromRepr ( internal::ValueHelper::InternalRepresentationType repr)
inlinestaticprotected

Definition at line 223 of file v8-local-handle.h.

Here is the call graph for this function:

◆ FromSlot()

template<typename T >
static V8_INLINE LocalBase< T > v8::LocalBase< T >::FromSlot ( internal::Address * slot)
inlinestaticprotected

Definition at line 219 of file v8-local-handle.h.

Here is the call graph for this function:

◆ New() [1/2]

template<typename T >
static V8_INLINE LocalBase< T > v8::LocalBase< T >::New ( Isolate * isolate,
internal::Address value )
inlinestaticprotected

Definition at line 208 of file v8-local-handle.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ New() [2/2]

template<typename T >
static V8_INLINE LocalBase< T > v8::LocalBase< T >::New ( Isolate * isolate,
T * that )
inlinestaticprotected

Definition at line 213 of file v8-local-handle.h.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ Local

template<typename T >
template<class F >
friend class Local
friend

Definition at line 198 of file v8-local-handle.h.


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