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

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

Definition at line 661 of file RPageStorage.hxx.

Public Member Functions

 RExclDescriptorGuard ()=default
 
 RExclDescriptorGuard (const RExclDescriptorGuard &)=delete
 
 RExclDescriptorGuard (RExclDescriptorGuard &&other)
 
 RExclDescriptorGuard (ROOT::RNTupleDescriptor &desc, std::shared_mutex &lock)
 
 ~RExclDescriptorGuard ()
 
bool IsValid () const
 
void MoveIn (ROOT::RNTupleDescriptor desc)
 
ROOT::RNTupleDescriptor & operator* () const
 
ROOT::RNTupleDescriptor * operator-> () const
 
RExclDescriptorGuard & operator= (const RExclDescriptorGuard &)=delete
 
RExclDescriptorGuard & operator= (RExclDescriptorGuard &&other)
 
void Release ()
 

Private Attributes

ROOT::RNTupleDescriptor * fDescriptor = nullptr
 
std::shared_mutex * fLock = nullptr
 

#include <ROOT/RPageStorage.hxx>

Constructor & Destructor Documentation

◆ RExclDescriptorGuard() [1/4]

ROOT::Internal::RPageSource::RExclDescriptorGuard::RExclDescriptorGuard ( )
default

◆ RExclDescriptorGuard() [2/4]

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

Definition at line 667 of file RPageStorage.hxx.

◆ RExclDescriptorGuard() [3/4]

ROOT::Internal::RPageSource::RExclDescriptorGuard::RExclDescriptorGuard ( const RExclDescriptorGuard & )
delete

◆ RExclDescriptorGuard() [4/4]

ROOT::Internal::RPageSource::RExclDescriptorGuard::RExclDescriptorGuard ( RExclDescriptorGuard && other)
inline

Definition at line 673 of file RPageStorage.hxx.

◆ ~RExclDescriptorGuard()

ROOT::Internal::RPageSource::RExclDescriptorGuard::~RExclDescriptorGuard ( )
inline

Definition at line 686 of file RPageStorage.hxx.

Member Function Documentation

◆ IsValid()

bool ROOT::Internal::RPageSource::RExclDescriptorGuard::IsValid ( ) const
inline

Definition at line 694 of file RPageStorage.hxx.

◆ MoveIn()

void ROOT::Internal::RPageSource::RExclDescriptorGuard::MoveIn ( ROOT::RNTupleDescriptor desc)
inline

Definition at line 693 of file RPageStorage.hxx.

◆ operator*()

ROOT::RNTupleDescriptor & ROOT::Internal::RPageSource::RExclDescriptorGuard::operator* ( ) const
inline

Definition at line 691 of file RPageStorage.hxx.

◆ operator->()

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

Definition at line 692 of file RPageStorage.hxx.

◆ operator=() [1/2]

RExclDescriptorGuard & ROOT::Internal::RPageSource::RExclDescriptorGuard::operator= ( const RExclDescriptorGuard & )
delete

◆ operator=() [2/2]

RExclDescriptorGuard & ROOT::Internal::RPageSource::RExclDescriptorGuard::operator= ( RExclDescriptorGuard && other)
inline

Definition at line 678 of file RPageStorage.hxx.

◆ Release()

void ROOT::Internal::RPageSource::RExclDescriptorGuard::Release ( )
inline

Definition at line 695 of file RPageStorage.hxx.

Member Data Documentation

◆ fDescriptor

ROOT::RNTupleDescriptor* ROOT::Internal::RPageSource::RExclDescriptorGuard::fDescriptor = nullptr
private

Definition at line 662 of file RPageStorage.hxx.

◆ fLock

std::shared_mutex* ROOT::Internal::RPageSource::RExclDescriptorGuard::fLock = nullptr
private

Definition at line 663 of file RPageStorage.hxx.

Libraries for ROOT::Internal::RPageSource::RExclDescriptorGuard:

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