PLCnext API Documentation 25.0.2.69
SecurityNotificationInfo.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/System/Core/PimplPtr.hxx"
9
10namespace Arp { namespace System { namespace NmPayload { namespace Security
11{
14class ARP_CXX_SYMBOL_EXPORT SecurityNotificationInfo
15{
16public:
17// Impl forward declaration
18 class Impl;
19
20// construction/destruction/assignment
27
28// operators
29 String GetJsonEncoding() const;
30 void SetJsonString(const String& json);
31 void AddInfo(const String& key, const String& value);
32 String GetInfo(const String& key) const;
33
34// internal operations
35 Impl& GetImpl(void);
36 const Impl& GetImpl(void)const;
37
38private:
39// Impl usings
41
42// Impl fields
43 Pimpl pimpl;
44};
45
46}}}} // end of namespace Arp::System::NmPayload::Security
Adapter class to implement PImpl idiom.
Definition: PimplPtr.hxx:15
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
Provides information fields for recipients The exact field keys and values are chosen by every specif...
Definition: SecurityNotificationInfo.hpp:15
SecurityNotificationInfo(const SecurityNotificationInfo &arg)
Default copy constructor.
SecurityNotificationInfo(SecurityNotificationInfo &&arg) noexcept
Default move constructor.
SecurityNotificationInfo & operator=(SecurityNotificationInfo &&arg) noexcept
Default move-assignment operator.
SecurityNotificationInfo & operator=(const SecurityNotificationInfo &arg)
Default copy-assignment operator.
Root namespace for the PLCnext API