Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
VariableDependInfo.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/* VariableDependInfo.h (C) 2000-2013 */
9/* */
10/* Informations sur une dépendance de variable. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_VARIABLEDEPENDINFO_H
13#define ARCANE_VARIABLEDEPENDINFO_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/IVariable.h"
18#include "arcane/utils/TraceInfo.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23ARCANE_BEGIN_NAMESPACE
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28/*---------------------------------------------------------------------------*/
29/*---------------------------------------------------------------------------*/
33class ARCANE_CORE_EXPORT VariableDependInfo
34{
35 public:
36
38 const TraceInfo& trace_info);
39
40 public:
41
43 IVariable* variable() const { return m_variable; }
44
46 IVariable::eDependType dependType() const { return m_depend_type; }
47
52 const TraceInfo& traceInfo() const { return m_trace_info; }
53
54 private:
55
56 IVariable* m_variable;
57 IVariable::eDependType m_depend_type;
58 TraceInfo m_trace_info;
59};
60
61/*---------------------------------------------------------------------------*/
62/*---------------------------------------------------------------------------*/
63
64ARCANE_END_NAMESPACE
65
66/*---------------------------------------------------------------------------*/
67/*---------------------------------------------------------------------------*/
68
69#endif
Interface d'une variable.
Definition IVariable.h:54
eDependType
Type des dépendances.
Definition IVariable.h:59
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Informations sur une dépendance de variable.
IVariable::eDependType dependType() const
Type de dépendance.
const TraceInfo & traceInfo() const
IVariable * variable() const
Variable.