This struct is used by file operations to reading of the file system entries.
More...
#include <FileSystemEntry.hpp>
|
| FileSystemEntry (void) |
| Constructs an FileSystemEntry instance.
|
|
| FileSystemEntry (const RscString< 512 > &path, boolean isFile, boolean isDirectory) |
| Constructs an FileSystemEntry 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...
|
|
void | Serialize (JRscWriter &writer) const |
| Serializes the datatype. All fields of the datatype have to be serialized in use of JRscWriter. More...
|
|
void | Deserialize (JRscReader &reader) |
| Deserializes the datatype. All fields of the datatype have to be deserialized in use of JRscReader. More...
|
|
| RscSerializable (void)=default |
| The default constructor.
|
|
|
RscString< 512 > | Path |
| The path of the file system entry (file or directory)
|
|
boolean | IsFile = false |
| The specified path ia a file.
|
|
boolean | IsDirectory = false |
| The specified path is a directory.
|
|
This struct is used by file operations to reading of the file system entries.
Arp.System.Commons.Services.Io.IDirectoryService.EnumerateFileSystemEntries
◆ Deserialize() [1/2]
void Arp::System::Commons::Services::Io::FileSystemEntry::Deserialize |
( |
JRscReader & |
reader | ) |
|
Deserializes the datatype. All fields of the datatype have to be deserialized in use of JRscReader.
- Parameters
-
reader | Reference to RscReader. |
◆ Deserialize() [2/2]
void Arp::System::Commons::Services::Io::FileSystemEntry::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::FileSystemEntry::GetFieldCount |
( |
void |
| ) |
|
|
static |
Returns the count of fields
- Returns
- Count of fields.
The field count is used for serialization via Rsc
◆ Serialize() [1/2]
void Arp::System::Commons::Services::Io::FileSystemEntry::Serialize |
( |
JRscWriter & |
writer | ) |
const |
Serializes the datatype. All fields of the datatype have to be serialized in use of JRscWriter.
- Parameters
-
writer | Reference to RscWriter |
◆ Serialize() [2/2]
void Arp::System::Commons::Services::Io::FileSystemEntry::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/FileSystemEntry.hpp
- Arp/System/Commons/Services/Io/FileSystemEntry.cpp