![]() |
Gorgon Game Engine
|
This class represents filesystem entry points (roots, drives). More...
Public Member Functions | |
EntryPoint () | |
Default constructor. More... | |
Public Attributes | |
std::string | Name |
Name or label of the entry point. More... | |
std::string | Path |
The path of the entry point. More... | |
bool | Readable |
Whether the entry point is readable. Currently all entry points are readable. More... | |
bool | Removable |
Whether the device is removable. More... | |
bool | Writable |
Whether the entry point is writable. More... | |
This class represents filesystem entry points (roots, drives).
On Linux like systems, the only entry point is '/', however, user home, root and removable devices are also listed. On Windows all drives as listed.
EntryPoint | ( | ) |
Default constructor.
std::string Name |
Name or label of the entry point.
std::string Path |
The path of the entry point.
bool Readable |
Whether the entry point is readable. Currently all entry points are readable.
bool Removable |
Whether the device is removable.
bool Writable |
Whether the entry point is writable.
Notice that even an entry point is writable it doesn't mean that the immediate path of the entry point is writable. It is possible that the user has no write access to the root of the entry point. If false this denotes the entry point is fully read-only (like a CDROM)