Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Internal::RColumnElement< RColumnSwitch, EColumnType::kSwitch > Class Reference

Definition at line 561 of file RColumnElement.hxx.

Classes

struct  RSwitchElement
 

Public Member Functions

 RColumnElement ()
 
 RColumnElement ()
 
bool IsMappable () const final
 Derived, typed classes tell whether the on-storage layout is bitwise identical to the memory layout.
 
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::Internal::RColumnElementBase
 RColumnElementBase (const RColumnElementBase &other)=default
 
 RColumnElementBase (RColumnElementBase &&other)=default
 
virtual ~RColumnElementBase ()=default
 
std::size_t GetBitsOnStorage () const
 
std::size_t GetPackedSize (std::size_t nElements=1U) const
 
std::size_t GetSize () const
 
RColumnElementBase & operator= (const RColumnElementBase &other)=delete
 
RColumnElementBase & operator= (RColumnElementBase &&other)=default
 

Static Public Attributes

static constexpr std::size_t kBitsOnStorage = 96
 
static constexpr bool kIsMappable = false
 
static constexpr std::size_t kSize = sizeof(ROOT::Experimental::RColumnSwitch)
 

Additional Inherited Members

- Static Public Member Functions inherited from ROOT::Experimental::Internal::RColumnElementBase
template<typename CppT = void>
static std::unique_ptr< RColumnElementBase > Generate (EColumnType type)
 If CppT == void, use the default C++ type for the given column type.
 
template<>
std::unique_ptr< RColumnElementBase > Generate (EColumnType type)
 
template<>
std::unique_ptr< ROOT::Experimental::Internal::RColumnElementBase > Generate (EColumnType type)
 
static std::size_t GetBitsOnStorage (EColumnType type)
 
static std::string GetTypeName (EColumnType type)
 
- Protected Member Functions inherited from ROOT::Experimental::Internal::RColumnElementBase
 RColumnElementBase (std::size_t size, std::size_t bitsOnStorage=0)
 
- Protected Attributes inherited from ROOT::Experimental::Internal::RColumnElementBase
std::size_t fBitsOnStorage
 
std::size_t fSize
 Size of the C++ value that corresponds to the on-disk element.
 

#include <ROOT/RColumnElement.hxx>

Inheritance diagram for ROOT::Experimental::Internal::RColumnElement< RColumnSwitch, EColumnType::kSwitch >:
[legend]

Constructor & Destructor Documentation

◆ RColumnElement() [1/2]

◆ RColumnElement() [2/2]

ROOT::Experimental::Internal::RColumnElement< RColumnSwitch, ColumnT >::RColumnElement ( )
inline

Definition at line 443 of file RColumnElement.hxx.

Member Function Documentation

◆ IsMappable()

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

Reimplemented from ROOT::Experimental::Internal::RColumnElementBase.

Definition at line 573 of file RColumnElement.hxx.

◆ Pack()

void ROOT::Experimental::Internal::RColumnElement< RColumnSwitch, EColumnType::kSwitch >::Pack ( void * destination,
void * source,
std::size_t count ) const
inlinefinalvirtual

If the on-storage layout and the in-memory layout differ, packing creates an on-disk page from an in-memory page.

Reimplemented from ROOT::Experimental::Internal::RColumnElementBase.

Definition at line 575 of file RColumnElement.hxx.

◆ Unpack()

void ROOT::Experimental::Internal::RColumnElement< RColumnSwitch, EColumnType::kSwitch >::Unpack ( void * destination,
void * source,
std::size_t count ) const
inlinefinalvirtual

If the on-storage layout and the in-memory layout differ, unpacking creates a memory page from an on-storage page.

Reimplemented from ROOT::Experimental::Internal::RColumnElementBase.

Definition at line 589 of file RColumnElement.hxx.

Member Data Documentation

◆ kBitsOnStorage

std::size_t ROOT::Experimental::Internal::RColumnElement< RColumnSwitch, EColumnType::kSwitch >::kBitsOnStorage = 96
staticconstexpr

Definition at line 571 of file RColumnElement.hxx.

◆ kIsMappable

Definition at line 569 of file RColumnElement.hxx.

◆ kSize

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