PLCnext API Documentation 25.0.2.69
BufferType.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Core/Enum.hxx"
9
10namespace Arp::Io::Commons::Data
11{
12
14enum class BufferType
15{
16 None = 0,
17 Data = 1,
18 Status = 2,
19};
20
22// global stream operators of enum BufferKind for logging and parsing
23ARP_EXPORT std::ostream& operator<<(std::ostream& os, BufferType value);
24ARP_EXPORT std::istream& operator>>(std::istream& is, BufferType& value);
25
26} // end of namespace Arp::Io::Commons::Data
27
28template<> struct fmt::formatter<Arp::Io::Commons::Data::BufferType>: public fmt::ostream_formatter {};
Root namespace for the PLCnext API