This struct is used by file operations reading file informations from device.
More...
#include <FileSystemTraitsEntry.hpp>
|
| FileSystemTraitsEntry (void) |
| Constructs an FileSystemTraitsEntry instance.
|
|
| FileSystemTraitsEntry (const RscString< 512 > &path, boolean isFile, boolean isDirectory, const std::vector< TraitItem > &traits) |
| Constructs an FileSystemTraitsEntry 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.
|
|
boolean | IsFile = false |
| The specified path ia a file.
|
|
boolean | IsDirectory = false |
| The specified path ia a directory.
|
|
std::vector< TraitItem > | Traits |
| The requested file traits of the file.
|
|
◆ Deserialize() [1/2]
void Arp::System::Commons::Services::Io::FileSystemTraitsEntry::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::FileSystemTraitsEntry::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::FileSystemTraitsEntry::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::FileSystemTraitsEntry::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::FileSystemTraitsEntry::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: