IDS peak genericC++ v1.7.3
Loading...
Searching...
No Matches
peak_common_enums.hpp
Go to the documentation of this file.
1
11#pragma once
12
13
14#include <string>
15
16
17namespace peak
18{
19namespace core
20{
21
27enum class Endianness
28{
32 Unknown,
36 Little,
40 Big
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 */
Endianness
Endianness of pixel data in a Buffer or the data in a Port.
Definition peak_common_enums.hpp:28
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_dynamic_loader.h:32