47 if (destination == 0 || source == 0)
51 while ((key = (
TKey *)nextkey())) {
59 if (!destination_subdir) {
69 TKey *newkey =
new TKey(destination, *key, 0 );
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
TClass instances represent classes, structs and namespaces in the ROOT type system.
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
Describe directory structure in memory.
virtual TList * GetList() const
virtual TDirectory * GetDirectory(const char *namecycle, Bool_t printError=false, const char *funcname="GetDirectory")
Find a directory using apath.
virtual TFile * GetFile() const
virtual TKey * GetKey(const char *, Short_t=9999) const
virtual void SaveSelf(Bool_t=kFALSE)
virtual TDirectory * mkdir(const char *name, const char *title="", Bool_t returnExistingDirectory=kFALSE)
Create a sub-directory "a" or a hierarchy of sub-directories "a/b/c/...".
virtual TList * GetListOfKeys() const
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
void SumBuffer(Int_t bufsize)
Increment statistics for buffer sizes of objects in this file.
Book space in a file, create I/O buffers, to fill them, (un)compress them.
void Delete(Option_t *option="") override
Delete an object from the file.
virtual const char * GetClassName() const
virtual TObject * ReadObj()
To read a TObject* from the file.
virtual Int_t WriteFile(Int_t cycle=1, TFile *f=nullptr)
Write the encoded object supported by this key.
TObject * FindObject(const char *name) const override
Find an object in this list using its name.
virtual ~TMPIClientInfo()
Double_t fTimeSincePrevContact
void SetFile(TFile *file)
static void MigrateKey(TDirectory *destination, TDirectory *source)
const char * GetName() const override
Returns name of object.
Bool_t TestBit(UInt_t f) const
The TTimeStamp encapsulates seconds and ns since EPOCH.
Double_t AsDouble() const