9 #ifndef DUNE_COMMON_TOOLS
10 #define DUNE_COMMON_TOOLS
30 std::vector<tstring>
files_from_args(
const tstring& args,
const tstring& default_file = L
"");
tstring extract_path(const tstring &pattern)
Extract a path from a given pattern, e.g. "C:/foo" from "C:/foo/\*.bar".
Definition: common_tools.cpp:37
bool path_is_relative(const tstring &p)
Returns true if the supplied path p was a relative URI.
Definition: common_tools.cpp:47
tstring absolute_path()
Returns an absolute path of the current execution directory.
Definition: common_tools.cpp:53
tstring make_absolute_path(const tstring &relative_filename)
Return an absolute URI to a URI relative to the execution directory. Thus function is used in every l...
Definition: common_tools.cpp:67
std::vector< tstring > files_from_args(const tstring &arg, const tstring &default_file)
Return a vector of strings from a given argument string. A default file will be pushed to the vector ...
Definition: common_tools.cpp:18