Logo ROOT  
Reference Guide
ROOT::Experimental::Detail::RPageSource::RSharedDescriptorGuard Class Reference

An RAII wrapper used for the read-only access to RPageSource::fDescriptor. See GetExclDescriptorGuard().

Definition at line 304 of file RPageStorage.hxx.

Public Member Functions

 RSharedDescriptorGuard (const RNTupleDescriptor &desc, std::shared_mutex &lock)
 
 RSharedDescriptorGuard (const RSharedDescriptorGuard &)=delete
 
 RSharedDescriptorGuard (RSharedDescriptorGuard &&)=delete
 
 ~RSharedDescriptorGuard ()
 
const RNTupleDescriptorGetRef () const
 
const RNTupleDescriptoroperator-> () const
 
RSharedDescriptorGuardoperator= (const RSharedDescriptorGuard &)=delete
 
RSharedDescriptorGuardoperator= (RSharedDescriptorGuard &&)=delete
 

Private Attributes

const RNTupleDescriptorfDescriptor
 
std::shared_mutex & fLock
 

#include <ROOT/RPageStorage.hxx>

Constructor & Destructor Documentation

◆ RSharedDescriptorGuard() [1/3]

ROOT::Experimental::Detail::RPageSource::RSharedDescriptorGuard::RSharedDescriptorGuard ( const RNTupleDescriptor desc,
std::shared_mutex &  lock 
)
inline

Definition at line 309 of file RPageStorage.hxx.

◆ RSharedDescriptorGuard() [2/3]

ROOT::Experimental::Detail::RPageSource::RSharedDescriptorGuard::RSharedDescriptorGuard ( const RSharedDescriptorGuard )
delete

◆ RSharedDescriptorGuard() [3/3]

ROOT::Experimental::Detail::RPageSource::RSharedDescriptorGuard::RSharedDescriptorGuard ( RSharedDescriptorGuard &&  )
delete

◆ ~RSharedDescriptorGuard()

ROOT::Experimental::Detail::RPageSource::RSharedDescriptorGuard::~RSharedDescriptorGuard ( )
inline

Definition at line 317 of file RPageStorage.hxx.

Member Function Documentation

◆ GetRef()

const RNTupleDescriptor & ROOT::Experimental::Detail::RPageSource::RSharedDescriptorGuard::GetRef ( ) const
inline

Definition at line 319 of file RPageStorage.hxx.

◆ operator->()

const RNTupleDescriptor * ROOT::Experimental::Detail::RPageSource::RSharedDescriptorGuard::operator-> ( ) const
inline

Definition at line 318 of file RPageStorage.hxx.

◆ operator=() [1/2]

RSharedDescriptorGuard & ROOT::Experimental::Detail::RPageSource::RSharedDescriptorGuard::operator= ( const RSharedDescriptorGuard )
delete

◆ operator=() [2/2]

RSharedDescriptorGuard & ROOT::Experimental::Detail::RPageSource::RSharedDescriptorGuard::operator= ( RSharedDescriptorGuard &&  )
delete

Member Data Documentation

◆ fDescriptor

const RNTupleDescriptor& ROOT::Experimental::Detail::RPageSource::RSharedDescriptorGuard::fDescriptor
private

Definition at line 305 of file RPageStorage.hxx.

◆ fLock

std::shared_mutex& ROOT::Experimental::Detail::RPageSource::RSharedDescriptorGuard::fLock
private

Definition at line 306 of file RPageStorage.hxx.

Libraries for ROOT::Experimental::Detail::RPageSource::RSharedDescriptorGuard:
[legend]

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