![]() |
mars_lib
0.1.0.3dc76ee85e09
Modular and Robust Sensor-Fusion
|
The filesystem class implements a wrapper for file or directory interaction. More...
#include </home/runner/work/mars_lib/mars_lib/source/mars/include/mars/data_utils/filesystem.h>
Public Member Functions | |
filesystem () | |
Static Public Member Functions | |
static bool | IsFile (const std::string &name) |
filesystem::IsFile Check if the given path results in a file More... | |
static bool | IsDir (const std::string &name) |
filesystem::IsDir Check if the given path results in an directory More... | |
static bool | MakeDir (const std::string &name) |
filesystem::MakeDir Create a directory if it does not exist More... | |
The filesystem class implements a wrapper for file or directory interaction.
If needed, adaptations to a specific OS can be made here.
mars::filesystem::filesystem | ( | ) |
|
static |
filesystem::IsFile Check if the given path results in a file
name | string containing the absolute file path |
|
static |
filesystem::IsDir Check if the given path results in an directory
name | string containing the absolute directory path |
|
static |
filesystem::MakeDir Create a directory if it does not exist
name | string containing the absolute directory path |