Arcane
v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
TimeLoopSingletonServiceInfo.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
/* TimeLoopSingletonServiceInfo.h (C) 2000-2022 */
9
/* */
10
/* Infos d'un service singleton d'une boucle en temps. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_TIMELOOPSINGLETONSERVICEINFO_H
13
#define ARCANE_TIMELOOPSINGLETONSERVICEINFO_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/utils/String.h"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
namespace
Arcane
23
{
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
27
/*!
28
* \internal
29
* \brief Infos d'un service singleton d'une boucle en temps.
30
*/
31
class
TimeLoopSingletonServiceInfo
32
{
33
public
:
34
35
TimeLoopSingletonServiceInfo
()
36
: m_is_required(
false
){}
37
TimeLoopSingletonServiceInfo
(
const
String
& name,
bool
is_required)
38
: m_name(name), m_is_required(is_required){}
39
40
public
:
41
42
const
String
& name()
const
{
return
m_name; }
43
bool
isRequired()
const
{
return
m_is_required; }
44
bool
operator==(
const
TimeLoopSingletonServiceInfo
& rhs)
const
45
{
46
if
(m_name!=rhs.m_name)
47
return
false
;
48
return
m_is_required!=rhs.m_is_required;
49
}
50
51
private
:
52
53
String
m_name;
54
bool
m_is_required;
55
};
56
57
/*---------------------------------------------------------------------------*/
58
/*---------------------------------------------------------------------------*/
59
60
}
// End namespace Arcane
61
62
/*---------------------------------------------------------------------------*/
63
/*---------------------------------------------------------------------------*/
64
65
#endif
66
Arcane::TimeLoopSingletonServiceInfo
Definition
TimeLoopSingletonServiceInfo.h:32
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
TimeLoopSingletonServiceInfo.h
Généré le Lundi 18 Novembre 2024 02:56:50 pour Arcane par
1.9.8