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 162 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.
 
bool fDirectIO = false
 Whether the C file stream has been opened with Direct I/O, introducing alignment requirements.
 
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 1002 of file RMiniFile.cxx.

◆ ~RSharedData()

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

Definition at line 1004 of file RMiniFile.cxx.

Member Data Documentation

◆ fBlock

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

Definition at line 176 of file RMiniFile.hxx.

◆ fBlockOffset

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

Definition at line 175 of file RMiniFile.hxx.

◆ fBlockSize

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

Definition at line 174 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 179 of file RMiniFile.hxx.

◆ fDirectIO

bool ROOT::Internal::RNTupleFileWriter::RImplSimple::RSharedData::fDirectIO = false

Whether the C file stream has been opened with Direct I/O, introducing alignment requirements.

Definition at line 170 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 164 of file RMiniFile.hxx.

◆ fFilePos

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

Keeps track of the seek offset.

Definition at line 166 of file RMiniFile.hxx.

◆ fHeaderBlock

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

Definition at line 173 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 168 of file RMiniFile.hxx.

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

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