v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
PersistentBase Class Reference

#include <persistent.h>

Inheritance diagram for PersistentBase:
Collaboration diagram for 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]

PersistentBase ( )
protecteddefault

◆ PersistentBase() [2/2]

PersistentBase ( const void *  raw)
inlineexplicitprotected

Definition at line 26 of file persistent.h.

Member Function Documentation

◆ ClearFromGC()

void ClearFromGC ( ) const
inlineprotected

Definition at line 36 of file persistent.h.

References PersistentBase::node_, and PersistentBase::raw_.

◆ GetNode()

◆ GetValue()

◆ SetNode()

◆ SetValue()

Friends And Related Symbol Documentation

◆ PersistentRegionBase

friend class PersistentRegionBase
friend

Definition at line 45 of file persistent.h.

Field Documentation

◆ node_

◆ raw_


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