5
#ifndef OPENCV_UTILS_FILESYSTEM_HPP
6
#define OPENCV_UTILS_FILESYSTEM_HPP
8
namespace
cv
{
namespace
utils {
namespace
fs {
11CV_EXPORTS
bool
exists(
const
cv::String& path);
12CV_EXPORTS
bool
isDirectory(
const
cv::String& path);
14CV_EXPORTS
void
remove_all(
const
cv::String& path);
17CV_EXPORTS cv::String getcwd();
24CV_EXPORTS cv::String canonical(
const
cv::String& path);
27CV_EXPORTS cv::String join(
const
cv::String& base,
const
cv::String& path);
30CV_EXPORTS cv::String getParent(
const
cv::String &path);
31CV_EXPORTS std::wstring getParent(
const
std::wstring& path);
44CV_EXPORTS
void
glob(
const
cv::String& directory,
const
cv::String& pattern,
45
CV_OUT std::vector<cv::String>& result,
46
bool
recursive =
false,
bool
includeDirectories =
false);
57CV_EXPORTS
void
glob_relative(
const
cv::String& directory,
const
cv::String& pattern,
58
CV_OUT std::vector<cv::String>& result,
59
bool
recursive =
false,
bool
includeDirectories =
false);
62CV_EXPORTS
bool
createDirectory(
const
cv::String& path);
63CV_EXPORTS
bool
createDirectories(
const
cv::String& path);
76CV_EXPORTS cv::String getCacheDirectory(
const
char* sub_directory_name,
const
char* configuration_name = NULL);
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75