Arcane
v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
CaseTableParams.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4
// See the top-level COPYRIGHT file for details.
5
// SPDX-License-Identifier: Apache-2.0
6
//-----------------------------------------------------------------------------
7
/*---------------------------------------------------------------------------*/
8
/* CaseTableParams.h (C) 2000-2023 */
9
/* */
10
/* Paramètres d'une table de marche du jeu de données. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_CASETABLEPARAMS_H
13
#define ARCANE_CASETABLEPARAMS_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/CaseTable.h"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
namespace
Arcane
23
{
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
27
/*!
28
* \internal
29
* \brief Paramètre d'une fonction.
30
*/
31
class
CaseTableParams
32
{
33
public
:
34
35
class
Impl
;
36
37
public
:
38
39
CaseTableParams
(
CaseTable::eParamType
v);
40
virtual
~CaseTableParams
();
41
42
public
:
43
44
bool
null()
const
;
45
Integer nbElement()
const
;
46
void
value(Integer
id
, Real& v)
const
;
47
void
value(Integer
id
, Integer& v)
const
;
48
CaseTable::eError
appendValue(
const
String
& value);
49
CaseTable::eError
setValue(Integer
id
,
const
String
& value);
50
CaseTable::eError
setValue(Integer
id
, Real v);
51
CaseTable::eError
setValue(Integer
id
, Integer v);
52
void
removeValue(Integer
id
);
53
void
toString(Integer
id
,
String
& str)
const
;
54
void
setType(
ICaseFunction::eParamType
new_type);
55
56
void
getRange(Real v, Int32& begin, Int32& end)
const
;
57
void
getRange(Integer v, Int32& begin, Int32& end)
const
;
58
59
private
:
60
61
Impl
* m_p;
62
63
private
:
64
65
template
<
typename
T>
inline
void
_getRange(T v, Int32& begin, Int32& end)
const
;
66
};
67
68
/*---------------------------------------------------------------------------*/
69
/*---------------------------------------------------------------------------*/
70
71
}
// namespace Arcane
72
73
/*---------------------------------------------------------------------------*/
74
/*---------------------------------------------------------------------------*/
75
76
#endif
77
78
79
80
Arcane::CaseTableParams::Impl
Definition
CaseTableParams.cc:214
Arcane::CaseTableParams
Definition
CaseTableParams.h:32
Arcane::CaseTable::eError
eError
Type des erreurs retournées par la classe.
Definition
CaseTable.h:47
Arcane::ICaseFunction::eParamType
eParamType
Type d'un paramètre d'une fonction.
Definition
ICaseFunction.h:55
Arccore::String
Chaîne de caractères unicode.
Definition
arccore/src/base/arccore/base/String.h:70
Arcane
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Definition
AbstractCaseDocumentVisitor.cc:20
arcane
core
CaseTableParams.h
Généré le Lundi 18 Novembre 2024 02:56:48 pour Arcane par
1.9.8