12#ifndef ROOT_TBufferMerger
13#define ROOT_TBufferMerger
26class TBufferMergerFile;
69 std::shared_ptr<TBufferMergerFile>
GetFile();
72 size_t GetQueueSize()
const {
return 0; }
75 size_t GetBuffered()
const {
return 0; }
78 size_t GetAutoSave()
const {
return 0; }
84 void SetAutoSave(
size_t ) {}
108 void SetCompressTemporaryKeys(
Bool_t = true) {}
111 Bool_t GetCompressTemporaryKeys()
const {
return false; }
113 friend class TBufferMergerFile;
125 void Init(std::unique_ptr<TFile>);
#define _R__DEPRECATED_LATER(REASON)
#define ClassDefOverride(name, id)
A TBufferMergerFile is similar to a TMemFile, but when data is written to it, it is appended to the T...
TBufferMergerFile()
TBufferMergerFile has no default constructor.
TBufferMergerFile(const TBufferMergerFile &)
TBufferMergerFile has no copy constructor.
TBufferMergerFile & operator=(const TBufferMergerFile &)
TBufferMergerFile has no copy operator.
Int_t Write(const char *name=nullptr, Int_t opt=0, Int_t bufsize=0) override
Write data into a TBufferFile and append it to TBufferMerger.
~TBufferMergerFile() override
Destructor.
TBufferMerger is a class to facilitate writing data in parallel from multiple threads,...
_R__DEPRECATED_LATER("The queuing mechanism in TBufferMerger was removed in ROOT v6.32") size_t GetQueueSize() const
_R__DEPRECATED_LATER("The queuing mechanism in TBufferMerger was removed in ROOT v6.32") void SetCompressTemporaryKeys(Bool_t
_R__DEPRECATED_LATER("The queuing mechanism in TBufferMerger was removed in ROOT v6.32") size_t GetAutoSave() const
Bool_t GetNotrees() const
Returns whether the file has been marked as not containing any TTree objects and thus that steps that...
void Merge(TBufferMergerFile *memfile)
std::vector< std::weak_ptr< TBufferMergerFile > > fAttachedFiles
_R__DEPRECATED_LATER("The queuing mechanism in TBufferMerger was removed in ROOT v6.32") size_t GetBuffered() const
virtual ~TBufferMerger()
Destructor.
TBufferMerger(const TBufferMerger &)
TBufferMerger has no copy constructor.
void SetNotrees(Bool_t notrees=kFALSE)
Indicates that any TTree objects in the file should be skipped and thus that steps that are specific ...
std::shared_ptr< TBufferMergerFile > GetFile()
Returns a TBufferMergerFile to which data can be written.
TBufferMerger & operator=(const TBufferMerger &)
TBufferMerger has no copy operator.
const char * GetMergeOptions()
Returns the current merge options.
_R__DEPRECATED_LATER("The queuing mechanism in TBufferMerger was removed in ROOT v6.32") void SetAutoSave(size_t)
TBufferMerger()
TBufferMerger has no default constructor.
void SetMergeOptions(const TString &options)
Sets the merge options.
void Init(std::unique_ptr< TFile >)
virtual Int_t Write(const char *=nullptr, Int_t=0, Int_t=0) override
Write this object to the current directory.
This class provides file copy and merging services.
Bool_t GetNotrees() const
virtual void SetNotrees(Bool_t notrees=kFALSE)
A TMemFile is like a normal TFile except that it reads and writes only from memory.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
@ kUseCompiledDefault
Use the compile-time default setting.