Arcane
v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
TimeLoopEntryPointInfo.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
/* TimeLoopEntryPointInfo.h (C) 2000-2022 */
9
/* */
10
/* Informations sur un point d'entrée de la boucle en temps. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_TIMELOOPENTRYPOINTINFO_H
13
#define ARCANE_TIMELOOPENTRYPOINTINFO_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/utils/List.h"
18
#include "arcane/utils/String.h"
19
20
/*---------------------------------------------------------------------------*/
21
/*---------------------------------------------------------------------------*/
22
23
namespace
Arcane
24
{
25
26
/*---------------------------------------------------------------------------*/
27
/*---------------------------------------------------------------------------*/
32
class
TimeLoopEntryPointInfo
33
{
34
public
:
35
36
TimeLoopEntryPointInfo
() {}
37
explicit
TimeLoopEntryPointInfo
(
const
String
&
aname
)
38
: m_name(
aname
) { }
39
TimeLoopEntryPointInfo
(
const
String
&
aname
,
const
StringList
&
modules_depend
)
40
: m_name(
aname
), m_modules_depend(
modules_depend
)
41
{ }
42
43
public
:
44
45
const
String
& name()
const
{
return
m_name; }
46
const
StringList
& modulesDepend()
const
{
return
m_modules_depend; }
47
48
bool
operator==(
const
TimeLoopEntryPointInfo
&
rhs
)
const
49
{
50
if
(m_name!=
rhs
.m_name)
51
return
false
;
52
if
(m_modules_depend.
count
()!=
rhs
.m_modules_depend.count())
53
return
false
;
54
for
( Integer i=0, is=m_modules_depend.
count
(); i<is; ++i )
55
if
(m_modules_depend[i]!=
rhs
.m_modules_depend[i])
56
return
false
;
57
return
true
;
58
}
59
60
private
:
61
62
String
m_name;
63
StringList
m_modules_depend;
64
};
65
66
/*---------------------------------------------------------------------------*/
67
/*---------------------------------------------------------------------------*/
68
69
}
// End namespace Arcane
70
71
/*---------------------------------------------------------------------------*/
72
/*---------------------------------------------------------------------------*/
73
74
#endif
75
Arcane::CollectionBase::count
Integer count() const
Nombre d'éléments de la collection.
Definition
Collection.h:70
Arcane::LimaWrapper
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition
Lima.cc:120
Arcane::List< String >
Arcane::TimeLoopEntryPointInfo
Infos d'un point d'entrée d'une boucle en temps.
Definition
TimeLoopEntryPointInfo.h:33
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
AcceleratorGlobal.h:36
arcane
core
TimeLoopEntryPointInfo.h
Généré le Lundi 18 Novembre 2024 03:01:05 pour Arcane par
1.9.8