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

#include <persistent.h>

Inheritance diagram for cppgc::internal::PersistentBase:
Collaboration diagram for cppgc::internal::PersistentBase:

Protected Member Functions

 PersistentBase ()=default
 
 PersistentBase (const void *raw)
 
const void * GetValue () const
 
void SetValue (const void *value)
 
PersistentNodeGetNode () const
 
void SetNode (PersistentNode *node)
 
void ClearFromGC () const
 

Protected Attributes

const void * raw_ = nullptr
 
PersistentNodenode_ = nullptr
 

Friends

class PersistentRegionBase
 

Detailed Description

Definition at line 23 of file persistent.h.

Constructor & Destructor Documentation

◆ PersistentBase() [1/2]

cppgc::internal::PersistentBase::PersistentBase ( )
protecteddefault

◆ PersistentBase() [2/2]

cppgc::internal::PersistentBase::PersistentBase ( const void * raw)
inlineexplicitprotected

Definition at line 26 of file persistent.h.

Member Function Documentation

◆ ClearFromGC()

void cppgc::internal::PersistentBase::ClearFromGC ( ) const
inlineprotected

Definition at line 36 of file persistent.h.

Here is the caller graph for this function:

◆ GetNode()

PersistentNode * cppgc::internal::PersistentBase::GetNode ( ) const
inlineprotected

Definition at line 31 of file persistent.h.

Here is the caller graph for this function:

◆ GetValue()

const void * cppgc::internal::PersistentBase::GetValue ( ) const
inlineprotected

Definition at line 28 of file persistent.h.

Here is the caller graph for this function:

◆ SetNode()

void cppgc::internal::PersistentBase::SetNode ( PersistentNode * node)
inlineprotected

Definition at line 32 of file persistent.h.

Here is the caller graph for this function:

◆ SetValue()

void cppgc::internal::PersistentBase::SetValue ( const void * value)
inlineprotected

Definition at line 29 of file persistent.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ PersistentRegionBase

friend class PersistentRegionBase
friend

Definition at line 45 of file persistent.h.

Member Data Documentation

◆ node_

PersistentNode* cppgc::internal::PersistentBase::node_ = nullptr
mutableprotected

Definition at line 43 of file persistent.h.

◆ raw_

const void* cppgc::internal::PersistentBase::raw_ = nullptr
mutableprotected

Definition at line 42 of file persistent.h.


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