English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReLauncher: TFlatResult.h Source File
Uranie / ReLauncher v4.9.0
/* @license-end */
TFlatResult.h
Go to the documentation of this file.
1
2// 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 __TFLATRESULT__
33#define __TFLATRESULT__
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
46namespace URANIE
47{
48namespace Relauncher
49{
50
52{
53protected:
54 static TRegexp _num;
55 TString _path;
56 TObjArray _vars;
58 string _ssepar;
60
61public:
62 TFlatResult(const char *);
63 virtual ~TFlatResult(void);
64
65 void addOutput(URANIE::DataServer::TAttribute *at);
66 void setOutputs(int, URANIE::DataServer::TAttribute *at, ...);
67 void build(TObjArray *);
68 int get(TString &, Double_t*);
69 int get(TString &work, vector<URANIE::DataServer::UEntry*> *sout);
70
71 void clearFile(TString tmpdir);
72 void setVectorProperties( TString beg, TString delim, TString end);
73 void setStringProperties( TString beg, TString end);
74 void isMultiLine( string separ="" ) { _bMultiLine=true; if( separ!="" ) _ssepar = separ;}
75
76 ClassDef(URANIE::Relauncher::TFlatResult, ID_RELAUNCHER)
77
78};
79
80}
81} //namespace
82
83#endif
encapsulation dun TCode
Definition TCodeEval.h:66
Definition TFlatResult.h:52
bool _bMultiLine
Definition TFlatResult.h:59
TString _sstrend
Definition TFlatResult.h:57
TString _svecend
Definition TFlatResult.h:57
string _ssepar
Definition TFlatResult.h:58
int get(TString &, Double_t *)
Definition TFlatResult.cxx:106
void setStringProperties(TString beg, TString end)
Definition TFlatResult.cxx:68
void clearFile(TString tmpdir)
Definition TFlatResult.cxx:262
void build(TObjArray *)
Definition TFlatResult.cxx:97
static TRegexp _num
Definition TFlatResult.h:54
TString _svecbeg
Definition TFlatResult.h:57
TObjArray _vars
Definition TFlatResult.h:56
void addOutput(URANIE::DataServer::TAttribute *at)
Definition TFlatResult.cxx:75
TString _path
Definition TFlatResult.h:55
TString _sstrbeg
Definition TFlatResult.h:57
void setVectorProperties(TString beg, TString delim, TString end)
Definition TFlatResult.cxx:63
void setOutputs(int, URANIE::DataServer::TAttribute *at,...)
Definition TFlatResult.cxx:80
virtual ~TFlatResult(void)
Definition TFlatResult.cxx:59
TString _svecdel
Definition TFlatResult.h:57
void isMultiLine(string separ="")
Definition TFlatResult.h:74
bool _bWarningDone
Definition TFlatResult.h:59
Definition TBaseEval.cxx:44