KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVSystemFile.h
1
3
4#ifndef __KVSYSTEMFILE_H
5#define __KVSYSTEMFILE_H
6
7#include "TSystemFile.h"
8#include "TSystem.h"
9#include "TDatime.h"
10
18class KVSystemFile : public TSystemFile {
22
23public:
25 KVSystemFile(const Char_t* filename, const Char_t* dirname);
26 virtual ~KVSystemFile();
27
28 void ls(Option_t* option = "") const;
29
30 const Char_t* GetUser() const
31 {
32 if (fUserInfo) return fUserInfo->fUser;
33 return "";
34 }
35 const Char_t* GetGroup() const
36 {
37 if (fUserInfo) return fUserInfo->fGroup;
38 return "";
39 }
41 {
42 return fFileInfos.fSize;
43 }
44 const Char_t* GetDate() const
45 {
47 return when.AsSQLString();
48 }
49 const Char_t* GetFullPath() const
50 {
51 return fFullPath;
52 }
53
54 ClassDef(KVSystemFile, 1) //TSystemFile with added info on file size etc.
55};
56
57#endif
char Char_t
const char Option_t
#define ClassDef(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void when
Extended ROOT TSystemFile with added info on file size etc.
const Char_t * GetUser() const
virtual ~KVSystemFile()
Destructor.
const Char_t * GetFullPath() const
void ls(Option_t *option="") const
const Char_t * GetGroup() const
KVSystemFile()
Default constructor.
FileStat_t fFileInfos
const Char_t * GetDate() const
UserGroup_t * fUserInfo
TString fFullPath
Long64_t GetSize() const
long long Long64_t
Long64_t fSize
Long_t fMtime
TString fUser
TString fGroup