OMSimulatorLib
The OMSimulator project is a FMI-based co-simulation environment that supports ordinary (i.e., non-delayed) and TLM connections.
OMSFileSystem.h
Go to the documentation of this file.
1 #ifndef _OMS_FILESYSTEM_H_
2 #define _OMS_FILESYSTEM_H_
3 
4 #include <filesystem>
5 namespace filesystem = std::filesystem;
6 
7 
8 #define OMS_RECURSIVE_DIRECTORY_ITERATOR(path) (filesystem::recursive_directory_iterator{path})
9 
10 filesystem::path naive_uncomplete(const filesystem::path& path, const filesystem::path& base);
11 filesystem::path oms_unique_path(const std::string& prefix);
12 void oms_copy_file(const filesystem::path& from, const filesystem::path& to);
13 filesystem::path oms_canonical(const filesystem::path& p);
14 filesystem::path oms_absolute(const filesystem::path& p);
15 filesystem::path oms_temp_directory_path(void);
16 
17 #endif
oms_canonical
filesystem::path oms_canonical(const filesystem::path &p)
Definition: OMSFileSystem.cpp:103
oms_temp_directory_path
filesystem::path oms_temp_directory_path(void)
Definition: OMSFileSystem.cpp:122
oms_unique_path
filesystem::path oms_unique_path(const std::string &prefix)
Definition: OMSFileSystem.cpp:77
oms_canonical
filesystem::path oms_canonical(const filesystem::path &p)
Definition: OMSFileSystem.cpp:103
oms_copy_file
void oms_copy_file(const filesystem::path &from, const filesystem::path &to)
Definition: OMSFileSystem.cpp:89
naive_uncomplete
filesystem::path naive_uncomplete(const filesystem::path &path, const filesystem::path &base)
Definition: OMSFileSystem.cpp:46
oms_unique_path
filesystem::path oms_unique_path(const std::string &prefix)
Definition: OMSFileSystem.cpp:77
oms_temp_directory_path
filesystem::path oms_temp_directory_path(void)
Definition: OMSFileSystem.cpp:122
oms_absolute
filesystem::path oms_absolute(const filesystem::path &p)
Definition: OMSFileSystem.cpp:117
oms_absolute
filesystem::path oms_absolute(const filesystem::path &p)
Definition: OMSFileSystem.cpp:117
OMSFileSystem.h
naive_uncomplete
filesystem::path naive_uncomplete(const filesystem::path &path, const filesystem::path &base)
Definition: OMSFileSystem.cpp:46
oms_copy_file
void oms_copy_file(const filesystem::path &from, const filesystem::path &to)
Definition: OMSFileSystem.cpp:89