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

Either a shared or an exclusive lock guard.

Definition at line 705 of file RPageStorage.hxx.

Public Member Functions

 RAnyDescriptorGuard (const RAnyDescriptorGuard &)=delete
 
 RAnyDescriptorGuard (RAnyDescriptorGuard &&)=default
 
 RAnyDescriptorGuard (RExclDescriptorGuard exclGuard)
 
 RAnyDescriptorGuard (RSharedDescriptorGuard sharedGuard)
 
 ~RAnyDescriptorGuard ()=default
 
const ROOT::RNTupleDescriptor & GetConstRef () const
 
bool IsValid () const
 
const ROOT::RNTupleDescriptor * operator-> () const
 
RAnyDescriptorGuard & operator= (const RAnyDescriptorGuard &)=delete
 
RAnyDescriptorGuard & operator= (RAnyDescriptorGuard &&)=default
 
void Release ()
 

Private Attributes

std::variant< RSharedDescriptorGuard, RExclDescriptorGuard > fAnyGuard
 

#include <ROOT/RPageStorage.hxx>

Constructor & Destructor Documentation

◆ RAnyDescriptorGuard() [1/4]

ROOT::Internal::RPageSource::RAnyDescriptorGuard::RAnyDescriptorGuard ( RSharedDescriptorGuard sharedGuard)
inline

Definition at line 710 of file RPageStorage.hxx.

◆ RAnyDescriptorGuard() [2/4]

ROOT::Internal::RPageSource::RAnyDescriptorGuard::RAnyDescriptorGuard ( RExclDescriptorGuard exclGuard)
inline

Definition at line 711 of file RPageStorage.hxx.

◆ RAnyDescriptorGuard() [3/4]

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

◆ RAnyDescriptorGuard() [4/4]

ROOT::Internal::RPageSource::RAnyDescriptorGuard::RAnyDescriptorGuard ( RAnyDescriptorGuard && )
default

◆ ~RAnyDescriptorGuard()

ROOT::Internal::RPageSource::RAnyDescriptorGuard::~RAnyDescriptorGuard ( )
default

Member Function Documentation

◆ GetConstRef()

const ROOT::RNTupleDescriptor & ROOT::Internal::RPageSource::RAnyDescriptorGuard::GetConstRef ( ) const
inline

Definition at line 718 of file RPageStorage.hxx.

◆ IsValid()

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

Definition at line 726 of file RPageStorage.hxx.

◆ operator->()

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

Definition at line 722 of file RPageStorage.hxx.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

RAnyDescriptorGuard & ROOT::Internal::RPageSource::RAnyDescriptorGuard::operator= ( RAnyDescriptorGuard && )
default

◆ Release()

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

Definition at line 730 of file RPageStorage.hxx.

Member Data Documentation

◆ fAnyGuard

std::variant<RSharedDescriptorGuard, RExclDescriptorGuard> ROOT::Internal::RPageSource::RAnyDescriptorGuard::fAnyGuard
private

Definition at line 707 of file RPageStorage.hxx.

Libraries for ROOT::Internal::RPageSource::RAnyDescriptorGuard:

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