Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
utf16.h
1
/*
2
* utf16 module interface
3
*
4
* This file is part of OTAWA
5
* Copyright (c) 2016, IRIT UPS.
6
*
7
* OTAWA is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* OTAWA is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with OTAWA; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
*/
21
22
#ifndef ELM_STRING_UTF16_H_
23
#define ELM_STRING_UTF16_H_
24
25
#include <elm/string.h>
26
#include <elm/types.h>
27
28
namespace
elm
{
namespace
utf16 {
29
30
class
Char
{
31
public
:
32
inline
Char
(
t::uint16
ch): c(ch) { }
33
34
void
toUTF8
(
StringBuffer
& buf);
35
36
private
:
37
t::uint16
c;
38
};
39
40
} }
// elm::utf16
41
42
#endif
/* ELM_STRING_UTF16_H_ */
elm::StringBuffer
Definition:
StringBuffer.h:18
elm::utf16::Char::toUTF8
void toUTF8(StringBuffer &buf)
Definition:
string_utf16.cpp:37
elm::t::uint16
unsigned short uint16
Definition:
arch.h:29
elm::utf16::Char::Char
Char(t::uint16 ch)
Definition:
utf16.h:32
elm
Definition:
adapter.h:26
Char
Definition:
Char.py:1
include
elm
string
utf16.h
Generated on Fri Jul 23 2021 11:32:45 for Elm by
1.8.17