Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Friends | List of all members
v8::api_internal::IndirectHandleBase Class Reference

#include <v8-handle-base.h>

Inheritance diagram for v8::api_internal::IndirectHandleBase:
[legend]

Public Member Functions

bool IsEmpty () const
 
void Clear ()
 

Protected Member Functions

 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
 
internal::ValueHelper::InternalRepresentationType repr () 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.

Constructor & Destructor Documentation

◆ IndirectHandleBase() [1/3]

v8::api_internal::IndirectHandleBase::IndirectHandleBase ( )
inlineprotecteddefault

◆ IndirectHandleBase() [2/3]

v8::api_internal::IndirectHandleBase::IndirectHandleBase ( const IndirectHandleBase other)
inlineprotecteddefault

◆ IndirectHandleBase() [3/3]

v8::api_internal::IndirectHandleBase::IndirectHandleBase ( internal::Address location)
inlineexplicitprotected

Member Function Documentation

◆ Clear()

void v8::api_internal::IndirectHandleBase::Clear ( )
inline
Here is the caller graph for this function:

◆ IsEmpty()

bool v8::api_internal::IndirectHandleBase::IsEmpty ( ) const
inline
Examples
shell.cc.
Here is the caller graph for this function:

◆ operator=()

IndirectHandleBase & v8::api_internal::IndirectHandleBase::operator= ( const IndirectHandleBase that)
inlineprotecteddefault

◆ ptr()

internal::Address v8::api_internal::IndirectHandleBase::ptr ( ) const
inlineprotected
Here is the caller graph for this function:

◆ repr()

internal::ValueHelper::InternalRepresentationType v8::api_internal::IndirectHandleBase::repr ( ) const
inlineprotected
Here is the caller graph for this function:

◆ slot() [1/2]

internal::Address *& v8::api_internal::IndirectHandleBase::slot ( )
inlineprotected

◆ slot() [2/2]

internal::Address *const & v8::api_internal::IndirectHandleBase::slot ( ) const
inlineprotected
Here is the caller graph for this function:

◆ value()

template<typename T , bool check_null = false>
T * v8::api_internal::IndirectHandleBase::value ( ) const
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ internal::HandleHelper

friend class internal::HandleHelper
friend

◆ internal::ValueHelper

friend class internal::ValueHelper
friend

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