KaliVeda
Toolkit for HIC analysis
KVSystemFile.cpp
1 //Created by KVClassFactory on Mon Sep 24 10:45:24 2012
2 //Author: John Frankland,,,
3 
4 #include "KVSystemFile.h"
5 #include "KVBase.h"
6 #include "TROOT.h"
7 
9 
10 
11 
12 
16 {
17  // Default constructor
18  fUserInfo = 0;
19 }
20 
21 
22 
23 
26 
27 KVSystemFile::KVSystemFile(const Char_t* filename, const Char_t* dirname)
28  : TSystemFile(filename, dirname)
29 {
30  // Get file infos
34 }
35 
36 
37 
40 
42 {
43  // Destructor
45 }
46 
47 
48 
49 
51 
53 {
55  printf("[%s:%s]\t%s\t%12lld\t%s\n",
56  GetUser(), GetGroup(), GetDate(), GetSize(), GetName());
57 }
58 
59 
#define SafeDelete(p)
char Char_t
const char Option_t
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
void AssignAndDelete(TString &target, char *tobedeleted)
R__EXTERN TSystem * gSystem
Extended ROOT TSystemFile with added info on file size etc.
Definition: KVSystemFile.h:18
virtual ~KVSystemFile()
Destructor.
void ls(Option_t *option="") const
const Char_t * GetGroup() const
Definition: KVSystemFile.h:35
const Char_t * GetDate() const
Definition: KVSystemFile.h:44
KVSystemFile()
Default constructor.
FileStat_t fFileInfos
Definition: KVSystemFile.h:19
const Char_t * GetUser() const
Definition: KVSystemFile.h:30
UserGroup_t * fUserInfo
Definition: KVSystemFile.h:20
TString fFullPath
Definition: KVSystemFile.h:21
Long64_t GetSize() const
Definition: KVSystemFile.h:40
const char * GetName() const override
static void IndentLevel()
virtual char * ConcatFileName(const char *dir, const char *name)
virtual int GetPathInfo(const char *path, FileStat_t &buf)
virtual UserGroup_t * GetUserInfo(const char *user=nullptr)
ClassImp(TPyArg)