English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Launcher: TInputFileKey.h Source File
Uranie / Launcher v4.9.0
/* @license-end */
TInputFileKey.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
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
49namespace URANIE
50{
51namespace Launcher
52{
54
61{
62public:
63
64 //---------------------------------------------
68
69 TInputFileKey(TString str);
71 virtual ~TInputFileKey();
73
74 //---------------------------------------------
78// void addAttribute(URANIE::DataServer::TAttribute*);
80 //---------------------------------------------
84
85 virtual void init();
86
87 virtual void terminate();
89
90 //---------------------------------------------
94
98 virtual void searchIndexeAttribute(URANIE::DataServer::TAttribute* att);
100
107 void substitue(Int_t &n, Double_t *val, Int_t *index = NULL);
108 void substitue(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
Interface of the class URANIE::Launcher::TInputFile.
A class for input file of a code with a key.
Definition TInputFileKey.h:61
virtual void searchIndexeAttribute(URANIE::DataServer::TAttribute *att)
search the indexes of the attribute in the input file
virtual void terminate()
The terminate step.
void substitue(Int_t &n, Double_t *val, Int_t *index=NULL)
Substitute the values of the attributes linked in the input file and write it.
TInputFileKey(TString str)
Default constructor.
virtual ~TInputFileKey()
Default destructor.
void substitue(Int_t &n, vector< URANIE::DataServer::UEntry * > *ent, Int_t *index=NULL)
virtual void printLog(Option_t *option="")
virtual void init()
The init step.
Abstract class for an input file of a code.
Definition TInputFile.h:53
Definition TCluster.h:67