PLCnext API Documentation 25.0.2.69
ReadFileData.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 <vector>
11#include "Arp/Base/Rsc/Commons/RscStream.hpp"
12#include "Arp/System/Commons/Services/Io/FileSystemError.hpp"
13#include "Arp/System/Commons/Services/Io/TraitItem.hpp"
14
15// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
16
18{
19
20using namespace Arp;
21using namespace Arp::Base::Rsc::Commons;
22using namespace Arp::Base::Rsc::Commons::Services;
23
27class ARP_EXPORT ReadFileData : public RscSerializable
28{
29public: // construction/destruction
31 ReadFileData(FileSystemError result, const std::vector<TraitItem>& traitItems, RscStream data);
32
33public: // Properties
37 FileSystemError Result = static_cast<FileSystemError>(0);
38
42 std::vector<TraitItem> TraitItems;
43
48
49public: // Rsc operations
50 void Serialize(RscWriter& writer)const;
51 void Deserialize(RscReader& reader);
52 static size_t GetFieldCount(void);
53};
54
55} // 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 output information and data of a file to read
Definition: ReadFileData.hpp:28
std::vector< TraitItem > TraitItems
Contains the requested traits of the file to read
Definition: ReadFileData.hpp:42
RscStream Data
Contains the data of the file to read
Definition: ReadFileData.hpp:47
ReadFileData(void)
Constructs an ReadFileData instance.
Namespace for services to access the filesystem
FileSystemError
This enum is used by several file operations.
Definition: FileSystemError.hpp:19
Root namespace for the PLCnext API