Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
ROOT::Experimental::Detail::RColumn Class Reference

Definition at line 44 of file RColumn.hxx.

Public Member Functions

 RColumn (const RColumn &)=delete
 
 RColumn (const RColumnModel &model)
 
 ~RColumn ()=default
 
void Append (const RColumnElementBase &element)
 
void AppendV (const RColumnElementBase &elemArray, std::size_t count)
 
void Connect (RPageStorage *pageStorage)
 
void Flush ()
 
void GetCollectionInfo (const NTupleSize_t index, NTupleSize_t *collectionStart, ClusterSize_t *collectionSize)
 For offset columns only, do index arithmetic from cluster-local to global indizes. More...
 
ColumnId_t GetColumnIdSource () const
 
RPageStorage::ColumnHandle_t GetHandleSource () const
 
const RColumnModelGetModel () const
 
NTupleSize_t GetNElements ()
 
RColumnGetOffsetColumn () const
 
RPageSourceGetPageSource () const
 
template<typename CppT , EColumnType ColumnT>
CppT * Map (const NTupleSize_t index, RColumnElementBase *element)
 Map may fall back to Read() and therefore requires a valid element. More...
 
void MapPage (const NTupleSize_t index)
 
template<typename CppT , EColumnType ColumnT>
voidMapV (const NTupleSize_t index, const NTupleSize_t count)
 MapV may fail if there are less than count consecutive elements or if the type pair is not mappable. More...
 
RColumnoperator= (const RColumn &)=delete
 
void Read (const NTupleSize_t index, RColumnElementBase *element)
 
void ReadV (const NTupleSize_t index, const NTupleSize_t count, RColumnElementBase *elemArray)
 
void SetOffsetColumn (RColumn *offsetColumn)
 

Private Attributes

ColumnId_t fColumnIdSource
 The column id is used to find matching pages with content when reading. More...
 
RPage fCurrentPage
 The currently mapped page for reading. More...
 
RPageStorage::ColumnHandle_t fHandleSink
 
RPageStorage::ColumnHandle_t fHandleSource
 
RPage fHeadPage
 Open page into which new elements are being written. More...
 
RColumnModel fModel
 
NTupleSize_t fNElements
 The number of elements written resp. available in the column. More...
 
RColumnfOffsetColumn
 Optional link to a parent offset column that points into this column. More...
 
RPageSinkfPageSink
 
RPageSourcefPageSource
 

#include <ROOT/RColumn.hxx>

Constructor & Destructor Documentation

◆ RColumn() [1/2]

ROOT::Experimental::Detail::RColumn::RColumn ( const RColumnModel model)
explicit

Definition at line 24 of file RColumn.cxx.

◆ RColumn() [2/2]

ROOT::Experimental::Detail::RColumn::RColumn ( const RColumn )
delete

◆ ~RColumn()

ROOT::Experimental::Detail::RColumn::~RColumn ( )
default

Member Function Documentation

◆ Append()

void ROOT::Experimental::Detail::RColumn::Append ( const RColumnElementBase element)
inline

Definition at line 70 of file RColumn.hxx.

◆ AppendV()

void ROOT::Experimental::Detail::RColumn::AppendV ( const RColumnElementBase elemArray,
std::size_t  count 
)
inline

Definition at line 81 of file RColumn.hxx.

◆ Connect()

void ROOT::Experimental::Detail::RColumn::Connect ( RPageStorage pageStorage)

Definition at line 32 of file RColumn.cxx.

◆ Flush()

void ROOT::Experimental::Detail::RColumn::Flush ( )

Definition at line 51 of file RColumn.cxx.

◆ GetCollectionInfo()

void ROOT::Experimental::Detail::RColumn::GetCollectionInfo ( const NTupleSize_t  index,
NTupleSize_t collectionStart,
ClusterSize_t collectionSize 
)
inline

For offset columns only, do index arithmetic from cluster-local to global indizes.

Definition at line 148 of file RColumn.hxx.

◆ GetColumnIdSource()

ColumnId_t ROOT::Experimental::Detail::RColumn::GetColumnIdSource ( ) const
inline

Definition at line 167 of file RColumn.hxx.

◆ GetHandleSource()

RPageStorage::ColumnHandle_t ROOT::Experimental::Detail::RColumn::GetHandleSource ( ) const
inline

