PLCnext API Documentation 25.0.2.69
FileSystemEntry.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
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;
21using namespace Arp::Base::JRsc::Commons;
22
27class ARP_EXPORT FileSystemEntry : public RscSerializable
28{
29public: // construction/destruction
31 FileSystemEntry(const RscString<512>& path, boolean isFile, boolean isDirectory);
32
33public: // Properties
38
42 boolean IsFile = false;
43
47 boolean IsDirectory = false;
48
49public: // Rsc operations
50 void Serialize(RscWriter& writer)const;
51 void Deserialize(RscReader& reader);
52 void Serialize(JRscWriter& writer)const;
53 void Deserialize(JRscReader& reader);
54 static size_t GetFieldCount(void);
55};
56
57} // 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
This struct is used by file operations to reading of the file system entries.
Definition: FileSystemEntry.hpp:28
RscString< 512 > Path
The path of the file system entry (file or directory)
Definition: FileSystemEntry.hpp:37
FileSystemEntry(void)
Constructs an FileSystemEntry instance.
Namespace for the JSON RSC extension
Namespace for services to access the filesystem
Root namespace for the PLCnext API