Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
ROOT::Internal::RPagePool::RPagePosition Struct Reference

Used in fLookupByKey to store both the absolute and the cluster-local page index of the referenced page.

This allows to do binary search for one or the other. Note that elements in fLookupByKey must have both values to be valid. If RPagePosition is used as a search key, only one of the two needs to be set.

Definition at line 85 of file RPagePool.hxx.

Public Member Functions

 RPagePosition (const RPage &page)
 
 RPagePosition (RNTupleLocalIndex localIndex)
 
 RPagePosition (ROOT::NTupleSize_t globalIndex)
 
bool operator< (const RPagePosition &other) const
 

Public Attributes

RNTupleLocalIndex fClusterFirstElement
 
ROOT::NTupleSize_t fGlobalFirstElement = ROOT::kInvalidNTupleIndex
 

Constructor & Destructor Documentation

◆ RPagePosition() [1/3]

ROOT::Internal::RPagePool::RPagePosition::RPagePosition ( const RPage & page)
inlineexplicit

Definition at line 106 of file RPagePool.hxx.

◆ RPagePosition() [2/3]

ROOT::Internal::RPagePool::RPagePosition::RPagePosition ( ROOT::NTupleSize_t globalIndex)
inlineexplicit

Definition at line 113 of file RPagePool.hxx.

◆ RPagePosition() [3/3]

ROOT::Internal::RPagePool::RPagePosition::RPagePosition ( RNTupleLocalIndex localIndex)
inlineexplicit

Definition at line 114 of file RPagePool.hxx.

Member Function Documentation

◆ operator<()

bool ROOT::Internal::RPagePool::RPagePosition::operator< ( const RPagePosition & other) const
inline

Definition at line 89 of file RPagePool.hxx.

Member Data Documentation

◆ fClusterFirstElement

RNTupleLocalIndex ROOT::Internal::RPagePool::RPagePosition::fClusterFirstElement

Definition at line 87 of file RPagePool.hxx.

◆ fGlobalFirstElement

ROOT::NTupleSize_t ROOT::Internal::RPagePool::RPagePosition::fGlobalFirstElement = ROOT::kInvalidNTupleIndex

Definition at line 86 of file RPagePool.hxx.

Collaboration diagram for ROOT::Internal::RPagePool::RPagePosition:
[legend]

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