English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Launcher: TInputFileXML.h Source File
Uranie / Launcher v4.9.0
/* @license-end */
TInputFileXML.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
42#ifndef TINPUTFILEXML_H
43#define TINPUTFILEXML_H
44
45// ROOT
46#include "Rtypes.h"
47#include "TString.h"
48// URANIE
49#include "TAttribute.h"
50#include "TInputFile.h"
51
52namespace URANIE
53{
54namespace Launcher
55{
56
58{
59public:
60 //---------------------------------------------
64
65 TInputFileXML(TString str);
67 virtual ~TInputFileXML();
69
70 //---------------------------------------------
74
75 Bool_t isFileToCopy()
76 {
77 return kFALSE;
78 }
80
83 TString getAttributeInKey(TString skey);
85 TString getFieldInKey(TString skey);
86
88
89 //---------------------------------------------
93
97 virtual void searchIndexeAttribute(URANIE::DataServer::TAttribute* att);
99
106 void substitue(Int_t &n, Double_t *val, Int_t *index = NULL);
107 void substitue(Int_t &n, vector<URANIE::DataServer::UEntry*> *ent, Int_t *index = NULL);
109
110 //---------------------------------------------
114 virtual void printLog(Option_t *option = "");
116
117 ClassDef(URANIE::Launcher::TInputFileXML, ID_LAUNCHER)
118 //Classe de
119};
120
121} // Fin du namespace Launcher
122} // Fin du namespace URANIE
123#endif
Interface of the class URANIE::Launcher::TInputFile.
Description of the class TInputFileXML.
Definition TInputFileXML.h:58
virtual void printLog(Option_t *option="")
Bool_t isFileToCopy()
Gets the type of the file. This method is used to find InputFile of type 'Recreate'.
Definition TInputFileXML.h:75
TInputFileXML(TString str)
Default constructor.
TString getFieldInKey(TString skey)
Return the last field in the key.
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.
TString getAttributeInKey(TString skey)
Return the name of the attribute for the key.
virtual void searchIndexeAttribute(URANIE::DataServer::TAttribute *att)
search the indexes of the attribute in the input file
virtual ~TInputFileXML()
Default destructor.
void substitue(Int_t &n, vector< URANIE::DataServer::UEntry * > *ent, Int_t *index=NULL)
Abstract class for an input file of a code.
Definition TInputFile.h:53
Definition TCluster.h:67