English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Launcher: TOutputFile.h Source File
Uranie / Launcher  v4.10.0
/* @license-end */
TOutputFile.h
Go to the documentation of this file.
1 // Copyright (C) 2013-2024 CEA/DES
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Lesser General Public License as published
6 // by the Free Software Foundation, either version 3 of the License, or any
7 // later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 // $Id$
19 // $Author$
20 // $Date$
21 // $Revision$
22 // $State$
24 
61 #ifndef TOUTPUTFILE_H
62 #define TOUTPUTFILE_H
63 
64 // ROOT
65 #include "Rtypes.h"
66 #include "TString.h"
67 #include "TList.h"
68 // URANIE
69 #include "Launcher.h"
70 #include "TCodeFile.h"
71 
72 #include <vector>
73 #include <map>
74 #include <sstream>
75 #include <string>
76 
77 using std::string;
78 using std::map;
79 
80 namespace URANIE
81 {
82 namespace Launcher
83 {
84 
85 typedef struct unforkjob forkcode;
86 
87 class TOutputFile: public TCodeFile
88 {
89 public:
90  //---------------------------------------------
94  TOutputFile(TString str);
97  virtual ~TOutputFile();
99 
100  //---------------------------------------------
104 
107  virtual void addAttribute(URANIE::DataServer::TAttribute*);
109 
111  virtual void addAttribute(TString name);
113 
114  //---------------------------------------------
118 // virtual Bool_t searchOutput(Int_t &n, Double_t *val, TList *lstOut = NULL);
119  virtual Bool_t searchOutput(forkcode *fjob, Int_t &n, Double_t *val,
120  TList *lstOut = NULL) = 0;
121 
122  virtual Bool_t searchOutput(forkcode *fjob, vector<URANIE::DataServer::UEntry*> *out)=0;//{ return 0; }
124 
125  //---------------------------------------------
129  virtual void printLog(Option_t *option = "");
131 
132  ClassDef(URANIE::Launcher::TOutputFile, ID_LAUNCHER)
133  //Classe de
134 };
135 
136 } // Fin du namespace Launcher
137 } // Fin du namespace URANIE
138 #endif
Definition: TCluster.h:66
TOutputFile(TString str)
Default constructor.
struct unforkjob forkcode
Definition: TInputFile.h:53
virtual void addAttribute(URANIE::DataServer::TAttribute *)
Add the attribute in the file.
Description of the class TOutputFile.
Definition: TOutputFile.h:87
Interface de la classe URANIE::Launcher::TCodeFile.
virtual ~TOutputFile()
Default destructor.
virtual void printLog(Option_t *option="")
Description of the class TCodeFile.
Definition: TCodeFile.h:75
virtual Bool_t searchOutput(forkcode *fjob, Int_t &n, Double_t *val, TList *lstOut=NULL)=0