IDS peak genericC++ v1.11.0
Loading...
Searching...
No Matches
peak_common_system_enums.hpp
Go to the documentation of this file.
1
10
11#pragma once
12
13
14namespace peak
15{
16namespace core
17{
18
25{
26 ASCII = 0,
28};
29
30inline 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 */
The "core" namespace contains the direct GenAPI and GenTL wrapper.
Definition peak_buffer.hpp:31
std::string ToString(BufferPayloadType entry)
Definition peak_buffer.hpp:519
CharacterEncoding
Possible character encodings.
Definition peak_common_system_enums.hpp:25
@ ASCII
Definition peak_common_system_enums.hpp:26
@ UTF8
Definition peak_common_system_enums.hpp:27
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_dynamic_loader.h:33