Project
Loading...
Searching...
No Matches
FairFileInfo.h
Go to the documentation of this file.
1/********************************************************************************
2 * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3 * *
4 * This software is distributed under the terms of the *
5 * GNU Lesser General Public Licence (LGPL) version 3, *
6 * copied verbatim in the file "LICENSE" *
7 ********************************************************************************/
8// FairFileInfo.h
9// Created by Mohammad Al-Turany on 6/21/11.
10//
11#ifndef FAIRFILEINFO_H
12#define FAIRFILEINFO_H
13
14#include <Rtypes.h> // for UInt_t, FairFileInfo::Class, etc
15#include <TNamed.h> // for TNamed
16#include <TString.h> // for TString
17
18class TFile;
19
20class FairFileInfo : public TNamed
21{
22 public:
24 FairFileInfo(TFile* file, UInt_t id, UInt_t ChId);
25 virtual ~FairFileInfo();
26
27 TString GetPath() { return fPath; }
28 UInt_t GetSize() { return fSize; }
29 UInt_t GetIdentifier() { return fIdentifier; }
30 UInt_t GetOrderInChain() { return fInChainId; }
31
32 void Print(Option_t* option = "") const;
33
34 void SetPath(TString path) { fPath = path; }
35 void SetSize(UInt_t size) { fSize = size; }
36 void SetIdentifier(UInt_t id) { fIdentifier = id; }
37 void SetOrderInChain(UInt_t id) { fInChainId = id; }
38
39 protected:
41 TString fPath;
43 UInt_t fSize;
47 UInt_t fInChainId;
48
49 private:
51 FairFileInfo& operator=(const FairFileInfo&);
52
53 ClassDef(FairFileInfo, 1);
54};
55
56#endif // FAIRFILEINFO_H
UInt_t GetOrderInChain()
void SetOrderInChain(UInt_t id)
void SetPath(TString path)
void Print(Option_t *option="") const
UInt_t GetSize()
virtual ~FairFileInfo()
void SetIdentifier(UInt_t id)
UInt_t fInChainId
void SetSize(UInt_t size)
UInt_t GetIdentifier()
TString fPath
UInt_t fIdentifier
TString GetPath()
GLsizeiptr size
Definition glcorearb.h:659
GLsizei const GLchar *const * path
Definition glcorearb.h:3591
GLuint id
Definition glcorearb.h:650