00001
00016 #ifndef _DLRPORTABILITY_FILESYSTEM_H_
00017 #define _DLRPORTABILITY_FILESYSTEM_H_
00018
00019 #include <string>
00020 #include <vector>
00021
00022
00023 namespace dlr {
00024
00025 namespace portability {
00026
00027 const std::string& pathDelimiter();
00028
00029
00030 const std::string& extensionDelimiter();
00031
00032
00044 bool
00045 isDirectory(const std::string& path);
00046
00047
00048 std::string
00049 joinPath(const std::string& part0, const std::string& part1);
00050
00051
00052 std::vector<std::string>
00053 listDirectory(const std::string& directoryName, bool fullPath);
00054
00055
00085 std::pair<std::string, std::string>
00086 splitPath(const std::string& path);
00087
00088 }
00089
00090 }
00091
00092 #endif