PLCnext API Documentation 25.0.2.69
RscType.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Core/Enum.hxx"
9
10namespace Arp::Base::Rsc::Commons
11{
12
14enum class RscType : uint8
15{
17 None = 0xFF,
19 End = 0,
21 Null = 0,
23 Void = 1,
25 Bool = 2,
27 Char = 3,
29 Int8 = 4,
31 Uint8 = 5,
33 Int16 = 6,
35 Uint16 = 7,
37 Int32 = 8,
39 Uint32 = 9,
41 Int64 = 10,
43 Uint64 = 11,
45 Real32 = 12,
47 Real64 = 13,
49 Struct = 18,
51 String = 19,
53 Array = 20,
55 DateTime = 23,
57 Version = 24,
59 Guid = 25,
61 Object = 28,
63 Stream = 34,
65 Enumerator = 35,
67 SecureString = 36,
69 Dictionary = 38,
71 SecurityToken = 39,
73 Exception = 40,
75 IecTime = 41,
77 IecTime64 = 42,
80 IecDate = 43,
82 IecDate64 = 44,
85 IecDateTime = 45,
87 IecDateTime64 = 46,
90 IecTimeOfDay = 47,
92 IecTimeOfDay64 = 48,
93};
94
96// global stream operators of enum LogLevel for logging and parsing
97ARP_EXPORT std::ostream& operator<<(std::ostream& os, const RscType value);
98ARP_EXPORT std::istream& operator>>(std::istream& is, RscType& value);
99
100} // end of namespace Arp::Base::Rsc::Commons
101
103template<> struct fmt::formatter<Arp::Base::Rsc::Commons::RscType>: public fmt::ostream_formatter {};
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:25
Root namespace for the PLCnext API