Loading...
Searching...
No Matches
Protected Member Functions | Protected Attributes | Friends | List of all members
cppgc::internal::PersistentBase Class Reference

#include <persistent.h>

Inheritance diagram for cppgc::internal::PersistentBase:
[legend]
Collaboration diagram for cppgc::internal::PersistentBase:
[legend]

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
 

Constructor & Destructor Documentation

◆ PersistentBase() [1/2]

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

◆ PersistentBase() [2/2]

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

Member Function Documentation

◆ ClearFromGC()

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

◆ GetNode()

PersistentNode * cppgc::internal::PersistentBase::GetNode ( ) const
inlineprotected
Here is the caller graph for this function:

◆ GetValue()

const void * cppgc::internal::PersistentBase::GetValue ( ) const
inlineprotected
Here is the caller graph for this function:

◆ SetNode()

void cppgc::internal::PersistentBase::SetNode ( PersistentNode node)
inlineprotected
Here is the caller graph for this function:

◆ SetValue()

void cppgc::internal::PersistentBase::SetValue ( const void *  value)
inlineprotected
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ PersistentRegionBase

friend class PersistentRegionBase
friend

Member Data Documentation

◆ node_

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

◆ raw_

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

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