6 #ifndef CNOID_UTIL_FILE_PATH_VARIABLE_PROCESSOR_H
7 #define CNOID_UTIL_FILE_PATH_VARIABLE_PROCESSOR_H
10 #include <cnoid/stdx/filesystem>
12 #include "exportdecl.h"
26 void setSystemVariablesEnabled(
bool on);
27 void setUserVariables(
Mapping* variables);
28 void setBaseDirectory(
const std::string& directory);
29 void clearBaseDirectory();
30 std::string baseDirectory()
const;
31 stdx::filesystem::path baseDirPath()
const;
32 void setProjectDirectory(
const std::string& directory);
33 void clearProjectDirectory();
34 const std::string& projectDirectory()
const;
35 std::string parameterize(
const std::string& path);
36 std::string expand(
const std::string& path,
bool doMakeNativeAbsolutePath);
37 const std::string& errorMessage()
const;