Logo ROOT  
Reference Guide
ROOT::Experimental::Internal::RNTupleSerializer::RContext Class Reference

The serialization context is used for the piecewise serialization of a descriptor.

During header serialization, the mapping of in-memory field and column IDs to physical IDs is built so that it can be used for the footer serialization in a second step.

Definition at line 90 of file RNTupleSerialize.hxx.

Public Member Functions

std::uint32_t GetHeaderCRC32 () const
 
std::uint32_t GetHeaderSize () const
 
DescriptorId_t GetMemClusterGroupId (DescriptorId_t physId) const
 
DescriptorId_t GetMemClusterId (DescriptorId_t physId) const
 
DescriptorId_t GetMemColumnId (DescriptorId_t physId) const
 
DescriptorId_t GetMemFieldId (DescriptorId_t physId) const
 
DescriptorId_t GetPhysClusterGroupId (DescriptorId_t memId) const
 
DescriptorId_t GetPhysClusterId (DescriptorId_t memId) const
 
DescriptorId_t GetPhysColumnId (DescriptorId_t memId) const
 
DescriptorId_t GetPhysFieldId (DescriptorId_t memId) const
 
DescriptorId_t MapClusterGroupId (DescriptorId_t memId)
 
DescriptorId_t MapClusterId (DescriptorId_t memId)
 
DescriptorId_t MapColumnId (DescriptorId_t memId)
 
DescriptorId_t MapFieldId (DescriptorId_t memId)
 
void SetHeaderCRC32 (std::uint32_t crc32)
 
void SetHeaderSize (std::uint32_t size)
 

Private Attributes

std::uint32_t fHeaderCrc32 = 0
 
std::uint32_t fHeaderSize = 0
 
std::map< DescriptorId_t, DescriptorId_tfMem2PhysClusterGroupIDs
 
std::map< DescriptorId_t, DescriptorId_tfMem2PhysClusterIDs
 
std::map< DescriptorId_t, DescriptorId_tfMem2PhysColumnIDs
 
std::map< DescriptorId_t, DescriptorId_tfMem2PhysFieldIDs
 
std::vector< DescriptorId_tfPhys2MemClusterGroupIDs
 
std::vector< DescriptorId_tfPhys2MemClusterIDs
 
std::vector< DescriptorId_tfPhys2MemColumnIDs
 
std::vector< DescriptorId_tfPhys2MemFieldIDs
 

#include <ROOT/RNTupleSerialize.hxx>

Member Function Documentation

◆ GetHeaderCRC32()

std::uint32_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::GetHeaderCRC32 ( ) const
inline

Definition at line 107 of file RNTupleSerialize.hxx.

◆ GetHeaderSize()

std::uint32_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::GetHeaderSize ( ) const
inline

Definition at line 105 of file RNTupleSerialize.hxx.

◆ GetMemClusterGroupId()

DescriptorId_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::GetMemClusterGroupId ( DescriptorId_t  physId) const
inline

Definition at line 140 of file RNTupleSerialize.hxx.

◆ GetMemClusterId()

DescriptorId_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::GetMemClusterId ( DescriptorId_t  physId) const
inline

Definition at line 139 of file RNTupleSerialize.hxx.

◆ GetMemColumnId()

DescriptorId_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::GetMemColumnId ( DescriptorId_t  physId) const
inline

Definition at line 138 of file RNTupleSerialize.hxx.

◆ GetMemFieldId()

DescriptorId_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::GetMemFieldId ( DescriptorId_t  physId) const
inline

Definition at line 137 of file RNTupleSerialize.hxx.

◆ GetPhysClusterGroupId()

DescriptorId_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::GetPhysClusterGroupId ( DescriptorId_t  memId) const
inline

Definition at line 136 of file RNTupleSerialize.hxx.

◆ GetPhysClusterId()

DescriptorId_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::GetPhysClusterId ( DescriptorId_t  memId) const
inline

Definition at line 135 of file RNTupleSerialize.hxx.

◆ GetPhysColumnId()

DescriptorId_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::GetPhysColumnId ( DescriptorId_t  memId) const
inline

