PLCnext API Documentation 25.0.2.69
SpaceInfo.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
11// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
12
14{
15
16using namespace Arp;
17using namespace Arp::Base::Rsc::Commons;
18using namespace Arp::Base::Rsc::Commons::Services;
19
24class ARP_EXPORT SpaceInfo : public RscSerializable
25{
26public: // construction/destruction
27 SpaceInfo(void);
28 SpaceInfo(uint64 capacity, uint64 free, uint64 available);
29
30public: // Properties
34 uint64 Capacity = 0;
35
39 uint64 Free = 0;
40
44 uint64 Available = 0;
45
46public: // Rsc operations
47 void Serialize(RscWriter& writer)const;
48 void Deserialize(RscReader& reader);
49 static size_t GetFieldCount(void);
50};
51
52} // 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 space informations.
Definition: SpaceInfo.hpp:25
SpaceInfo(void)
Constructs an SpaceInfo instance.
std::uint64_t uint64
The Arp unsigned integer type of 8 byte size.
Definition: PrimitiveTypes.hpp:37
Namespace for services to access the filesystem
Root namespace for the PLCnext API