10#include "KVDatedFileManager.h"
54 while ((
file = next())) {
143 :
TNamed(filename, basename)
154 f.Remove(0,
b.Length() + 1);
155 f.ReplaceAll(
"_",
" ");
156 fTimestamp.SetSQLDate(
f.Data());
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t b
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
R__EXTERN TSystem * gSystem
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
void Sort(Bool_t order=kSortAscending)
virtual TObject * FindObject(const char *name) const
virtual void Clear(Option_t *option="")
virtual TObject * Last() const
virtual TObject * At(Int_t idx) const
virtual void Add(TObject *obj)
A filename with an SQL-format date extension which can be used to sort a list according to date.
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....
virtual Int_t GetEntries() const
const char * GetName() const override
virtual const char * GetName() const
virtual Int_t IndexOf(const TObject *obj) const
const char * Data() const
Bool_t BeginsWith(const char *s, ECaseCompare cmp=kExact) const
virtual TList * GetListOfFiles() const
virtual char * ExpandPathName(const char *path)