PLCnext API Documentation 26.6.0.38
ItemSelectionRule.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 <vector>
12#include "Arp/Services/BackupAndRestore/Services/TagCriterion.hpp"
13
14// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
15
16namespace Arp::Services::BackupAndRestore::Services
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
35class ARP_EXPORT ItemSelectionRule : public RscSerializable
36{
37public: // construction/destruction
39 explicit ItemSelectionRule(const std::vector<TagCriterion>& allOf);
40
41public: // Properties
46 std::vector<TagCriterion> AllOf;
47
48public: // Rsc operations
49 void Serialize(RscWriter& writer)const;
50 void Deserialize(RscReader& reader);
51 void Serialize(JRscWriter& writer)const;
52 void Deserialize(JRscReader& reader);
53 static size_t GetFieldCount(void);
54};
55
56} // end of namespace Arp::Services::BackupAndRestore::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
Defines a scopes of items.
Definition: ItemSelectionRule.hpp:36
std::vector< TagCriterion > AllOf
All tag criteria that must be satisfied (logical AND). If empty, the rule matches all items.
Definition: ItemSelectionRule.hpp:46
ItemSelectionRule(void)
Constructs an ItemSelectionRule instance.
Namespace for the JSON RSC extension
Root namespace for the PLCnext API