Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Detail::RColumnElement< ClusterSize_t, EColumnType::kIndex > Class Reference

Definition at line 400 of file RColumnElement.hxx.

Public Member Functions

 RColumnElement (ClusterSize_t *value)
 
std::size_t GetBitsOnStorage () const final
 
bool IsMappable () const final
 Derived, typed classes tell whether the on-storage layout is bitwise identical to the memory layout.
 
- Public Member Functions inherited from ROOT::Experimental::Detail::RColumnElementLE< ClusterSize_t::ValueType >
 RColumnElementLE (void *rawContent, std::size_t size)
 
void Pack (void *dst, void *src, std::size_t count) const final
 If the on-storage layout and the in-memory layout differ, packing creates an on-disk page from an in-memory page.
 
void Unpack (void *dst, void *src, std::size_t count) const final
 If the on-storage layout and the in-memory layout differ, unpacking creates a memory page from an on-storage page.
 
- Public Member Functions inherited from ROOT::Experimental::Detail::RColumnElementBase
 RColumnElementBase ()
 
 RColumnElementBase (const RColumnElementBase &elemArray, std::size_t at)
 
 RColumnElementBase (const RColumnElementBase &other)=default
 
 RColumnElementBase (RColumnElementBase &&other)=default
 
 RColumnElementBase (void *rawContent, std::size_t size)
 
virtual ~RColumnElementBase ()=default
 
std::size_t GetPackedSize (std::size_t nElements) const
 
void * GetRawContent () const
 
std::size_t GetSize () const
 
RColumnElementBaseoperator= (const RColumnElementBase &other)=delete
 
RColumnElementBaseoperator= (RColumnElementBase &&other)=default
 
void ReadFrom (void *source, std::size_t count)
 Set the column element or an array of elements from the memory location source.
 
void WriteTo (void *destination, std::size_t count) const
 Write one or multiple column elements into destination.
 

Static Public Attributes

static constexpr std::size_t kBitsOnStorage = kSize * 8
 
static constexpr std::size_t kSize = sizeof(ROOT::Experimental::ClusterSize_t)
 
- Static Public Attributes inherited from ROOT::Experimental::Detail::RColumnElementLE< ClusterSize_t::ValueType >
static constexpr bool kIsMappable
 

Additional Inherited Members

- Static Public Member Functions inherited from ROOT::Experimental::Detail::RColumnElementBase
static std::unique_ptr< RColumnElementBaseGenerate (EColumnType type)
 
static std::size_t GetBitsOnStorage (EColumnType type)
 
static std::string GetTypeName (EColumnType type)
 
- Protected Attributes inherited from ROOT::Experimental::Detail::RColumnElementBase
void * fRawContent
 Points to valid C++ data, either a single value or an array of values.
 
std::size_t fSize
 Size of the C++ value pointed to by fRawContent (not necessarily equal to the on-disk element size)
 

#include <ROOT/RColumnElement.hxx>

Inheritance diagram for ROOT::Experimental::Detail::RColumnElement< ClusterSize_t, EColumnType::kIndex >:
[legend]

Constructor & Destructor Documentation

◆ RColumnElement()

Definition at line 404 of file RColumnElement.hxx.

Member Function Documentation

◆ GetBitsOnStorage()

std::size_t ROOT::Experimental::Detail::RColumnElement< ClusterSize_t, EColumnType::kIndex >::GetBitsOnStorage ( ) const
inlinefinalvirtual

Reimplemented from ROOT::Experimental::Detail::RColumnElementBase.

Definition at line 406 of file RColumnElement.hxx.

◆ IsMappable()

Derived, typed classes tell whether the on-storage layout is bitwise identical to the memory layout.

Reimplemented from ROOT::Experimental::Detail::RColumnElementBase.

Definition at line 405 of file RColumnElement.hxx.

Member Data Documentation

◆ kBitsOnStorage

constexpr std::size_t ROOT::Experimental::Detail::RColumnElement< ClusterSize_t, EColumnType::kIndex >::kBitsOnStorage = kSize * 8
staticconstexpr

Definition at line 403 of file RColumnElement.hxx.

◆ kSize

Definition at line 402 of file RColumnElement.hxx.

  • tree/ntuple/v7/inc/ROOT/RColumnElement.hxx