Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RMiniFile.cxx File Reference
#include "Rtypes.h"
#include <ROOT/RConfig.hxx>
#include <ROOT/RError.hxx>
#include <ROOT/RMiniFile.hxx>
#include <ROOT/RRawFile.hxx>
#include <ROOT/RNTupleUtils.hxx>
#include <ROOT/RNTupleZip.hxx>
#include <ROOT/RNTupleSerialize.hxx>
#include <ROOT/RNTupleWriteOptions.hxx>
#include <ROOT/RFile.hxx>
#include <Byteswap.h>
#include <TBufferFile.h>
#include <TDirectory.h>
#include <TError.h>
#include <TFile.h>
#include <TKey.h>
#include <TObjString.h>
#include <TUUID.h>
#include <TStreamerInfo.h>
#include <xxhash.h>
#include <algorithm>
#include <cassert>
#include <cerrno>
#include <cstdio>
#include <cstring>
#include <memory>
#include <string>
#include <chrono>
Include dependency graph for RMiniFile.cxx:

Classes

class  ROOT::Internal::RKeyBlob
 The RKeyBlob writes an invisible key into a TFile. More...
 
class  RNTupleCompressor
 Helper class to compress data blocks in the ROOT compression frame format. More...
 
class  RNTupleDecompressor
 Helper class to uncompress data blocks in the ROOT compression frame format. More...
 
class  RNTupleSerializer
 A helper class for serializing and deserialization of the RNTuple binary format. More...
 
struct  ROOT::Internal::RTFileControlBlock
 If a TFile container is written by a C stream (simple file), on dataset commit, the file header and the TFile record need to be updated. More...
 

Namespaces

namespace  ROOT
 
namespace  ROOT::Internal
 

Macros

#define R__LITTLE_ENDIAN   0
 

Functions

static size_t ComputeNumChunks (size_t nbytes, size_t maxChunkSize)
 
template<typename T>
std::unique_ptr< T[]> MakeUninitArray (std::size_t size)
 Make an array of default-initialized elements.
 

Detailed Description

Author
Jakob Blomer jblom.nosp@m.er@c.nosp@m.ern.c.nosp@m.h
Date
2019-12-22

Definition in file RMiniFile.cxx.

Macro Definition Documentation

◆ R__LITTLE_ENDIAN

#define R__LITTLE_ENDIAN   0

Definition at line 55 of file RMiniFile.cxx.

Function Documentation

◆ ComputeNumChunks()

static size_t ComputeNumChunks ( size_t nbytes,
size_t maxChunkSize )
static

Definition at line 649 of file RMiniFile.cxx.

◆ MakeUninitArray()

template<typename T>
std::unique_ptr< T[]> ROOT::Internal::MakeUninitArray ( std::size_t size)

Make an array of default-initialized elements.

This is useful for buffers that do not need to be initialized.

With C++20, this function can be replaced by std::make_unique_for_overwrite<T[]>.

Definition at line 43 of file RNTupleUtils.hxx.