Arcane
v3.16.0.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
StringUtils.h
Aller à la documentation de ce fichier.
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
/* StringUtils.h (C) 2000-2025 */
9
/* */
10
/* Fonctions utilitaires sur les chaînes de caractères. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCCORE_BASE_STRINGUTILS_H
13
#define ARCCORE_BASE_STRINGUTILS_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arccore/base/String.h"
18
19
#include <vector>
20
21
/*---------------------------------------------------------------------------*/
22
/*---------------------------------------------------------------------------*/
23
24
namespace
Arcane::StringUtils
25
{
26
27
/*---------------------------------------------------------------------------*/
28
/*---------------------------------------------------------------------------*/
29
30
/*!
31
* \brief Retourne la conversion de l'instance dans l'encodage UTF-16BE.
32
*
33
* Le vecteur retourné ne contient pas de zéro terminal.
34
*/
35
extern
"C++"
ARCCORE_BASE_EXPORT std::vector<UChar>
36
asUtf16BE
(
const
String& str);
37
38
/*---------------------------------------------------------------------------*/
39
/*---------------------------------------------------------------------------*/
40
41
}
// End namespace Arccore::StringUtils
42
43
/*---------------------------------------------------------------------------*/
44
/*---------------------------------------------------------------------------*/
45
46
namespace
Arccore::StringUtils
47
{
48
using
Arcane::StringUtils::asUtf16BE
;
49
}
50
51
/*---------------------------------------------------------------------------*/
52
/*---------------------------------------------------------------------------*/
53
54
#endif
Arcane::StringUtils::asUtf16BE
ARCCORE_BASE_EXPORT std::vector< UChar > asUtf16BE(const String &str)
Retourne la conversion de l'instance dans l'encodage UTF-16BE.
Definition
String.cc:1278
arccore
base
StringUtils.h
Généré le Lundi 24 Mars 2025 02:48:37 pour Arcane par
1.13.2