IDS peak genericC++ v1.17.0
Loading...
Searching...
No Matches
peak_common_enums.hpp
Go to the documentation of this file.
1
6
7#pragma once
8
9
10#include <string>
11
13
14
15namespace peak
16{
17namespace core
18{
19
25enum class Endianness
26{
39};
40
42{
43 std::string entryString;
44
45 if (entry == Endianness::Unknown)
46 {
47 entryString = "Unknown";
48 }
49 else if (entry == Endianness::Little)
50 {
51 entryString = "Little";
52 }
53 else if (entry == Endianness::Big)
54 {
55 entryString = "Big";
56 }
57
58 return entryString;
59}
60
61} /* namespace core */
62} /* namespace peak */
@ Unknown
Definition peak_buffer.hpp:42
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
Endianness
Endianness of pixel data in a Buffer or the data in a Port.
Definition peak_common_enums.hpp:26
@ Little
Definition peak_common_enums.hpp:34
@ Unknown
Definition peak_common_enums.hpp:30
@ Big
Definition peak_common_enums.hpp:38
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