Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Detail::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 63 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::uint32_t fVersion = 0
 Allows for evolving the struct in future versions.
 

#include <ROOT/RPageStorageDaos.hxx>

Member Function Documentation

◆ Deserialize()

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

Definition at line 143 of file RPageStorageDaos.cxx.

◆ GetSize()

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

Definition at line 161 of file RPageStorageDaos.cxx.

◆ operator==()

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

Definition at line 77 of file RPageStorageDaos.hxx.

◆ Serialize()

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

Definition at line 127 of file RPageStorageDaos.cxx.

Member Data Documentation

◆ fLenFooter

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

The size of the uncompressed ntuple footer.

Definition at line 73 of file RPageStorageDaos.hxx.

◆ fLenHeader

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

The size of the uncompressed ntuple header.

Definition at line 69 of file RPageStorageDaos.hxx.

◆ fNBytesFooter

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

The size of the compressed ntuple footer.

Definition at line 71 of file RPageStorageDaos.hxx.

◆ fNBytesHeader

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

The size of the compressed ntuple header.

Definition at line 67 of file RPageStorageDaos.hxx.

◆ fObjClass

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

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

Definition at line 75 of file RPageStorageDaos.hxx.

◆ fVersion

std::uint32_t ROOT::Experimental::Detail::RDaosNTupleAnchor::fVersion = 0

Allows for evolving the struct in future versions.

Definition at line 65 of file RPageStorageDaos.hxx.

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

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