Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Internal::RPageSource::RSharedDescriptorGuard Class Reference

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

Definition at line 410 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::Internal::RPageSource::RSharedDescriptorGuard::RSharedDescriptorGuard ( const RNTupleDescriptor desc,
std::shared_mutex &  lock 
)
inline

Definition at line 415 of file RPageStorage.hxx.

◆ RSharedDescriptorGuard() [2/3]

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

◆ RSharedDescriptorGuard() [3/3]

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

◆ ~RSharedDescriptorGuard()

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

Definition at line 423 of file RPageStorage.hxx.

Member Function Documentation

◆ GetRef()

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

Definition at line 425 of file RPageStorage.hxx.

◆ operator->()

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

Definition at line 424 of file RPageStorage.hxx.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ fDescriptor

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

Definition at line 411 of file RPageStorage.hxx.

◆ fLock

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

Definition at line 412 of file RPageStorage.hxx.

Libraries for ROOT::Experimental::Internal::RPageSource::RSharedDescriptorGuard:

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