Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::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 87 of file RPagePool.hxx.

Public Member Functions

 RPagePosition (const RPage &page)
 
 RPagePosition (NTupleSize_t globalIndex)
 
 RPagePosition (RClusterIndex clusterIndex)
 
bool operator< (const RPagePosition &other) const
 

Public Attributes

RClusterIndex fClusterFirstElement
 
NTupleSize_t fGlobalFirstElement = kInvalidNTupleIndex
 

Constructor & Destructor Documentation

◆ RPagePosition() [1/3]

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

Definition at line 106 of file RPagePool.hxx.

◆ RPagePosition() [2/3]

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

Definition at line 113 of file RPagePool.hxx.

◆ RPagePosition() [3/3]

ROOT::Experimental::Internal::RPagePool::RPagePosition::RPagePosition ( RClusterIndex  clusterIndex)
inlineexplicit

Definition at line 114 of file RPagePool.hxx.

Member Function Documentation

◆ operator<()

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

Definition at line 91 of file RPagePool.hxx.

Member Data Documentation

◆ fClusterFirstElement

RClusterIndex ROOT::Experimental::Internal::RPagePool::RPagePosition::fClusterFirstElement

Definition at line 89 of file RPagePool.hxx.

◆ fGlobalFirstElement

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

Definition at line 88 of file RPagePool.hxx.

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

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