PLCnext API Documentation 25.0.2.69
WriteFileData.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/Rsc/Commons/RscSerializable.hpp"
10#include "Arp/Base/Rsc/Commons/RscString.hxx"
11#include "Arp/Base/Rsc/Commons/RscStream.hpp"
12#include "TraitItem.hpp"
13#include "FileSystemError.hpp"
14#include <vector>
15#include "Arp/System/Commons/Services/Io/TraitItem.hpp"
16
17// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
18
19namespace Arp { namespace System { namespace Commons { namespace Services { namespace Io
20{
21
22using namespace Arp;
23using namespace Arp::Base::Rsc::Commons;
24
29{
30public: // Properties
35
42 boolean Overwrite = false;
43
47 std::vector<TraitItem> TraitItems;
48
53 FileSystemError DeserializeResult = FileSystemError::None; // none Rsc field, count remains 4
54
55public: // Rsc operations
56 void Serialize(RscWriter& writer)const;
57 void Deserialize(RscReader& reader);
58 static size_t GetFieldCount(void);
59};
60
61}}}}} // end of namespace Arp::System::Commons::Services::Io
Any custom struct type which is intended to be marshalled in a Rsc serialization context,...
Definition: RscSerializable.hpp:35
This class might be used to marshal unstructured stream data as bytes.
Definition: RscStream.hpp:29
Reads marshaled data of RSC services.
Definition: RscReader.hpp:34
Writes marshalled data of RSC services.
Definition: RscWriter.hpp:34
Contains all input information and data of a file to write
Definition: WriteFileData.hpp:29
std::vector< TraitItem > TraitItems
Contains the traits of the file to set after the file is written
Definition: WriteFileData.hpp:47
boolean Overwrite
Indicates whether a file shall be overwritten. If it is set true, an existing file will be overwritte...
Definition: WriteFileData.hpp:42
RscStream Data
Contains the data of the file to write
Definition: WriteFileData.hpp:52
RscString< 512 > FilePath
The path of the file to write
Definition: WriteFileData.hpp:34
FileSystemError
This enum is used by several file operations.
Definition: FileSystemError.hpp:19
Root namespace for the PLCnext API