Arcane
v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
ISO88591Transcoder.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
/* ISO88591Transcoder.h (C) 2000-2005 */
9
/* */
10
/* Convertisseur ISO-8859-1 depuis/vers UTF-16. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_UTILS_ISO88591TRANSCODER_H
13
#define ARCANE_UTILS_ISO88591TRANSCODER_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/utils/ITranscoder.h"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
ARCANE_BEGIN_NAMESPACE
23
24
/*---------------------------------------------------------------------------*/
25
/*---------------------------------------------------------------------------*/
26
27
/*---------------------------------------------------------------------------*/
28
/*---------------------------------------------------------------------------*/
29
/*!
30
* \internal
31
* \brief Convertisseur ISO-8859-1 depuis/vers UTF-16.
32
*/
33
class
ISO88591Transcoder
34
:
public
ITranscoder
35
{
36
public
:
37
38
virtual
~ISO88591Transcoder
();
39
40
public
:
41
42
virtual
void
build();
43
44
public
:
45
46
virtual
void
transcodeToUtf16(
const
Byte
* src,Integer src_len,
UChar
* out);
47
virtual
void
transcodeFromUtf16(
const
UChar
* src,Integer src_len,
Byte
* out);
48
};
49
50
/*---------------------------------------------------------------------------*/
51
/*---------------------------------------------------------------------------*/
52
53
ARCANE_END_NAMESPACE
54
55
/*---------------------------------------------------------------------------*/
56
/*---------------------------------------------------------------------------*/
57
58
#endif
59
Arcane::ISO88591Transcoder
Definition
ISO88591Transcoder.h:35
Arcane::ITranscoder
Definition
ITranscoder.h:34
Arcane::Byte
unsigned char Byte
Type d'un octet.
Definition
UtilsTypes.h:142
Arcane::UChar
unsigned short UChar
Type d'un caractère unicode.
Definition
UtilsTypes.h:146
arcane
utils
ISO88591Transcoder.h
Généré le Lundi 18 Novembre 2024 02:56:55 pour Arcane par
1.9.8