PLCnext API Documentation 25.0.2.69
BackupResult.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/Plc/Retain/Services/BackupError.hpp"
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 BackupResult : public RscSerializable
26{
27public: // construction/destruction
29 BackupResult(const RscString<256>& fileName, BackupError error);
30
31public: // Properties
34
36 BackupError Error = static_cast<BackupError>(0);
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::Retain::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
Contains the name and error code of the backup.
Definition: BackupResult.hpp:26
BackupResult(void)
Constructs an BackupResult instance.
RscString< 256 > FileName
Name of the backup file.
Definition: BackupResult.hpp:33
Namespace for the JSON RSC extension
Namespace for services of the Retain component
BackupError
Possible error codes for retain rsc services.
Definition: BackupError.hpp:19
Root namespace for the PLCnext API