IDS peak genericC++
v1.4.3
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::BufferPayloadType::Unknown
peak::core::Endianness::Big
peak::core::Endianness::Little
peak
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition:
peak_dynamic_loader.h:32
peak::core::ToString
std::string ToString(BufferPayloadType entry)
Definition:
peak_buffer.hpp:472
peak::core::Endianness
Endianness
Endianness of pixel data in a Buffer or the data in a Port.
Definition:
peak_common_enums.hpp:27
peak
common
peak_common_enums.hpp
Generated on Fri Oct 14 2022 - ©
IDS Imaging Development Systems GmbH