Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Internal::RDaosNTupleAnchor Class Reference

Entry point for an RNTuple in a DAOS container.

It encodes essential information to read the ntuple; currently, it contains (un)compressed size of the header/footer blobs and the object class for user data OIDs. The length of a serialized anchor cannot be greater than the value returned by the GetSize function.

Definition at line 58 of file RPageStorageDaos.hxx.

Public Member Functions

RResult< std::uint32_t > Deserialize (const void *buffer, std::uint32_t bufSize)
 
bool operator== (const RDaosNTupleAnchor &other) const
 
std::uint32_t Serialize (void *buffer) const
 

Static Public Member Functions

static std::uint32_t GetSize ()
 

Public Attributes

std::uint32_t fLenFooter = 0
 The size of the uncompressed ntuple footer.
 
std::uint32_t fLenHeader = 0
 The size of the uncompressed ntuple header.
 
std::uint32_t fNBytesFooter = 0
 The size of the compressed ntuple footer.
 
std::uint32_t fNBytesHeader = 0
 The size of the compressed ntuple header.
 
std::string fObjClass {}
 The object class for user data OIDs, e.g. SX
 
std::uint64_t fVersionAnchor = 1
 Allows for evolving the struct in future versions.
 
std::uint16_t fVersionEpoch = RNTuple::kVersionEpoch
 Version of the binary format supported by the writer.
 
std::uint16_t fVersionMajor = RNTuple::kVersionMajor
 
std::uint16_t fVersionMinor = RNTuple::kVersionMinor
 
std::uint16_t fVersionPatch = RNTuple::kVersionPatch
 

#include <ROOT/RPageStorageDaos.hxx>

Member Function Documentation

◆ Deserialize()

ROOT::Experimental::RResult< std::uint32_t > ROOT::Experimental::Internal::RDaosNTupleAnchor::Deserialize ( const void *  buffer,
std::uint32_t  bufSize 
)

Definition at line 245 of file RPageStorageDaos.cxx.

◆ GetSize()

std::uint32_t ROOT::Experimental::Internal::RDaosNTupleAnchor::GetSize ( )
static

Definition at line 271 of file RPageStorageDaos.cxx.

◆ operator==()

bool ROOT::Experimental::Internal::RDaosNTupleAnchor::operator== ( const RDaosNTupleAnchor other) const
inline

Definition at line 77 of file RPageStorageDaos.hxx.

◆ Serialize()

std::uint32_t ROOT::Experimental::Internal::RDaosNTupleAnchor::Serialize ( void *  buffer) const

Definition at line 225 of file RPageStorageDaos.cxx.

Member Data Documentation

◆ fLenFooter

std::uint32_t ROOT::Experimental::Internal::RDaosNTupleAnchor::fLenFooter = 0

The size of the uncompressed ntuple footer.

Definition at line 73 of file RPageStorageDaos.hxx.

◆ fLenHeader

std::uint32_t ROOT::Experimental::Internal::RDaosNTupleAnchor::fLenHeader = 0

The size of the uncompressed ntuple header.

Definition at line 69 of file RPageStorageDaos.hxx.

◆ fNBytesFooter

std::uint32_t ROOT::Experimental::Internal::RDaosNTupleAnchor::fNBytesFooter = 0

The size of the compressed ntuple footer.

Definition at line 71 of file RPageStorageDaos.hxx.

◆ fNBytesHeader

std::uint32_t ROOT::Experimental::Internal::RDaosNTupleAnchor::fNBytesHeader = 0

The size of the compressed ntuple header.

Definition at line 67 of file RPageStorageDaos.hxx.

◆ fObjClass

std::string ROOT::Experimental::Internal::RDaosNTupleAnchor::fObjClass {}

The object class for user data OIDs, e.g. SX

Definition at line 75 of file RPageStorageDaos.hxx.

◆ fVersionAnchor

std::uint64_t ROOT::Experimental::Internal::RDaosNTupleAnchor::fVersionAnchor = 1

Allows for evolving the struct in future versions.

Definition at line 60 of file RPageStorageDaos.hxx.

◆ fVersionEpoch

std::uint16_t ROOT::Experimental::Internal::RDaosNTupleAnchor::fVersionEpoch = RNTuple::kVersionEpoch

Version of the binary format supported by the writer.

Definition at line 62 of file RPageStorageDaos.hxx.

◆ fVersionMajor

std::uint16_t ROOT::Experimental::Internal::RDaosNTupleAnchor::fVersionMajor = RNTuple::kVersionMajor

Definition at line 63 of file RPageStorageDaos.hxx.

◆ fVersionMinor

std::uint16_t ROOT::Experimental::Internal::RDaosNTupleAnchor::fVersionMinor = RNTuple::kVersionMinor

Definition at line 64 of file RPageStorageDaos.hxx.

◆ fVersionPatch

std::uint16_t ROOT::Experimental::Internal::RDaosNTupleAnchor::fVersionPatch = RNTuple::kVersionPatch

Definition at line 65 of file RPageStorageDaos.hxx.

Collaboration diagram for ROOT::Experimental::Internal::RDaosNTupleAnchor:
[legend]

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