Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
cppgc::internal::RootVisitor Class Reference

#include <visitor.h>

Public Member Functions

 RootVisitor (Visitor::Key)
 
virtual ~RootVisitor ()=default
 
template<typename AnyStrongPersistentType , std::enable_if_t< AnyStrongPersistentType::IsStrongPersistent::value > * = nullptr>
void Trace (const AnyStrongPersistentType &p)
 
template<typename AnyWeakPersistentType , std::enable_if_t< !AnyWeakPersistentType::IsStrongPersistent::value > * = nullptr>
void Trace (const AnyWeakPersistentType &p)
 

Protected Member Functions

virtual void VisitRoot (const void *, TraceDescriptor, const SourceLocation &)
 
virtual void VisitWeakRoot (const void *self, TraceDescriptor, WeakCallback, const void *weak_root, const SourceLocation &)
 

Constructor & Destructor Documentation

◆ RootVisitor()

cppgc::internal::RootVisitor::RootVisitor ( Visitor::Key  )
inlineexplicit

◆ ~RootVisitor()

virtual cppgc::internal::RootVisitor::~RootVisitor ( )
virtualdefault

Member Function Documentation

◆ Trace() [1/2]

template<typename AnyStrongPersistentType , std::enable_if_t< AnyStrongPersistentType::IsStrongPersistent::value > * = nullptr>
void cppgc::internal::RootVisitor::Trace ( const AnyStrongPersistentType &  p)
inline

◆ Trace() [2/2]

template<typename AnyWeakPersistentType , std::enable_if_t< !AnyWeakPersistentType::IsStrongPersistent::value > * = nullptr>
void cppgc::internal::RootVisitor::Trace ( const AnyWeakPersistentType &  p)
inline

◆ VisitRoot()

virtual void cppgc::internal::RootVisitor::VisitRoot ( const void *  ,
TraceDescriptor  ,
const SourceLocation  
)
inlineprotectedvirtual

◆ VisitWeakRoot()

virtual void cppgc::internal::RootVisitor::VisitWeakRoot ( const void *  self,
TraceDescriptor  ,
WeakCallback  ,
const void *  weak_root,
const SourceLocation  
)
inlineprotectedvirtual

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