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

An RAII wrapper used for the writable access to RPageSource::fDescriptor. See GetSharedDescriptorGuard().

Definition at line 323 of file RPageStorage.hxx.

Public Member Functions

 RExclDescriptorGuard (const RExclDescriptorGuard &)=delete
 
 RExclDescriptorGuard (RExclDescriptorGuard &&)=delete
 
 RExclDescriptorGuard (RNTupleDescriptor &desc, std::shared_mutex &lock)
 
 ~RExclDescriptorGuard ()
 
void MoveIn (RNTupleDescriptor &&desc)
 
RNTupleDescriptoroperator-> () const
 
RExclDescriptorGuardoperator= (const RExclDescriptorGuard &)=delete
 
RExclDescriptorGuardoperator= (RExclDescriptorGuard &&)=delete
 

Private Attributes

RNTupleDescriptorfDescriptor
 
std::shared_mutex & fLock
 

#include <ROOT/RPageStorage.hxx>

Constructor & Destructor Documentation

◆ RExclDescriptorGuard() [1/3]

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

Definition at line 328 of file RPageStorage.hxx.

◆ RExclDescriptorGuard() [2/3]

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

◆ RExclDescriptorGuard() [3/3]

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

◆ ~RExclDescriptorGuard()

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

Definition at line 336 of file RPageStorage.hxx.

Member Function Documentation

◆ MoveIn()

void ROOT::Experimental::Detail::RPageSource::RExclDescriptorGuard::MoveIn ( RNTupleDescriptor &&  desc)
inline

Definition at line 342 of file RPageStorage.hxx.

◆ operator->()

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

Definition at line 341 of file RPageStorage.hxx.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ fDescriptor

RNTupleDescriptor& ROOT::Experimental::Detail::RPageSource::RExclDescriptorGuard::fDescriptor
private

Definition at line 324 of file RPageStorage.hxx.

◆ fLock

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

Definition at line 325 of file RPageStorage.hxx.

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

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