Definition at line 134 of file RNTupleSerialize.hxx.

◆ GetPhysFieldId()

DescriptorId_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::GetPhysFieldId ( DescriptorId_t  memId) const
inline

Definition at line 133 of file RNTupleSerialize.hxx.

◆ MapClusterGroupId()

DescriptorId_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::MapClusterGroupId ( DescriptorId_t  memId)
inline

Definition at line 126 of file RNTupleSerialize.hxx.

◆ MapClusterId()

DescriptorId_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::MapClusterId ( DescriptorId_t  memId)
inline

Definition at line 120 of file RNTupleSerialize.hxx.

◆ MapColumnId()

DescriptorId_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::MapColumnId ( DescriptorId_t  memId)
inline

Definition at line 114 of file RNTupleSerialize.hxx.

◆ MapFieldId()

DescriptorId_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::MapFieldId ( DescriptorId_t  memId)
inline

Definition at line 108 of file RNTupleSerialize.hxx.

◆ SetHeaderCRC32()

void ROOT::Experimental::Internal::RNTupleSerializer::RContext::SetHeaderCRC32 ( std::uint32_t  crc32)
inline

Definition at line 106 of file RNTupleSerialize.hxx.

◆ SetHeaderSize()

void ROOT::Experimental::Internal::RNTupleSerializer::RContext::SetHeaderSize ( std::uint32_t  size)
inline

Definition at line 104 of file RNTupleSerialize.hxx.

Member Data Documentation

◆ fHeaderCrc32

std::uint32_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::fHeaderCrc32 = 0
private

Definition at line 93 of file RNTupleSerialize.hxx.

◆ fHeaderSize

std::uint32_t ROOT::Experimental::Internal::RNTupleSerializer::RContext::fHeaderSize = 0
private

Definition at line 92 of file RNTupleSerialize.hxx.

◆ fMem2PhysClusterGroupIDs

std::map<DescriptorId_t, DescriptorId_t> ROOT::Experimental::Internal::RNTupleSerializer::RContext::fMem2PhysClusterGroupIDs
private

Definition at line 97 of file RNTupleSerialize.hxx.

◆ fMem2PhysClusterIDs

std::map<DescriptorId_t, DescriptorId_t> ROOT::Experimental::Internal::RNTupleSerializer::RContext::fMem2PhysClusterIDs
private

Definition at line 96 of file RNTupleSerialize.hxx.

◆ fMem2PhysColumnIDs

std::map<DescriptorId_t, DescriptorId_t> ROOT::Experimental::Internal::RNTupleSerializer::RContext::fMem2PhysColumnIDs
private

Definition at line 95 of file RNTupleSerialize.hxx.

◆ fMem2PhysFieldIDs

std::map<DescriptorId_t, DescriptorId_t> ROOT::Experimental::Internal::RNTupleSerializer::RContext::fMem2PhysFieldIDs
private

Definition at line 94 of file RNTupleSerialize.hxx.

◆ fPhys2MemClusterGroupIDs

std::vector<DescriptorId_t> ROOT::Experimental::Internal::RNTupleSerializer::RContext::fPhys2MemClusterGroupIDs
private

Definition at line 101 of file RNTupleSerialize.hxx.

◆ fPhys2MemClusterIDs

std::vector<DescriptorId_t> ROOT::Experimental::Internal::RNTupleSerializer::RContext::fPhys2MemClusterIDs
private

Definition at line 100 of file RNTupleSerialize.hxx.

◆ fPhys2MemColumnIDs

std::vector<DescriptorId_t> ROOT::Experimental::Internal::RNTupleSerializer::RContext::fPhys2MemColumnIDs
private

Definition at line 99 of file RNTupleSerialize.hxx.

◆ fPhys2MemFieldIDs

std::vector<DescriptorId_t> ROOT::Experimental::Internal::RNTupleSerializer::RContext::fPhys2MemFieldIDs
private

Definition at line 98 of file RNTupleSerialize.hxx.

Libraries for ROOT::Experimental::Internal::RNTupleSerializer::RContext:
[legend]

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