English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReLauncher: TLineResult.h Source File
Uranie / ReLauncher  v4.10.0
/* @license-end */
TLineResult.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 by
6 // 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 1.3 $
22 // $State$
24 
32 #ifndef __TLINERESULT__
33 #define __TLINERESULT__
34 
35 //ROOT
36 #include "TString.h"
37 #include "TList.h"
38 #include "TObjArray.h"
39 #include "TRegexp.h"
40 
41 //Uranie
42 #include "Relauncher.h"
43 #include "TAttribute.h"
44 #include "TCodeEval.h"
45 
46 namespace URANIE
47 {
48 namespace Relauncher
49 {
50 
51 class TLineResult: public TCodeResult
52 {
53 protected:
54  static TRegexp _num;
55  TString _path;
56  TObjArray _vars;
58 
59 public:
60  TLineResult(const char *);
61  virtual ~TLineResult(void);
62 
63  void addOutput(URANIE::DataServer::TAttribute *at);
64  void setOutputs(int, URANIE::DataServer::TAttribute *at, ...);
65  void build(TObjArray *);
66  int get(TString &, Double_t*);
67  int get(TString &work, vector<URANIE::DataServer::UEntry*> *sout);
68 
69  void clearFile(TString tmpdir);
70  void setVectorProperties( TString beg, TString delim, TString end);
71  void setStringProperties( TString beg, TString end);
72 
73  ClassDef(URANIE::Relauncher::TLineResult, ID_RELAUNCHER)
74 
75 };
76 
77 }
78 } //namespace
79 
80 #endif
Definition: TBaseEval.cxx:44
Definition: TCodeBase.h:80
TLineResult(const char *)
Definition: TLineResult.cxx:50
encapsulation dun TCode
TObjArray _vars
Definition: TLineResult.h:56
void setOutputs(int, URANIE::DataServer::TAttribute *at,...)
Definition: TLineResult.cxx:67
void setVectorProperties(TString beg, TString delim, TString end)
Definition: TLineResult.cxx:133
TString _svecend
Definition: TLineResult.h:57
Definition: TLineResult.h:51
TString _sstrend
Definition: TLineResult.h:57
TString _sstrbeg
Definition: TLineResult.h:57
void build(TObjArray *)
Definition: TLineResult.cxx:84
void clearFile(TString tmpdir)
Definition: TLineResult.cxx:186
TString _svecdel
Definition: TLineResult.h:57
static TRegexp _num
Definition: TLineResult.h:54
void addOutput(URANIE::DataServer::TAttribute *at)
Definition: TLineResult.cxx:62
void setStringProperties(TString beg, TString end)
Definition: TLineResult.cxx:138
TString _svecbeg
Definition: TLineResult.h:57
TString _path
Definition: TLineResult.h:55
virtual ~TLineResult(void)
Definition: TLineResult.cxx:57