Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
Loading...
Searching...
No Matches
unicode.h
Go to the documentation of this file.
1
/*************************************************************************
2
* odil - Copyright (C) Universite de Strasbourg
3
* Distributed under the terms of the CeCILL-B license, as published by
4
* the CEA-CNRS-INRIA. Refer to the LICENSE file or to
5
* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
6
* for details.
7
************************************************************************/
8
9
#ifndef _4a178325_e3d6_4f6f_9a18_ba6a983ee396
10
#define _4a178325_e3d6_4f6f_9a18_ba6a983ee396
11
12
#include <string>
13
14
#include "
odil/odil.h
"
15
#include "
odil/Value.h
"
16
17
namespace
odil
18
{
19
21
ODIL_API
std::string
as_utf8
(
22
std::string
const
& input,
Value::Strings
const
& specific_character_set,
23
bool
is_pn=
false
);
24
26
ODIL_API
std::string
as_specific_character_set
(
27
std::string
const
& input,
Value::Strings
const
& specific_character_set,
28
bool
is_pn=
false
);
29
30
}
31
32
#endif
// _4a178325_e3d6_4f6f_9a18_ba6a983ee396
Value.h
odil::Value::Strings
std::vector< String > Strings
String container.
Definition
Value.h:57
odil
Definition
Association.h:25
odil::as_utf8
std::string as_utf8(std::string const &input, Value::Strings const &specific_character_set, bool is_pn=false)
Convert a string to its UTF-8 representation.
odil::as_specific_character_set
std::string as_specific_character_set(std::string const &input, Value::Strings const &specific_character_set, bool is_pn=false)
Convert an UTF-8 string to a specific representation.
odil.h
ODIL_API
#define ODIL_API
Definition
odil.h:28
src
odil
unicode.h
Generated by
1.17.0