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
17
namespace
peak
18
{
19
namespace
core
20
{
21
27
enum class
Endianness
28
{
32
Unknown
,
36
Little
,
40
Big
41
};
42
43
inline
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 */
peak::core::Endianness
Endianness
Endianness of pixel data in a Buffer or the data in a Port.
Definition
peak_common_enums.hpp:28
peak::core::Endianness::Little
@ Little
peak::core::Endianness::Unknown
@ Unknown
peak::core::Endianness::Big
@ Big
peak::core::BufferPayloadType::Unknown
@ Unknown
peak
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition
peak_dynamic_loader.h:32
peak
common
peak_common_enums.hpp
Generated on Tue Apr 2 2024 - ©
IDS Imaging Development Systems GmbH