IDS peak genericC++ v1.16.0
Loading...
Searching...
No Matches
peak_common_enums.hpp
Go to the documentation of this file.
1
10
11#pragma once
12
13
14#include <string>
15
16
17namespace peak
18{
19namespace core
20{
21
27enum class Endianness
28{
41};
42
43inline std::string ToString(Endianness entry)
44{
45 std::string entryString;
46
47 if (entry == Endianness::Unknown)
48 {
49 entryString = "Unknown";
50 }
51 else if (entry == Endianness::Little)
52 {
53 entryString = "Little";
54 }
55 else if (entry == Endianness::Big)
56 {
57 entryString = "Big";
58 }
59
60 return entryString;
61}
62
63} /* namespace core */
64} /* namespace peak */
@ Unknown
Definition peak_buffer.hpp:44
The "core" namespace contains the direct GenAPI and GenTL wrapper.
Definition peak_buffer.hpp:34
std::string ToString(BufferPayloadType entry)
Definition peak_buffer.hpp:612
Endianness
Endianness of pixel data in a Buffer or the data in a Port.
Definition peak_common_enums.hpp:28
@ Little
Definition peak_common_enums.hpp:36
@ Unknown
Definition peak_common_enums.hpp:32
@ Big
Definition peak_common_enums.hpp:40
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_dynamic_loader.h:35