Helper class for system informations. More...
#include <SystemHelper.h>
Public Member Functions | |
| SystemHelper () | |
| ~SystemHelper () | |
| DiskStatus | getDiskStatus (const std::string &path) const |
| Get status of the disk behind the given path. More... | |
| double | getDiskFreePercent (const std::string &path) const |
| Get free fraction of the disk behind the given path. More... | |
Helper class for system informations.
Definition at line 14 of file SystemHelper.h.
| SystemHelper::SystemHelper | ( | ) |
Definition at line 10 of file SystemHelper.cpp.
| SystemHelper::~SystemHelper | ( | ) |
Definition at line 14 of file SystemHelper.cpp.
| double SystemHelper::getDiskFreePercent | ( | const std::string & | path | ) | const |
Get free fraction of the disk behind the given path.
| path | Path to the folder of desire. |
Definition at line 53 of file SystemHelper.cpp.
| DiskStatus SystemHelper::getDiskStatus | ( | const std::string & | path | ) | const |
Get status of the disk behind the given path.
Currently the status is limited to the total and free size.
| path | Path to the folder of desire. |
Definition at line 18 of file SystemHelper.cpp.
1.8.8