Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::RNTupleFileWriter::RImplSimple::RSharedData Struct Reference

Data that is shared between a "main" RImplSimple and all its clones.

Note that only the main file will write the header and footer, while all the clones are only used to (sequentially) push data into the same underlying file from multiple locations.

Definition at line 165 of file RMiniFile.hxx.

Public Member Functions

 RSharedData (FILE *file)
 
 ~RSharedData ()
 

Public Attributes

unsigned char * fBlock = nullptr
 
std::uint64_t fBlockOffset = 0
 
std::size_t fBlockSize = 0
 
std::unique_ptr< ROOT::Internal::RTFileControlBlockfControlBlock
 Keeps track of TFile control structures, which need to be updated on committing the data set.
 
FILEfFile = nullptr
 For the simplest cases, a C file stream can be used for writing.
 
std::uint64_t fFilePos = 0
 Keeps track of the seek offset.
 
unsigned char * fHeaderBlock = nullptr
 
std::uint64_t fKeyOffset = 0
 Keeps track of the next key offset.
 

#include <ROOT/RMiniFile.hxx>

Constructor & Destructor Documentation

◆ RSharedData()

ROOT::Internal::RNTupleFileWriter::RImplSimple::RSharedData::RSharedData ( FILE * file)
explicit

Definition at line 1003 of file RMiniFile.cxx.

◆ ~RSharedData()

ROOT::Internal::RNTupleFileWriter::RImplSimple::RSharedData::~RSharedData ( )

Definition at line 1005 of file RMiniFile.cxx.

Member Data Documentation

◆ fBlock

unsigned char* ROOT::Internal::RNTupleFileWriter::RImplSimple::RSharedData::fBlock = nullptr

Definition at line 177 of file RMiniFile.hxx.

◆ fBlockOffset

std::uint64_t ROOT::Internal::RNTupleFileWriter::RImplSimple::RSharedData::fBlockOffset = 0

Definition at line 176 of file RMiniFile.hxx.

◆ fBlockSize

std::size_t ROOT::Internal::RNTupleFileWriter::RImplSimple::RSharedData::fBlockSize = 0

Definition at line 175 of file RMiniFile.hxx.

◆ fControlBlock

std::unique_ptr<ROOT::Internal::RTFileControlBlock> ROOT::Internal::RNTupleFileWriter::RImplSimple::RSharedData::fControlBlock

Keeps track of TFile control structures, which need to be updated on committing the data set.

Definition at line 180 of file RMiniFile.hxx.

◆ fFile

FILE* ROOT::Internal::RNTupleFileWriter::RImplSimple::RSharedData::fFile = nullptr

For the simplest cases, a C file stream can be used for writing.

Definition at line 167 of file RMiniFile.hxx.

◆ fFilePos

std::uint64_t ROOT::Internal::RNTupleFileWriter::RImplSimple::RSharedData::fFilePos = 0

Keeps track of the seek offset.

Definition at line 169 of file RMiniFile.hxx.

◆ fHeaderBlock

unsigned char* ROOT::Internal::RNTupleFileWriter::RImplSimple::RSharedData::fHeaderBlock = nullptr

Definition at line 174 of file RMiniFile.hxx.

◆ fKeyOffset

std::uint64_t ROOT::Internal::RNTupleFileWriter::RImplSimple::RSharedData::fKeyOffset = 0

Keeps track of the next key offset.

Definition at line 171 of file RMiniFile.hxx.

Collaboration diagram for ROOT::Internal::RNTupleFileWriter::RImplSimple::RSharedData:
[legend]

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