Modular Megafauna Model 1.1.5
A physiological, dynamic herbivore simulator in C++.
Loading...
Searching...
No Matches
fileystem.h File Reference

Interaction with the filesystem on Unix and Windows platforms. More...

#include <string>

Go to the source code of this file.

Namespaces

namespace  Fauna
 

Functions

void Fauna::create_directories (const std::string path, const mode_t mode=0755)
 Create a folder including all its parent folders. More...
 
bool Fauna::directory_exists (const std::string path)
 Check whether a folder in the filesystem exists. More...
 
bool Fauna::file_exists (const std::string &path)
 Check whether a file in the filesystem exists. More...
 
void Fauna::remove_directory (const std::string &path)
 Delete a directory recursively. More...
 

Detailed Description

Interaction with the filesystem on Unix and Windows platforms.

Date
2019