PLCnext API Documentation 26.6.0.38
BackupAndRestoreOption.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/Base/Rsc/Commons/RscString.hxx"
13#include "Arp/Services/BackupAndRestore/Services/ItemSelectionRule.hpp"
14
15// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
16
17namespace Arp::Services::BackupAndRestore::Services
18{
19
20using namespace Arp;
21using namespace Arp::Base::Rsc::Commons;
22using namespace Arp::Base::Rsc::Commons::Services;
23using namespace Arp::Base::JRsc::Commons;
24
43class ARP_EXPORT BackupAndRestoreOption : public RscSerializable
44{
45public: // construction/destruction
47 BackupAndRestoreOption(const RscString<64>& name, const std::vector<ItemSelectionRule>& matchesAnyOf);
48
49public: // Properties
54
58 std::vector<ItemSelectionRule> MatchesAnyOf;
59
60public: // Rsc operations
61 void Serialize(RscWriter& writer)const;
62 void Deserialize(RscReader& reader);
63 void Serialize(JRscWriter& writer)const;
64 void Deserialize(JRscReader& reader);
65 static size_t GetFieldCount(void);
66};
67
68} // 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 predefined set of tag combinations, which in turn describes a set of files to be copied int...
Definition: BackupAndRestoreOption.hpp:44
RscString< 64 > Name
The name of the option.
Definition: BackupAndRestoreOption.hpp:53
std::vector< ItemSelectionRule > MatchesAnyOf
The scope of items to be referenced with this option.
Definition: BackupAndRestoreOption.hpp:58
BackupAndRestoreOption(void)
Constructs an BackupAndRestoreOption instance.
Namespace for the JSON RSC extension
Root namespace for the PLCnext API