v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
IndirectHandleBase Class Reference

#include <v8-handle-base.h>

Inheritance diagram for IndirectHandleBase:

Public Member Functions

V8_INLINE bool IsEmpty () const
 
V8_INLINE void Clear ()
 

Protected Member Functions

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 T * value () const
 

Friends

class internal::ValueHelper
 
class internal::HandleHelper
 

Detailed Description

A base class for abstract handles containing indirect pointers. These are useful regardless of whether direct local support is enabled.

Definition at line 53 of file v8-handle-base.h.

Constructor & Destructor Documentation

◆ IndirectHandleBase() [1/3]

V8_INLINE IndirectHandleBase ( )
protecteddefault

◆ IndirectHandleBase() [2/3]

V8_INLINE IndirectHandleBase ( const IndirectHandleBase other)
protecteddefault

◆ IndirectHandleBase() [3/3]

V8_INLINE IndirectHandleBase ( internal::Address location)
inlineexplicitprotected

Definition at line 70 of file v8-handle-base.h.

Member Function Documentation

◆ Clear()

V8_INLINE void Clear ( )
inline

◆ IsEmpty()

◆ operator=()

V8_INLINE IndirectHandleBase & operator= ( const IndirectHandleBase that)
protecteddefault

◆ ptr()

◆ slot() [1/2]

V8_INLINE internal::Address *& slot ( )
inlineprotected

Definition at line 80 of file v8-handle-base.h.

◆ slot() [2/2]

◆ value()

template<typename T , bool check_null = false>
V8_INLINE T * value ( ) const
inlineprotected

Definition at line 85 of file v8-handle-base.h.

References IndirectHandleBase::slot().

Referenced by LocalBase< T >::New().

Friends And Related Symbol Documentation

◆ internal::HandleHelper

friend class internal::HandleHelper
friend

Definition at line 63 of file v8-handle-base.h.

◆ internal::ValueHelper

friend class internal::ValueHelper
friend

Definition at line 62 of file v8-handle-base.h.


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