Choreonoid  1.1
FileUtil.h
説明を見る。
1 
6 #ifndef CNOID_UTIL_FILE_UTIL_H_INCLUDED
7 #define CNOID_UTIL_FILE_UTIL_H_INCLUDED
8 
9 #include <boost/filesystem.hpp>
10 #include <string>
11 #include "exportdecl.h"
12 
13 namespace cnoid {
14 
16  const boost::filesystem::path& path,
17  boost::filesystem::path& out_compact);
18 
20  const boost::filesystem::path& directory,
21  const boost::filesystem::path& path,
22  boost::filesystem::path& out_subdirectory);
23 
25  const boost::filesystem::path& from,
26  const boost::filesystem::path& to,
27  boost::filesystem::path& out_relativePath);
28 
29 //#ifdef _WIN32
30 #if 0
31  CNOID_EXPORT const std::string toActualPathName(const std::string& pathName);
32 #else
33  inline const std::string& toActualPathName(const std::string& pathName) {
34  return pathName;
35  }
36 #endif
37 
38 }
39 
40 #endif