Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4CommandsAnalysis/TGo4ComAutosave.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 
00017 
00018 #ifndef TGO4COMAUTOSAVE_H
00019 #define TGO4COMAUTOSAVE_H
00020 #include "Go4CommandsTaskHandler/TGo4TaskHandlerCommand.h"
00021 #include "TGo4AnalysisCommand.h"
00022 #include "Go4CommandsAnalysis/TGo4AnalysisCommand.h"
00023 #include "TString.h"
00024 
00028 class TGo4ComAutosave : public TGo4AnalysisCommand {
00029   public:
00030 
00031     TGo4ComAutosave();
00032 
00033     virtual ~TGo4ComAutosave();
00034 
00035     Int_t ExeCom();
00036 
00037 
00038     void SetAutoSaveCompression(Int_t i=5) { fiAutoSaveCompression=i; }
00039 
00040 
00041    void SetAutoSaveOverwrite(Bool_t over=kTRUE)
00042            {
00043                if(over)
00044                    fbAutoSaveOverwrite=1;
00045                else
00046                    fbAutoSaveOverwrite=0;
00047            }
00048 
00049 
00050 
00051     void SetAutoFileName(const char* name) { fxAutoFileName = name; }
00052 
00053     const char* GetAutoFileName() const { return fxAutoFileName.Data(); }
00054 
00055   private:
00056 
00058     Int_t fiAutoSaveCompression;
00059 
00061     Int_t fbAutoSaveOverwrite;
00062 
00064     TString fxAutoFileName;
00065 
00066    ClassDef(TGo4ComAutosave,1)
00067 };
00068 
00069 #endif //TGO4COMAUTOSAVE_H
00070 
00071 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:55:50 2005 for Go4-v2.10-5 by doxygen1.2.15