10#ifndef __KVDatedFileManager_H
11#define __KVDatedFileManager_H
#define ClassDef(name, id)
Handles a set of different versions of files with the same base name and a timestamp.
KVString fDirectory
the directory containg the files
const Char_t * GetPreviousVersion(const Char_t *name)
void Update()
Updates list of files.
KVString fBaseName
the base name of the file
const Char_t * GetOldestVersion()
Returns name of file with earliest timestamp.
KVList fFileList
list of files sorted by timestamp
virtual ~KVDatedFileManager()
Extension of TDatime to handle various useful date formats.
Extended TList class which owns its objects by default.
A filename with an SQL-format date extension which can be used to sort a list according to date.
virtual ~KVSortableDatedFile()
KVDatime GetTimeStamp() const
virtual Bool_t IsEqual(const TObject *obj) const
Two files are the same if they have the same basename and timestamp.
KVDatime fTimestamp
timestamp extracted from filename
virtual Int_t Compare(const TObject *obj) const
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....