PLCnext API Documentation 26.0.1.58
CustomAttribute.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
9#include "Arp/Base/JRsc/Commons/JRsc.hpp"
10#include "Arp/Base/Rsc/Commons/RscSerializable.hpp"
11#include "Arp/Base/Rsc/Commons/RscString.hxx"
12#include "Arp/Base/Rsc/Commons/RscVariant.hxx"
13
14// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
15
17{
18
19using namespace Arp;
20using namespace Arp::Base::Rsc::Commons;
21using namespace Arp::Base::Rsc::Commons::Services;
22using namespace Arp::Base::JRsc::Commons;
23
25class ARP_EXPORT CustomAttribute : public RscSerializable
26{
27public: // construction/destruction
28 CustomAttribute(void);
29 CustomAttribute(const RscString<256>& name, const RscVariant<256>& value);
30
31public: // Properties
34
37
38public: // Rsc operations
39 void Serialize(RscWriter& writer)const;
40 void Deserialize(RscReader& reader);
41 void Serialize(JRscWriter& writer)const;
42 void Deserialize(JRscReader& reader);
43 static size_t GetFieldCount(void);
44};
45
46} // end of namespace Arp::Plc::Meta::Services
Any custom struct type which is intended to be marshalled in a Rsc serialization context,...
Definition: RscSerializable.hpp:35
Reads marshaled data of RSC services.
Definition: RscReader.hpp:34
Writes marshalled data of RSC services.
Definition: RscWriter.hpp:34
Container for individual attributes within the interface DataBrowser
Definition: CustomAttribute.hpp:21
RscVariant< 256 > Value
Attribute value.
Definition: CustomAttribute.hpp:36
RscString< 256 > Name
Attribute name.
Definition: CustomAttribute.hpp:33
Namespace for the JSON RSC extension
Namespace for services of the Meta component
Root namespace for the PLCnext API