Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::RFileHeader Class Referencefinal

The data stored in the ROOT file header.

Definition at line 189 of file RFile.hxx.

Public Member Functions

std::int64_t GetBEGIN () const
 First used byte in the file (except header)
 
std::int32_t GetCompression () const
 Compression settings used by the file. See Compression.h for details.
 
std::int64_t GetEND () const
 Last used byte in the file.
 
std::int32_t GetNBytesFree () const
 Size on disk of the (potentially compressed) Free List section.
 
std::int32_t GetNBytesInfo () const
 Size on disk of the (potentially compressed) File Info section.
 
std::int64_t GetSeekFree () const
 Offset into the file of the Free List section.
 
std::int64_t GetSeekInfo () const
 Offset into the file of the File Info section.
 
std::int8_t GetUnits () const
 How many bytes do the Seek fields take up on disk. This is 4 for regular files and 8 for "big" files.
 
std::int32_t GetVersion () const
 Version of ROOT which wrote this file. When creating a file this is set to gROOT->GetVersionInt().
 

Private Attributes

std::int64_t fBEGIN = 0
 
std::int32_t fCompression = 0
 
std::int64_t fEND = 0
 
std::int32_t fNBytesFree = 0
 
std::int32_t fNBytesInfo = 0
 
std::int64_t fSeekFree = 0
 
std::int64_t fSeekInfo = 0
 
std::int8_t fUnits = 0
 
std::int32_t fVersion = 0
 

Friends

class ROOT::RFile
 

#include <ROOT/RFile.hxx>

Member Function Documentation

◆ GetBEGIN()

std::int64_t ROOT::RFileHeader::GetBEGIN ( ) const
inline

First used byte in the file (except header)

Definition at line 206 of file RFile.hxx.

◆ GetCompression()

std::int32_t ROOT::RFileHeader::GetCompression ( ) const
inline

Compression settings used by the file. See Compression.h for details.

Definition at line 220 of file RFile.hxx.

◆ GetEND()

std::int64_t ROOT::RFileHeader::GetEND ( ) const
inline

Last used byte in the file.

Definition at line 208 of file RFile.hxx.

◆ GetNBytesFree()

std::int32_t ROOT::RFileHeader::GetNBytesFree ( ) const
inline

Size on disk of the (potentially compressed) Free List section.

Definition at line 212 of file RFile.hxx.

◆ GetNBytesInfo()

std::int32_t ROOT::RFileHeader::GetNBytesInfo ( ) const
inline

Size on disk of the (potentially compressed) File Info section.

Definition at line 216 of file RFile.hxx.

◆ GetSeekFree()

std::int64_t ROOT::RFileHeader::GetSeekFree ( ) const
inline

Offset into the file of the Free List section.

Definition at line 210 of file RFile.hxx.

◆ GetSeekInfo()

std::int64_t ROOT::RFileHeader::GetSeekInfo ( ) const
inline

Offset into the file of the File Info section.

Definition at line 214 of file RFile.hxx.

◆ GetUnits()

std::int8_t ROOT::RFileHeader::GetUnits ( ) const
inline

How many bytes do the Seek fields take up on disk. This is 4 for regular files and 8 for "big" files.

Definition at line 218 of file RFile.hxx.

◆ GetVersion()

std::int32_t ROOT::RFileHeader::GetVersion ( ) const
inline

Version of ROOT which wrote this file. When creating a file this is set to gROOT->GetVersionInt().

Definition at line 204 of file RFile.hxx.

Friends And Related Symbol Documentation

◆ ROOT::RFile

friend class ROOT::RFile
friend

Definition at line 190 of file RFile.hxx.

Member Data Documentation

◆ fBEGIN

std::int64_t ROOT::RFileHeader::fBEGIN = 0
private

Definition at line 193 of file RFile.hxx.

◆ fCompression

std::int32_t ROOT::RFileHeader::fCompression = 0
private

Definition at line 198 of file RFile.hxx.

◆ fEND

std::int64_t ROOT::RFileHeader::fEND = 0
private

Definition at line 194 of file RFile.hxx.

◆ fNBytesFree

std::int32_t ROOT::RFileHeader::fNBytesFree = 0
private

Definition at line 196 of file RFile.hxx.

◆ fNBytesInfo

std::int32_t ROOT::RFileHeader::fNBytesInfo = 0
private

Definition at line 200 of file RFile.hxx.

◆ fSeekFree

std::int64_t ROOT::RFileHeader::fSeekFree = 0
private

Definition at line 195 of file RFile.hxx.

◆ fSeekInfo

std::int64_t ROOT::RFileHeader::fSeekInfo = 0
private

Definition at line 199 of file RFile.hxx.

◆ fUnits

std::int8_t ROOT::RFileHeader::fUnits = 0
private

Definition at line 197 of file RFile.hxx.

◆ fVersion

std::int32_t ROOT::RFileHeader::fVersion = 0
private

Definition at line 192 of file RFile.hxx.

Libraries for ROOT::RFileHeader:

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