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_t * GetDate () const
 
const Char_t * GetFullPath () const
 
const Char_t * GetGroup () const
 
Long64_t GetSize () const
 
const Char_t * GetUser () const
 
void ls (Option_t *option="") const
 

Private Attributes

FileStat_t fFileInfos
 
TString fFullPath
 
UserGroup_t * fUserInfo
 

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

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.