Arcane
v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
ForLoopTraceInfo.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
/* ForLoopTraceInfo.h (C) 2000-2022 */
9
/* */
10
/* Informations de trace pour une boucle for. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_UTILS_FORLOOPTRACEINFO_H
13
#define ARCANE_UTILS_FORLOOPTRACEINFO_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/utils/String.h"
18
#include "arcane/utils/TraceInfo.h"
19
20
/*---------------------------------------------------------------------------*/
21
/*---------------------------------------------------------------------------*/
22
23
namespace
Arcane
24
{
25
26
/*---------------------------------------------------------------------------*/
27
/*---------------------------------------------------------------------------*/
28
/*!
29
* \brief Informations de trace pour une boucle 'for'.
30
*/
31
class
ARCANE_UTILS_EXPORT
ForLoopTraceInfo
32
{
33
public
:
34
35
ForLoopTraceInfo
() =
default
;
36
explicit
ForLoopTraceInfo
(
const
TraceInfo
& trace_info)
37
: m_trace_info(trace_info)
38
, m_is_valid(
true
)
39
{
40
}
41
ForLoopTraceInfo
(
const
TraceInfo
& trace_info,
const
String
& loop_name)
42
: m_trace_info(trace_info)
43
, m_loop_name(loop_name)
44
, m_is_valid(
true
)
45
{
46
}
47
48
public
:
49
50
const
TraceInfo
& traceInfo()
const
{
return
m_trace_info; }
51
const
String
& loopName()
const
{
return
m_loop_name; }
52
bool
isValid()
const
{
return
m_is_valid; }
53
54
private
:
55
56
TraceInfo
m_trace_info;
57
String
m_loop_name;
58
bool
m_is_valid =
false
;
59
};
60
61
/*---------------------------------------------------------------------------*/
62
/*---------------------------------------------------------------------------*/
63
64
}
// End namespace Arcane
65
66
/*---------------------------------------------------------------------------*/
67
/*---------------------------------------------------------------------------*/
68
69
#endif
70
Arcane::ForLoopTraceInfo
Informations de trace pour une boucle 'for'.
Definition
ForLoopTraceInfo.h:32
Arccore::String
Chaîne de caractères unicode.
Definition
arccore/src/base/arccore/base/String.h:70
Arccore::TraceInfo
Informations de trace.
Definition
arccore/src/base/arccore/base/TraceInfo.h:33
Arcane
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Definition
AbstractCaseDocumentVisitor.cc:20
arcane
utils
ForLoopTraceInfo.h
Généré le Lundi 18 Novembre 2024 02:56:54 pour Arcane par
1.9.8