5 #ifndef OPENCV_UTILS_FILESYSTEM_HPP
6 #define OPENCV_UTILS_FILESYSTEM_HPP
8 namespace cv {
namespace utils {
namespace fs {
46 bool recursive =
false,
bool includeDirectories =
false);
59 bool recursive =
false,
bool includeDirectories =
false);
65 #if defined(__OPENCV_BUILD) || defined(BUILD_PLUGIN)
76 CV_EXPORTS cv::String getCacheDirectory(
const char* sub_directory_name,
const char* configuration_name = NULL);
const CvArr const CvArr CvArr * result
Definition: core_c.h:1423
#define CV_EXPORTS
Definition: cvdef.h:435
#define CV_OUT
Definition: cvdef.h:478
CV_EXPORTS bool isDirectory(const cv::String &path)
CV_EXPORTS cv::String canonical(const cv::String &path)
Converts path p to a canonical absolute path Symlinks are processed if there is support for them on r...
CV_EXPORTS cv::String join(const cv::String &base, const cv::String &path)
CV_EXPORTS cv::String getcwd()
CV_EXPORTS bool createDirectory(const cv::String &path)
CV_EXPORTS void glob(const cv::String &directory, const cv::String &pattern, CV_OUT std::vector< cv::String > &result, bool recursive=false, bool includeDirectories=false)
CV_EXPORTS bool exists(const cv::String &path)
CV_EXPORTS cv::String getParent(const cv::String &path)
CV_EXPORTS void glob_relative(const cv::String &directory, const cv::String &pattern, CV_OUT std::vector< cv::String > &result, bool recursive=false, bool includeDirectories=false)
CV_EXPORTS void remove_all(const cv::String &path)
CV_EXPORTS bool createDirectories(const cv::String &path)
"black box" representation of the file storage associated with a file on disk.
Definition: calib3d.hpp:441