Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
ROOT::RClusterDescriptor::RPageInfoExtended Class Referencefinal

Additional information about a page in an in-memory RPageRange.

Used by RPageRange::Find() to return information relative to the RPageRange. This information is not stored on disk and we don't need to keep it in memory because it can be easily recomputed.

Definition at line 358 of file RNTupleDescriptor.hxx.

Public Member Functions

 RPageInfoExtended ()=default
 
 RPageInfoExtended (const RPageInfo &pageInfo, ROOT::NTupleSize_t firstElementIndex, ROOT::NTupleSize_t pageNumber)
 
ROOT::NTupleSize_t GetFirstElementIndex () const
 
ROOT::NTupleSize_t GetPageNumber () const
 
void SetFirstElementIndex (ROOT::NTupleSize_t firstInPage)
 
void SetPageNumber (ROOT::NTupleSize_t pageNumber)
 
- Public Member Functions inherited from ROOT::RClusterDescriptor::RPageInfo
 RPageInfo ()=default
 
 RPageInfo (std::uint32_t nElements, const RNTupleLocator &locator, bool hasChecksum)
 
RNTupleLocatorGetLocator ()
 
const RNTupleLocatorGetLocator () const
 
std::uint32_t GetNElements () const
 
bool HasChecksum () const
 
bool operator== (const RPageInfo &other) const
 
void SetHasChecksum (bool hasChecksum)
 
void SetLocator (const RNTupleLocator &locator)
 
void SetNElements (std::uint32_t n)
 

Private Attributes

ROOT::NTupleSize_t fFirstElementIndex = 0
 Index (in cluster) of the first element in page.
 
ROOT::NTupleSize_t fPageNumber = 0
 Page number in the corresponding RPageRange.
 

#include <ROOT/RNTupleDescriptor.hxx>

Inheritance diagram for ROOT::RClusterDescriptor::RPageInfoExtended:
[legend]

Constructor & Destructor Documentation

◆ RPageInfoExtended() [1/2]

ROOT::RClusterDescriptor::RPageInfoExtended::RPageInfoExtended ( )
default

◆ RPageInfoExtended() [2/2]

ROOT::RClusterDescriptor::RPageInfoExtended::RPageInfoExtended ( const RPageInfo & pageInfo,
ROOT::NTupleSize_t firstElementIndex,
ROOT::NTupleSize_t pageNumber )
inline

Definition at line 367 of file RNTupleDescriptor.hxx.

Member Function Documentation

◆ GetFirstElementIndex()

ROOT::NTupleSize_t ROOT::RClusterDescriptor::RPageInfoExtended::GetFirstElementIndex ( ) const
inline

Definition at line 372 of file RNTupleDescriptor.hxx.

◆ GetPageNumber()

ROOT::NTupleSize_t ROOT::RClusterDescriptor::RPageInfoExtended::GetPageNumber ( ) const
inline

Definition at line 375 of file RNTupleDescriptor.hxx.

◆ SetFirstElementIndex()

void ROOT::RClusterDescriptor::RPageInfoExtended::SetFirstElementIndex ( ROOT::NTupleSize_t firstInPage)
inline

Definition at line 373 of file RNTupleDescriptor.hxx.

◆ SetPageNumber()

void ROOT::RClusterDescriptor::RPageInfoExtended::SetPageNumber ( ROOT::NTupleSize_t pageNumber)
inline

Definition at line 376 of file RNTupleDescriptor.hxx.

Member Data Documentation

◆ fFirstElementIndex

ROOT::NTupleSize_t ROOT::RClusterDescriptor::RPageInfoExtended::fFirstElementIndex = 0
private

Index (in cluster) of the first element in page.

Definition at line 361 of file RNTupleDescriptor.hxx.

◆ fPageNumber

ROOT::NTupleSize_t ROOT::RClusterDescriptor::RPageInfoExtended::fPageNumber = 0
private

Page number in the corresponding RPageRange.

Definition at line 363 of file RNTupleDescriptor.hxx.

Collaboration diagram for ROOT::RClusterDescriptor::RPageInfoExtended:
[legend]

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