io.cpp File Reference

CPP API: io.cpp File Reference
io.cpp File Reference
#include "memilio/io/io.h"
#include "memilio/utils/compiler_diagnostics.h"
#include "memilio/utils/logging.h"
#include <filesystem>
Include dependency graph for io.cpp:

Namespaces

 mio
 A collection of classes to simplify handling of matrix shapes in meta programming.
 

Functions

std::filesystem::path mio::create_directories_or_exit (const std::filesystem::path &path, bool create_parents=true)
 Creates directories in the file system, or exits the program with an error code. More...
 
IOResult< bool > mio::create_directory (const std::filesystem::path &path, bool create_parents=false)
 Creates a directory in the file system. More...
 
IOResult< bool > mio::create_directory (const std::filesystem::path &path, std::string &abs_path, bool create_parents=false)
 Creates a directory in the file system. More...
 
bool mio::file_exists (std::string const &rel_path, std::string &abs_path)
 Check if a file exists. More...
 
std::string mio::get_current_dir_name ()
 Returns the current working directory name. More...