Arcane  v4.1.0.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
arcane/src/arcane/utils/Convert.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/* Convert.h (C) 2000-2025 */
9/* */
10/* Fonctions pour convertir un type en un autre. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_UTILS_CONVERT_H
13#define ARCANE_UTILS_CONVERT_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18#include "arccore/base/Convert.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane::Convert
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
34extern ARCANE_UTILS_EXPORT String
36
37/*---------------------------------------------------------------------------*/
38/*---------------------------------------------------------------------------*/
45extern ARCANE_UTILS_EXPORT String
46toHexaString(Span<const std::byte> input);
47
48/*---------------------------------------------------------------------------*/
49/*---------------------------------------------------------------------------*/
56extern ARCANE_UTILS_EXPORT String
57toHexaString(Real input);
58
59/*---------------------------------------------------------------------------*/
60/*---------------------------------------------------------------------------*/
68extern ARCANE_UTILS_EXPORT void
69toHexaString(Int64 input, Span<Byte> output);
70
71/*---------------------------------------------------------------------------*/
72/*---------------------------------------------------------------------------*/
73
74} // namespace Arcane::Convert
75
76/*---------------------------------------------------------------------------*/
77/*---------------------------------------------------------------------------*/
78
79#endif
80
Déclarations des types utilisés dans Arcane.
Fonctions pour convertir un type en un autre.
String toHexaString(ByteConstArrayView input)
Converti un tableau d'octet en sa représentation hexadécimale.
std::int64_t Int64
Type entier signé sur 64 bits.
double Real
Type représentant un réel.
ConstArrayView< Byte > ByteConstArrayView
Equivalent C d'un tableau à une dimension de caractères.
Definition UtilsTypes.h:492