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

#include <managed.h>

Inheritance diagram for v8::internal::TrustedManaged< CppType >:
Collaboration diagram for v8::internal::TrustedManaged< CppType >:

Public Member Functions

 TrustedManaged ()
 
 TrustedManaged (Address ptr)
 
V8_INLINE constexpr TrustedManaged (Address ptr, SkipTypeCheckTag)
 
TrustedManagedoperator-> ()
 
const TrustedManagedoperator-> () const
 
V8_INLINE CppType * raw ()
 
V8_INLINE const std::shared_ptr< CppType > & get ()
 

Static Public Member Functions

static DirectHandle< TrustedManaged< CppType > > From (Isolate *isolate, size_t estimated_size, std::shared_ptr< CppType > shared_ptr)
 

Private Member Functions

std::shared_ptr< CppType > * GetSharedPtrPtr ()
 

Friends

class Tagged< TrustedManaged >
 

Additional Inherited Members

- Public Types inherited from v8::internal::TrustedForeign
using BodyDescriptor = FixedBodyDescriptorFor<TrustedForeign>
 

Detailed Description

template<typename CppType>
class v8::internal::TrustedManaged< CppType >

Definition at line 69 of file wasm-objects.h.

Constructor & Destructor Documentation

◆ TrustedManaged() [1/3]

template<typename CppType >
v8::internal::TrustedManaged< CppType >::TrustedManaged ( )
inline

Definition at line 144 of file managed.h.

◆ TrustedManaged() [2/3]

template<typename CppType >
v8::internal::TrustedManaged< CppType >::TrustedManaged ( Address ptr)
inlineexplicit

Definition at line 145 of file managed.h.

◆ TrustedManaged() [3/3]

template<typename CppType >
V8_INLINE constexpr v8::internal::TrustedManaged< CppType >::TrustedManaged ( Address ptr,
SkipTypeCheckTag  )
inlineconstexpr

Definition at line 146 of file managed.h.

Member Function Documentation

◆ From()

template<class CppType >
DirectHandle< TrustedManaged< CppType > > v8::internal::TrustedManaged< CppType >::From ( Isolate * isolate,
size_t estimated_size,
std::shared_ptr< CppType > shared_ptr )
static

Definition at line 52 of file managed-inl.h.

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

◆ get()

template<typename CppType >
V8_INLINE const std::shared_ptr< CppType > & v8::internal::TrustedManaged< CppType >::get ( )
inline

Definition at line 158 of file managed.h.

◆ GetSharedPtrPtr()

template<typename CppType >
std::shared_ptr< CppType > * v8::internal::TrustedManaged< CppType >::GetSharedPtrPtr ( )
inlineprivate

Definition at line 171 of file managed.h.

◆ operator->() [1/2]

template<typename CppType >
TrustedManaged * v8::internal::TrustedManaged< CppType >::operator-> ( )
inline

Definition at line 151 of file managed.h.

◆ operator->() [2/2]

template<typename CppType >
const TrustedManaged * v8::internal::TrustedManaged< CppType >::operator-> ( ) const
inline

Definition at line 152 of file managed.h.

◆ raw()

template<typename CppType >
V8_INLINE CppType * v8::internal::TrustedManaged< CppType >::raw ( )
inline

Definition at line 155 of file managed.h.

Friends And Related Symbol Documentation

◆ Tagged< TrustedManaged >

template<typename CppType >
friend class Tagged< TrustedManaged >
friend

Definition at line 162 of file managed.h.


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