Project
Loading...
Searching...
No Matches
FairGeoMedia.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#ifndef FAIRGEOMEDIA_H
9#define FAIRGEOMEDIA_H
10
11#include <Rtypes.h> // for FairGeoMedia::Class, etc
12#include <TNamed.h> // for TNamed
13#include <TString.h> // for TString
14#include <iosfwd> // for fstream
15
16class FairGeoMedium;
17class TList;
18
23class FairGeoMedia : public TNamed
24{
25 private:
26 TList* media;
27 TString inputFile;
28 TString author;
29 TString description;
30 public:
33 void setInputFile(const char* file) { inputFile = file; }
34 const char* getInputFile() { return inputFile; }
36 FairGeoMedium* getMedium(const char*);
37 TList* getListOfMedia() { return media; }
38 void read(std::fstream&);
39 void print();
40 void list();
41 void write(std::fstream&);
42 void setAuthor(TString& s) { author = s; }
43 void setDescription(TString& s) { description = s; }
44 TString& getAuthor() { return author; }
45 TString& getDescription() { return description; }
46
47 private:
49 FairGeoMedia& operator=(const FairGeoMedia&);
50
51 ClassDef(FairGeoMedia, 0);
52};
53
54#endif /* !FAIRGEOMEDIA_H */
header::DataDescription description
TString & getDescription()
void addMedium(FairGeoMedium *m)
void setInputFile(const char *file)
void setAuthor(TString &s)
void read(std::fstream &)
void setDescription(TString &s)
void write(std::fstream &)
TString & getAuthor()
TList * getListOfMedia()
const char * getInputFile()
const GLfloat * m
Definition glcorearb.h:4066