PLCnext API Documentation 24.0.0.71
SecurityNotificationInfo.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
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
25 SecurityNotificationInfo& operator=(SecurityNotificationInfo&& arg)noexcept;
27
28// operators
31
34 void SetJsonString(const String& json);
35
39 void AddInfo(const String& key, const String& value);
40
43 String GetInfo(const String& key) const;
44
45// internal operations
46 Impl& GetImpl(void);
47 const Impl& GetImpl(void)const;
48
49private:
50// Impl usings
52
53// Impl fields
54 Pimpl pimpl;
55};
56
57}}}} // end of namespace Arp::System::NmPayload::Security
Provides information fields for recipients The exact field keys and values are chosen by every specif...
Definition: SecurityNotificationInfo.hpp:15
String GetInfo(const String &key) const
Retrieves stored data from the given field
void AddInfo(const String &key, const String &value)
Adds Info to this object
void SetJsonString(const String &json)
Overrides all infos with the values from the given string
String GetJsonEncoding() const
Returns all infos as a JSON formatted string
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API