This struct is used by file operations to reading of the space informations.
More...
#include <SpaceInfo.hpp>
|
| SpaceInfo (void) |
| Constructs an SpaceInfo instance.
|
|
| SpaceInfo (uint64 capacity, uint64 free, uint64 available) |
| Constructs an SpaceInfo instance.
|
|
void | Serialize (RscWriter &writer) const |
| Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More...
|
|
void | Deserialize (RscReader &reader) |
| Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More...
|
|
| RscSerializable (void)=default |
| The default constructor.
|
|
|
uint64 | Capacity = 0 |
| Capacity space of the device.
|
|
uint64 | Free = 0 |
| Free space of the device.
|
|
uint64 | Available = 0 |
| Available space of the device.
|
|
This struct is used by file operations to reading of the space informations.
- See also
- Arp.System.Commons.Services.Io.FileSystemTraitsEntry
◆ Deserialize()
void Arp::System::Commons::Services::Io::SpaceInfo::Deserialize |
( |
RscReader & |
reader | ) |
|
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.
- Parameters
-
reader | Reference to RscReader. |
◆ GetFieldCount()
size_t Arp::System::Commons::Services::Io::SpaceInfo::GetFieldCount |
( |
void |
| ) |
|
|
static |
Returns the count of fields
- Returns
- Count of fields.
The field count is used for serialization via Rsc
◆ Serialize()
void Arp::System::Commons::Services::Io::SpaceInfo::Serialize |
( |
RscWriter & |
writer | ) |
const |
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.
- Parameters
-
writer | Reference to RscWriter |
The documentation for this class was generated from the following files:
- Arp/System/Commons/Services/Io/SpaceInfo.hpp
- Arp/System/Commons/Services/Io/SpaceInfo.cpp