KaliVeda
Toolkit for HIC analysis
KVSystemFile Class Reference

Detailed Description

Extended ROOT TSystemFile with added info on file size etc.

Created by KVClassFactory on Mon Sep 24 10:45:24 2012 Author: John Frankland,,,

Definition at line 18 of file KVSystemFile.h.

#include <KVSystemFile.h>

Inheritance diagram for KVSystemFile:

Public Member Functions

 KVSystemFile ()
 Default constructor. More...
 
 KVSystemFile (const Char_t *filename, const Char_t *dirname)
 Get file infos. More...
 
virtual ~KVSystemFile ()
 Destructor. More...
 
const Char_tGetDate () const
 
const Char_tGetFullPath () const
 
const Char_tGetGroup () const
 
Long64_t GetSize () const
 
const Char_tGetUser () const
 
void ls (Option_t *option="") const
 
- Public Member Functions inherited from TSystemFile
 TSystemFile ()
 
 TSystemFile (const char *filename, const char *dirname)
 
virtual ~TSystemFile ()
 
void Browse (TBrowser *b) override
 
virtual void Copy (const char *to)
 
void Copy (TObject &) const override
 
virtual void Delete ()
 
void Delete (Option_t *) override
 
void DrawClass () const override
 
TObjectDrawClone (Option_t *) const override
 
void Dump () const override
 
virtual void Edit ()
 
const char * GetIconName () const override
 
void Inspect () const override
 
TClassIsA () const override
 
virtual Bool_t IsDirectory (const char *dir=nullptr) const
 
virtual void Move (const char *to)
 
virtual void Rename (const char *name)
 
void SetDrawOption (Option_t *) override
 
virtual void SetIconName (const char *name)
 
void SetName (const char *name) override
 
void SetTitle (const char *title) override
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 
void Clear (Option_t *option="") override
 
TObjectClone (const char *newname="") const override
 
Int_t Compare (const TObject *obj) const override
 
virtual void FillBuffer (char *&buffer)
 
const char * GetName () const override
 
const char * GetTitle () const override
 
ULong_t Hash () const override
 
Bool_t IsSortable () const override
 
TNamedoperator= (const TNamed &rhs)
 
void Print (Option_t *option="") const override
 
virtual void SetNameTitle (const char *name, const char *title)
 
virtual Int_t Sizeof () const
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 
virtual ~TObject ()
 
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void Draw (Option_t *option="")
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *vp)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, void *vp)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetUniqueID (UInt_t uid)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 

Private Attributes

FileStat_t fFileInfos
 
TString fFullPath
 
UserGroup_tfUserInfo
 

Additional Inherited Members

- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from TSystemFile
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TNamed
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

Constructor & Destructor Documentation

◆ KVSystemFile() [1/2]

KVSystemFile::KVSystemFile ( )

Default constructor.

Definition at line 15 of file KVSystemFile.cpp.

◆ KVSystemFile() [2/2]

KVSystemFile::KVSystemFile ( const Char_t filename,
const Char_t dirname 
)

Get file infos.

Definition at line 27 of file KVSystemFile.cpp.

◆ ~KVSystemFile()

KVSystemFile::~KVSystemFile ( )
virtual

Destructor.

Definition at line 41 of file KVSystemFile.cpp.

Member Function Documentation

◆ GetDate()

const Char_t* KVSystemFile::GetDate ( ) const
inline

Definition at line 44 of file KVSystemFile.h.

◆ GetFullPath()

const Char_t* KVSystemFile::GetFullPath ( ) const
inline

Definition at line 49 of file KVSystemFile.h.

◆ GetGroup()

const Char_t* KVSystemFile::GetGroup ( ) const
inline

Definition at line 35 of file KVSystemFile.h.

◆ GetSize()

Long64_t KVSystemFile::GetSize ( ) const
inline

Definition at line 40 of file KVSystemFile.h.

◆ GetUser()

const Char_t* KVSystemFile::GetUser ( ) const
inline

Definition at line 30 of file KVSystemFile.h.

◆ ls()

void KVSystemFile::ls ( Option_t option = "") const
virtual

Reimplemented from TNamed.

Definition at line 52 of file KVSystemFile.cpp.

Member Data Documentation

◆ fFileInfos

FileStat_t KVSystemFile::fFileInfos
private

Definition at line 19 of file KVSystemFile.h.

◆ fFullPath

TString KVSystemFile::fFullPath
private

Definition at line 21 of file KVSystemFile.h.

◆ fUserInfo

UserGroup_t* KVSystemFile::fUserInfo
private

Definition at line 20 of file KVSystemFile.h.