IDS peak genericC++
v1.4.0
peak_common_system_enums.hpp
Go to the documentation of this file.
1
11
#pragma once
12
13
14
namespace
peak
15
{
16
namespace
core
17
{
18
24
enum class
CharacterEncoding
25
{
26
ASCII
= 0,
27
UTF8
28
};
29
30
inline
std::string
ToString
(
CharacterEncoding
entry)
31
{
32
std::string entryString;
33
34
if
(entry ==
CharacterEncoding::ASCII
)
35
{
36
entryString =
"ASCII"
;
37
}
38
else
if
(entry ==
CharacterEncoding::UTF8
)
39
{
40
entryString =
"UTF8"
;
41
}
42
43
return
entryString;
44
}
45
46
}
/* namespace core */
47
}
/* namespace peak */
peak::core::CharacterEncoding::ASCII
peak
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition:
peak_dynamic_loader.h:32
peak::core::ToString
std::string ToString(BufferPayloadType entry)
Definition:
peak_buffer.hpp:472
peak::core::CharacterEncoding::UTF8
peak::core::CharacterEncoding
CharacterEncoding
Possible character encodings.
Definition:
peak_common_system_enums.hpp:24
peak
system
peak_common_system_enums.hpp
Generated on Tue Feb 1 2022 - ©
IDS Imaging Development Systems GmbH