Loading...
Searching...
No Matches
Protected Member Functions | Static Protected Member Functions | Friends | List of all members
v8::LocalBase< T > Class Template Reference

#include <v8-local-handle.h>

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

Protected Member Functions

 LocalBase ()=default
 
 LocalBase (internal::Address *location)
 
template<typename S >
 LocalBase (const LocalBase< S > &other)
 
- 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
 
internal::ValueHelper::InternalRepresentationType repr () const
 

Static Protected Member Functions

static LocalBase< T > New (Isolate *isolate, internal::Address value)
 
static LocalBase< T > New (Isolate *isolate, T *that)
 
static LocalBase< T > FromSlot (internal::Address *slot)
 
static LocalBase< T > FromRepr (internal::ValueHelper::InternalRepresentationType repr)
 

Friends

template<class F >
class Local
 

Additional Inherited Members

- Public Member Functions inherited from v8::api_internal::IndirectHandleBase
bool IsEmpty () const
 
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.

Constructor & Destructor Documentation

◆ LocalBase() [1/3]

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

◆ LocalBase() [2/3]

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

◆ LocalBase() [3/3]

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

Member Function Documentation

◆ FromRepr()

template<typename T >
static LocalBase< T > v8::LocalBase< T >::FromRepr ( internal::ValueHelper::InternalRepresentationType  repr)
inlinestaticprotected
Here is the call graph for this function:

◆ FromSlot()

template<typename T >
static LocalBase< T > v8::LocalBase< T >::FromSlot ( internal::Address slot)
inlinestaticprotected
Here is the call graph for this function:

◆ New() [1/2]

template<typename T >
static LocalBase< T > v8::LocalBase< T >::New ( Isolate isolate,
internal::Address  value 
)
inlinestaticprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ New() [2/2]

template<typename T >
static LocalBase< T > v8::LocalBase< T >::New ( Isolate isolate,
T *  that 
)
inlinestaticprotected
Here is the call graph for this function:

Friends And Related Function Documentation

◆ Local

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

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