PLCnext API Documentation 25.0.2.69
TlsAlertLevel.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/System/Core/Enum.hxx"
9
10namespace Arp { namespace System { namespace Commons { namespace Net
11{
12
15enum class TlsAlertLevel
16{
17 None = 0,
18 Warning = 1,
19 Fatal = 2,
20};
21
23// global stream operators of enum TlsAlertLevel for logging and parsing
24ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, TlsAlertLevel value);
25ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, TlsAlertLevel& value);
26
27}}}} // end of namespace Arp::System::Commons::Net
28
29template<> struct fmt::formatter<Arp::System::Commons::Net::TlsAlertLevel>: public fmt::ostream_formatter {};
std::ostream & operator<<(std::ostream &os, const IpAddress &ipAddress)
The ostream operator is used for logging and string formatting.
Definition: IpAddress.cpp:76
std::istream & operator>>(std::istream &is, IpAddress &ipAddress)
The istream operator is used for string parsing.
Definition: IpAddress.cpp:83
TlsAlertLevel
This enum represents avaliable TLS alert Levels
Definition: TlsAlertLevel.hpp:16
Root namespace for the PLCnext API