EstervQrCode 2.0.0
Library for qr code manipulation
Loading...
Searching...
No Matches
filesystem.hpp
1// This file is part of OpenCV project.
2// It is subject to the license terms in the LICENSE file found in the top-level directory
3// of this distribution and at http://opencv.org/license.html.
4
5#ifndef OPENCV_UTILS_FILESYSTEM_HPP
6#define OPENCV_UTILS_FILESYSTEM_HPP
7
8namespace cv { namespace utils { namespace fs {
9
10
11CV_EXPORTS bool exists(const cv::String& path);
13
15
16
18
25
28
32
44CV_EXPORTS void glob(const cv::String& directory, const cv::String& pattern,
46 bool recursive = false, bool includeDirectories = false);
47
57CV_EXPORTS void glob_relative(const cv::String& directory, const cv::String& pattern,
59 bool recursive = false, bool includeDirectories = false);
60
61
64
65#if defined(__OPENCV_BUILD) || defined(BUILD_PLUGIN)
66// TODO
67//CV_EXPORTS cv::String getTempDirectory();
68
76CV_EXPORTS cv::String getCacheDirectory(const char* sub_directory_name, const char* configuration_name = NULL);
77
78#endif
79
80}}} // namespace
81
82#endif // OPENCV_UTILS_FILESYSTEM_HPP
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