ROOT 6.18/05 Reference Guide |
Pairs of C++ type and column type, like float and EColumnType::kReal32.
A column element points either to the content of an RFieldValue or into a memory mapped page.
The content pointed to by fRawContent can be a single element or the first element of an array. Usually the on-disk element should map bitwise to the in-memory element. Sometimes that's not the case though, for instance on big endian platforms and for exotic physical columns like 8 bit float.
This class does not provide protection around the raw pointer, fRawContent has to be managed correctly by the user of this class.
Definition at line 103 of file RColumnElement.hxx.
Public Member Functions | |
RColumnElement (CppT *value) | |
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, unsigned int size, bool isMappable) | |
virtual | ~RColumnElementBase ()=default |
void | Deserialize (void *source, std::size_t count) |
void * | GetRawContent () const |
unsigned int | GetSize () const |
RColumnElementBase & | operator= (const RColumnElementBase &other)=delete |
RColumnElementBase & | operator= (RColumnElementBase &&other)=default |
void | Serialize (void *destination, std::size_t count) const |
Static Public Attributes | |
static constexpr bool | kIsMappable = false |
Additional Inherited Members | |
Protected Member Functions inherited from ROOT::Experimental::Detail::RColumnElementBase | |
virtual void | DoDeserialize (void *, std::size_t) const |
virtual void | DoSerialize (void *, std::size_t) const |
Protected Attributes inherited from ROOT::Experimental::Detail::RColumnElementBase | |
bool | fIsMappable |
Indicates that *fRawContent is bitwise identical to the physical column element. More... | |
void * | fRawContent |
Points to valid C++ data, either a single value or an array of values. More... | |
unsigned int | fSize |
Size of the C++ value pointed to by fRawContent (not necessarily equal to the on-disk element size) More... | |
#include <ROOT/RColumnElement.hxx>
|
inlineexplicit |
Definition at line 106 of file RColumnElement.hxx.
|
staticconstexpr |
Definition at line 105 of file RColumnElement.hxx.