PLCnext API Documentation 26.6.0.38
BackupAndRestoreStatus.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/Services/BackupAndRestore/Services/BackupAndRestoreState.hpp"
13#include "Arp/Services/BackupAndRestore/Services/StatusCode.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
28class ARP_EXPORT BackupAndRestoreStatus : public RscSerializable
29{
30public: // construction/destruction
32 BackupAndRestoreStatus(BackupAndRestoreState state, StatusCode operationResult, const String& additionalInformation);
33
34public: // Properties
38 BackupAndRestoreState State = static_cast<BackupAndRestoreState>(0);
39
43 StatusCode OperationResult = static_cast<StatusCode>(0);
44
49
50public: // Rsc operations
51 void Serialize(RscWriter& writer)const;
52 void Deserialize(RscReader& reader);
53 void Serialize(JRscWriter& writer)const;
54 void Deserialize(JRscReader& reader);
55 static size_t GetFieldCount(void);
56};
57
58} // end of namespace Arp::Services::BackupAndRestore::Services
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
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
The status of backup and restore.
Definition: BackupAndRestoreStatus.hpp:29
String AdditionalInformation
Additional information, for example, list of files which could not be restored.
Definition: BackupAndRestoreStatus.hpp:48
BackupAndRestoreStatus(void)
Constructs an BackupAndRestoreStatus instance.
Namespace for the JSON RSC extension
Root namespace for the PLCnext API