Definition at line 169 of file RColumn.hxx.

◆ GetModel()

const RColumnModel & ROOT::Experimental::Detail::RColumn::GetModel ( ) const
inline

Definition at line 166 of file RColumn.hxx.

◆ GetNElements()

NTupleSize_t ROOT::Experimental::Detail::RColumn::GetNElements ( )
inline

Definition at line 165 of file RColumn.hxx.

◆ GetOffsetColumn()

RColumn * ROOT::Experimental::Detail::RColumn::GetOffsetColumn ( ) const
inline

Definition at line 171 of file RColumn.hxx.

◆ GetPageSource()

RPageSource * ROOT::Experimental::Detail::RColumn::GetPageSource ( ) const
inline

Definition at line 168 of file RColumn.hxx.

◆ Map()

template<typename CppT , EColumnType ColumnT>
CppT * ROOT::Experimental::Detail::RColumn::Map ( const NTupleSize_t  index,
RColumnElementBase element 
)
inline

Map may fall back to Read() and therefore requires a valid element.

Definition at line 121 of file RColumn.hxx.

◆ MapPage()

void ROOT::Experimental::Detail::RColumn::MapPage ( const NTupleSize_t  index)

Definition at line 59 of file RColumn.cxx.

◆ MapV()

template<typename CppT , EColumnType ColumnT>
void * ROOT::Experimental::Detail::RColumn::MapV ( const NTupleSize_t  index,
const NTupleSize_t  count 
)
inline

MapV may fail if there are less than count consecutive elements or if the type pair is not mappable.

Definition at line 137 of file RColumn.hxx.

◆ operator=()

RColumn & ROOT::Experimental::Detail::RColumn::operator= ( const RColumn )
delete

◆ Read()

void ROOT::Experimental::Detail::RColumn::Read ( const NTupleSize_t  index,
RColumnElementBase element 
)
inline

Definition at line 93 of file RColumn.hxx.

◆ ReadV()

void ROOT::Experimental::Detail::RColumn::ReadV ( const NTupleSize_t  index,
const NTupleSize_t  count,
RColumnElementBase elemArray 
)
inline

Definition at line 102 of file RColumn.hxx.

◆ SetOffsetColumn()

void ROOT::Experimental::Detail::RColumn::SetOffsetColumn ( RColumn offsetColumn)
inline

Definition at line 170 of file RColumn.hxx.

Member Data Documentation

◆ fColumnIdSource

ColumnId_t ROOT::Experimental::Detail::RColumn::fColumnIdSource
private

The column id is used to find matching pages with content when reading.

Definition at line 58 of file RColumn.hxx.

◆ fCurrentPage

RPage ROOT::Experimental::Detail::RColumn::fCurrentPage
private

The currently mapped page for reading.

Definition at line 56 of file RColumn.hxx.

◆ fHandleSink

RPageStorage::ColumnHandle_t ROOT::Experimental::Detail::RColumn::fHandleSink
private

Definition at line 49 of file RColumn.hxx.

◆ fHandleSource

RPageStorage::ColumnHandle_t ROOT::Experimental::Detail::RColumn::fHandleSource
private

Definition at line 50 of file RColumn.hxx.

◆ fHeadPage

RPage ROOT::Experimental::Detail::RColumn::fHeadPage
private

Open page into which new elements are being written.

Definition at line 52 of file RColumn.hxx.

◆ fModel

RColumnModel ROOT::Experimental::Detail::RColumn::fModel
private

Definition at line 46 of file RColumn.hxx.

◆ fNElements

NTupleSize_t ROOT::Experimental::Detail::RColumn::fNElements
private

The number of elements written resp. available in the column.

Definition at line 54 of file RColumn.hxx.

◆ fOffsetColumn

RColumn* ROOT::Experimental::Detail::RColumn::fOffsetColumn
private

Optional link to a parent offset column that points into this column.

Definition at line 60 of file RColumn.hxx.

◆ fPageSink

RPageSink* ROOT::Experimental::Detail::RColumn::fPageSink
private

Definition at line 47 of file RColumn.hxx.

◆ fPageSource

RPageSource* ROOT::Experimental::Detail::RColumn::fPageSource
private

Definition at line 48 of file RColumn.hxx.


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