Logo ROOT  
Reference Guide
ROOT::Experimental::Detail::RColumnElement< float, EColumnType::kReal32 > Class Reference

Definition at line 119 of file RColumnElement.hxx.

Public Member Functions

 RColumnElement (float *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. More...
 
- 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
 
virtual std::size_t GetBitsOnStorage () const
 
voidGetRawContent () const
 
std::size_t GetSize () const
 
virtual bool IsMappable () const
 Derived, typed classes tell whether the on-storage layout is bitwise identical to the memory layout. More...
 
RColumnElementBaseoperator= (const RColumnElementBase &other)=delete
 
RColumnElementBaseoperator= (RColumnElementBase &&other)=default
 
virtual void Pack (void *destination, void *source, std::size_t count) const
 If the on-storage layout and the in-memory layout differ, packing creates an on-disk page from an in-memory page. More...
 
void ReadFrom (void *source, std::size_t count)
 Set the column element or an array of elements from the memory location source. More...
 
virtual void Unpack (void *destination, void *source, std::size_t count) const
 If the on-storage layout and the in-memory layout differ, unpacking creates a memory page from an on-storage page. More...
 
void WriteTo (void *destination, std::size_t count) const
 Write one or multiple column elements into destination. More...
 

Static Public Attributes

static constexpr std::size_t kBitsOnStorage = kSize * 8
 
static constexpr bool kIsMappable = true
 
static constexpr std::size_t kSize = sizeof(float)
 

Additional Inherited Members

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

#include <ROOT/RColumnElement.hxx>

Inheritance diagram for ROOT::Experimental::Detail::RColumnElement< float, EColumnType::kReal32 >:
[legend]

Constructor & Destructor Documentation

◆ RColumnElement()

ROOT::Experimental::Detail::RColumnElement< float, EColumnType::kReal32 >::RColumnElement ( float *  value)
inlineexplicit

Definition at line 124 of file RColumnElement.hxx.

Member Function Documentation

◆ GetBitsOnStorage()

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

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

Definition at line 126 of file RColumnElement.hxx.

◆ IsMappable()

bool ROOT::Experimental::Detail::RColumnElement< float, EColumnType::kReal32 >::IsMappable ( ) const
inlinefinalvirtual

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 125 of file RColumnElement.hxx.

Member Data Documentation

◆ kBitsOnStorage

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

Definition at line 123 of file RColumnElement.hxx.

◆ kIsMappable

constexpr bool ROOT::Experimental::Detail::RColumnElement< float, EColumnType::kReal32 >::kIsMappable = true
staticconstexpr

Definition at line 121 of file RColumnElement.hxx.

◆ kSize

constexpr std::size_t ROOT::Experimental::Detail::RColumnElement< float, EColumnType::kReal32 >::kSize = sizeof(float)
staticconstexpr

Definition at line 122 of file RColumnElement.hxx.


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