IDS peak genericC++ v1.17.0
Loading...
Searching...
No Matches
peak_common_system_enums.hpp
Go to the documentation of this file.
1
6
7#pragma once
8
10
11
12namespace peak
13{
14namespace core
15{
16
23{
24 ASCII = 0,
26};
27
29{
30 std::string entryString;
31
32 if (entry == CharacterEncoding::ASCII)
33 {
34 entryString = "ASCII";
35 }
36 else if (entry == CharacterEncoding::UTF8)
37 {
38 entryString = "UTF8";
39 }
40
41 return entryString;
42}
43
44} /* namespace core */
45} /* namespace peak */
The "core" namespace contains the direct GenAPI and GenTL wrapper.
Definition peak_buffer.hpp:32
std::string ToString(BufferPayloadType entry)
Definition peak_buffer.hpp:635
CharacterEncoding
Possible character encodings.
Definition peak_common_system_enums.hpp:23
@ ASCII
Definition peak_common_system_enums.hpp:24
@ UTF8
Definition peak_common_system_enums.hpp:25
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_buffer.hpp:29
#define PEAK_COMMON_NO_DISCARD
Definition peak_common_defines.h:89