u5e
UnicodeTextC++Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
u5e
codepoint_traits.hpp
1
#
ifndef
INCLUDED_U5E_CODEPOINT_TRAITS
2
#
define
INCLUDED_U5E_CODEPOINT_TRAITS
3
4
#
include
<
inttypes
.
h
>
5
6
namespace
u5e
{
7
/**
8
* \brief Type information for codepoint
9
*
10
* This class exists only to provide an interface similar to that of
11
* the stream and string types. But it is not truly parameterizable,
12
* since a codepoint always means the same thing.
13
*/
14
class
codepoint_traits
{
15
public
:
16
//@{
17
/**
18
* Basic meta-description of a codepoint
19
*/
20
typedef
int32_t
int_type
;
21
typedef
uint32_t
pos_type
;
22
typedef
int32_t
off_type
;
23
//@}
24
};
25
}
26
27
#
endif
u5e
main u5e namespace
Definition:
basic_encodedstring.hpp:10
u5e::codepoint_traits::pos_type
uint32_t pos_type
Definition:
codepoint_traits.hpp:21
u5e::codepoint_traits::int_type
int32_t int_type
Definition:
codepoint_traits.hpp:20
u5e::codepoint_traits::off_type
int32_t off_type
Definition:
codepoint_traits.hpp:22
u5e::codepoint_traits
Type information for codepoint.
Definition:
codepoint_traits.hpp:14
Generated by
1.8.11