English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TAttributeFormula.h Source File
Uranie / DataServer  v4.10.0
/* @license-end */
TAttributeFormula.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/>.
17 #ifndef TAttributeFormula_H
18 #define TAttributeFormula_H
19 #include "TString.h"
20 #include <string>
21 
33 // Uranie
34 #include "DataServer.h"
35 #include "TAttribute.h"
36 #include "UExceptions.h"
37 
38 namespace URANIE
39 {
40 namespace DataServer
41 {
43 {
44 protected:
45  TString sformula;
46 
47 public:
51 
55  //TAttributeFormula();
57 
62  TAttributeFormula(TString name, TString formula = TString(""));
63  virtual ~TAttributeFormula();
65 
66  //---------------------------------------------
70 
75  void setFormula(TString name);
77  TString getFormula();
79 
80  //---------------------------------------------
84  void printLog();
86  ClassDef(URANIE::DataServer::TAttributeFormula, ID_DATASERVER)
87  //Definition of an variable by a formula
88 
89 };
90 } // Fin du namespace DataServer
91 } // Fin du namespace URANIE
92 
93 #endif
ROOT.
Definition: TAttribute.h:104
TAttributeFormula(TString name, TString formula=TString(""))
Default Constructor.
TString sformula
Formula.
Definition: TAttributeFormula.h:45
Description of a variable (field) by a formula.
Definition: TAttributeFormula.h:42
Description of a variable (field).
Definition: TAttribute.h:136
Interface file for the class URANIE::DataServer::TAttribute.
void setFormula(TString name)
Sets the formula to the attribute.
TString getFormula()
Returns the formula of the attribute.