English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TPossibilityAttribute.h Source File
Uranie / DataServer  v4.10.0
/* @license-end */
TPossibilityAttribute.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/>.
18 // $Id$
19 // $Author$
20 // $Date$
21 // $Revision$
22 // $State$
24 
33 #ifndef TPOSSIBITYATTRIBUTE_H
34 #define TPOSSIBITYATTRIBUTE_H
35 
36 #include "TString.h"
37 #include <iostream>
38 
39 // Uranie
40 #include "DataServer.h"
41 #include "TAttribute.h"
42 #include "UExceptions.h"
43 
44 namespace URANIE
45 {
46 namespace DataServer
47 {
48 
57 {
58 public:
59 
62  {
64  };
67  {
69  };
70 
73 public:
74  // -----------------------------------------------------------------------
75  // Constructors
76  // -----------------------------------------------------------------------
78 
82  TPossibilityAttribute(TString str);
83 
85 
92  TPossibilityAttribute(TString str, EPossibilityType value,
93  EMonotonousRelationship monotonous);
94 
96 
103  TPossibilityAttribute(TString str, EPossibilityType value, Double_t min,
104  Double_t max, EMonotonousRelationship monotonous);
105 
107  virtual ~TPossibilityAttribute();
108 
109  //---------------------------------------------
115  {
116  return _PossibilityType;
117  }
119  Bool_t isIncreasing()
120  {
122  }
124  Bool_t isDecreasing()
125  {
127  }
129 
130  //---------------------------------------------
134  int getLawType()
136  {
137  return _PossibilityType;
138  }
139 
141 
142  //---------------------------------------------
146  virtual void printLog();
149 
150  ClassDef(TPossibilityAttribute, ID_DATASERVER)
151  //Definition of a stochastic variable
152 };
153 } // Fin du namespace DataServer
154 } // Fin du namespace URANIE
155 
156 #endif
ROOT.
Definition: TAttribute.h:104
Definition: TPossibilityAttribute.h:63
Definition: TPossibilityAttribute.h:63
virtual ~TPossibilityAttribute()
Default Destructor.
EMonotonousRelationship _MonotonousRelationship
The relationship of monotonous.
Definition: TPossibilityAttribute.h:72
int getMonotonousRelationship()
Get the relationship of monotonous.
Definition: TPossibilityAttribute.h:114
Definition: TPossibilityAttribute.h:68
Definition: TPossibilityAttribute.h:56
int getLawType()
Returns the law type as an integer.
Definition: TPossibilityAttribute.h:135
Definition: TPossibilityAttribute.h:63
TPossibilityAttribute(TString str)
Constructor setting default possibility by the name.
Definition: TPossibilityAttribute.h:68
Definition: TPossibilityAttribute.h:63
EMonotonousRelationship
The list of monotonous relationship.
Definition: TPossibilityAttribute.h:66
Bool_t isIncreasing()
is the relationship of monotonous of the attribute is Increasing
Definition: TPossibilityAttribute.h:119
virtual void printLog()
Display information specific to this class.
Definition: TPossibilityAttribute.h:63
EPossibilityType
The list of possibility that a TAttribute can follow.
Definition: TPossibilityAttribute.h:61
Bool_t isDecreasing()
is the relationship of monotonous of the attribute is Decreasing
Definition: TPossibilityAttribute.h:124
Description of a variable (field).
Definition: TAttribute.h:136
Definition: TPossibilityAttribute.h:68
Interface file for the class URANIE::DataServer::TAttribute.
EPossibilityType _PossibilityType
The possibility type EPossibilityType.
Definition: TPossibilityAttribute.h:71