PLCnext API Documentation 25.0.2.69
ReadFileInfo.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/System/Commons/Services/Io/Traits.hpp"
12
13// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
14
16{
17
18using namespace Arp;
19using namespace Arp::Base::Rsc::Commons;
20using namespace Arp::Base::Rsc::Commons::Services;
21
25class ARP_EXPORT ReadFileInfo : public RscSerializable
26{
27public: // construction/destruction
29 ReadFileInfo(const RscString<512>& filePath, Traits fileTraits);
30
31public: // Properties
36
40 Traits FileTraits = static_cast<Traits>(0);
41
42public: // Rsc operations
43 void Serialize(RscWriter& writer)const;
44 void Deserialize(RscReader& reader);
45 static size_t GetFieldCount(void);
46};
47
48} // 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
Reads marshaled data of RSC services.
Definition: RscReader.hpp:34
Writes marshalled data of RSC services.
Definition: RscWriter.hpp:34
Contains all input information to read a file
Definition: ReadFileInfo.hpp:26
ReadFileInfo(void)
Constructs an ReadFileInfo instance.
RscString< 512 > FilePath
Path of the file to read
Definition: ReadFileInfo.hpp:35
Namespace for services to access the filesystem
Traits
This enum is used by several file services to specify the file traits to get or set,...
Definition: Traits.hpp:19
Root namespace for the PLCnext API