Arcane  v3.16.4.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
IPhysicalUnit.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2025 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/* IPhysicalUnit.h (C) 2000-2025 */
9/* */
10/* Unité physique. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IPHYSICALUNIT_H
13#define ARCANE_CORE_IPHYSICALUNIT_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27/*!
28 * \internal
29 * \brief Unité physique.
30 *
31 * Cette interface représente une unité physique comme le mètre ou le kilo.
32 */
33class ARCANE_CORE_EXPORT IPhysicalUnit
34{
35 public:
36
37 virtual ~IPhysicalUnit() = default; //!< Libère les ressources.
38
39 public:
40
41 //! Nom de l'unité
42 virtual const String& name() const = 0;
43};
44
45/*---------------------------------------------------------------------------*/
46/*---------------------------------------------------------------------------*/
47
48} // namespace Arcane
49
50/*---------------------------------------------------------------------------*/
51/*---------------------------------------------------------------------------*/
52
53#endif
Fichier de configuration d'Arcane.
virtual const String & name() const =0
Nom de l'unité
virtual ~IPhysicalUnit()=default
Libère les ressources.
Chaîne de caractères unicode.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-