v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cppgc::internal::RawPointer Class Referencefinal

#include <member-storage.h>

Collaboration diagram for cppgc::internal::RawPointer:

Classes

struct  AtomicInitializerTag
 

Public Types

using IntegralType = uintptr_t
 

Public Member Functions

V8_INLINE RawPointer ()
 
V8_INLINE RawPointer (const void *ptr, AtomicInitializerTag)
 
V8_INLINE RawPointer (const void *ptr)
 
V8_INLINE const void * Load () const
 
V8_INLINE const void * LoadAtomic () const
 
V8_INLINE void Store (const void *ptr)
 
V8_INLINE void StoreAtomic (const void *ptr)
 
V8_INLINE void Clear ()
 
V8_INLINE bool IsCleared () const
 
V8_INLINE bool IsSentinel () const
 
V8_INLINE uintptr_t GetAsInteger () const
 

Static Public Member Functions

template<typename Callback >
static V8_INLINE void VisitPossiblePointers (const void *address, Callback callback)
 

Static Public Attributes

static constexpr auto kWriteBarrierSlotType
 

Private Attributes

const void * ptr_
 

Friends

V8_INLINE friend bool operator== (RawPointer a, RawPointer b)
 
V8_INLINE friend bool operator!= (RawPointer a, RawPointer b)
 
V8_INLINE friend bool operator< (RawPointer a, RawPointer b)
 
V8_INLINE friend bool operator<= (RawPointer a, RawPointer b)
 
V8_INLINE friend bool operator> (RawPointer a, RawPointer b)
 
V8_INLINE friend bool operator>= (RawPointer a, RawPointer b)
 

Detailed Description

Definition at line 228 of file member-storage.h.

Member Typedef Documentation

◆ IntegralType

Definition at line 232 of file member-storage.h.

Constructor & Destructor Documentation

◆ RawPointer() [1/3]

V8_INLINE cppgc::internal::RawPointer::RawPointer ( )
inline

Definition at line 236 of file member-storage.h.

◆ RawPointer() [2/3]

V8_INLINE cppgc::internal::RawPointer::RawPointer ( const void * ptr,
AtomicInitializerTag  )
inlineexplicit

Definition at line 237 of file member-storage.h.

◆ RawPointer() [3/3]

V8_INLINE cppgc::internal::RawPointer::RawPointer ( const void * ptr)
inlineexplicit

Definition at line 240 of file member-storage.h.

Member Function Documentation

◆ Clear()

V8_INLINE void cppgc::internal::RawPointer::Clear ( )
inline

Definition at line 254 of file member-storage.h.

◆ GetAsInteger()

V8_INLINE uintptr_t cppgc::internal::RawPointer::GetAsInteger ( ) const
inline

Definition at line 259 of file member-storage.h.

◆ IsCleared()

V8_INLINE bool cppgc::internal::RawPointer::IsCleared ( ) const
inline

Definition at line 255 of file member-storage.h.

Here is the caller graph for this function:

◆ IsSentinel()

V8_INLINE bool cppgc::internal::RawPointer::IsSentinel ( ) const
inline

Definition at line 257 of file member-storage.h.

Here is the caller graph for this function:

◆ Load()

V8_INLINE const void * cppgc::internal::RawPointer::Load ( ) const
inline

Definition at line 242 of file member-storage.h.

Here is the caller graph for this function:

◆ LoadAtomic()

V8_INLINE const void * cppgc::internal::RawPointer::LoadAtomic ( ) const
inline

Definition at line 243 of file member-storage.h.

Here is the caller graph for this function:

◆ Store()

V8_INLINE void cppgc::internal::RawPointer::Store ( const void * ptr)
inline

Definition at line 248 of file member-storage.h.

◆ StoreAtomic()

V8_INLINE void cppgc::internal::RawPointer::StoreAtomic ( const void * ptr)
inline

Definition at line 249 of file member-storage.h.

Here is the call graph for this function:

◆ VisitPossiblePointers()

template<typename Callback >
static V8_INLINE void cppgc::internal::RawPointer::VisitPossiblePointers ( const void * address,
Callback callback )
inlinestatic

Definition at line 283 of file member-storage.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator!=

V8_INLINE friend bool operator!= ( RawPointer a,
RawPointer b )
friend

Definition at line 266 of file member-storage.h.

◆ operator<

V8_INLINE friend bool operator< ( RawPointer a,
RawPointer b )
friend

Definition at line 269 of file member-storage.h.

◆ operator<=

V8_INLINE friend bool operator<= ( RawPointer a,
RawPointer b )
friend

Definition at line 272 of file member-storage.h.

◆ operator==

V8_INLINE friend bool operator== ( RawPointer a,
RawPointer b )
friend

Definition at line 263 of file member-storage.h.

◆ operator>

V8_INLINE friend bool operator> ( RawPointer a,
RawPointer b )
friend

Definition at line 275 of file member-storage.h.

◆ operator>=

V8_INLINE friend bool operator>= ( RawPointer a,
RawPointer b )
friend

Definition at line 278 of file member-storage.h.

Member Data Documentation

◆ kWriteBarrierSlotType

auto cppgc::internal::RawPointer::kWriteBarrierSlotType
staticconstexpr

◆ ptr_

const void* cppgc::internal::RawPointer::ptr_
private

Definition at line 293 of file member-storage.h.


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