English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Launcher: TInputFileKey.h Source File
Uranie / Launcher  v4.10.0
/* @license-end */
TInputFileKey.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 
41 #ifndef TINPUTFILEKEY_H
42 #define TINPUTFILEKEY_H
43 
44 // URANIE
45 #include "Launcher.h"
46 #include "TInputFile.h"
47 #include "UExceptions.h"
48 
49 namespace URANIE
50 {
51 namespace Launcher
52 {
54 
61 {
62 public:
63 
64  //---------------------------------------------
68  TInputFileKey(TString str);
71  virtual ~TInputFileKey();
73 
74  //---------------------------------------------
78 // void addAttribute(URANIE::DataServer::TAttribute*);
80  //---------------------------------------------
84  virtual void init();
86 
87  virtual void terminate();
89 
90  //---------------------------------------------
94 
98  virtual void searchIndexeAttribute(URANIE::DataServer::TAttribute* att);
100 
107  void substitue(forkcode *fjob, Int_t &n, Double_t *val, Int_t *index = NULL);
108  void substitue(forkcode *fjob, Int_t &n, vector<URANIE::DataServer::UEntry*> *ent, Int_t *index = NULL);
110 
111  //---------------------------------------------
115  virtual void printLog(Option_t *option = "");
117 
118  ClassDef(URANIE::Launcher::TInputFileKey, ID_LAUNCHER)
119  //Classe de
120 };
121 
122 } // Fin du namespace Launcher
123 } // Fin du namespace URANIE
124 #endif
Definition: TCluster.h:66
TInputFileKey(TString str)
Default constructor.
void substitue(forkcode *fjob, Int_t &n, Double_t *val, Int_t *index=NULL)
Substitute the values of the attributes linked in the input file and write it.
Interface of the class URANIE::Launcher::TInputFile.
Abstract class for an input file of a code.
Definition: TInputFile.h:55
struct unforkjob forkcode
Definition: TInputFile.h:53
virtual void terminate()
The terminate step.
virtual void searchIndexeAttribute(URANIE::DataServer::TAttribute *att)
search the indexes of the attribute in the input file
A class for input file of a code with a key.
Definition: TInputFileKey.h:60
virtual void init()
The init step.
virtual ~TInputFileKey()
Default destructor.
virtual void printLog(Option_t *option="")