|
imutils-cpp
|
The class helps in finding files in given dictionary and has two functions for the same. More...
#include <paths.h>
Public Member Functions | |
| std::vector< std::string > | listImages (std::string basePath, std::string contains="") |
| Utility for listing all the Images in directory. | |
| std::vector< std::string > | listFiles (std::string basePath, std::vector< std::string > validExts={}, std::string contains="") |
| Utility for listing all the Files in directory with valid extensions and containing words if any. | |
The class helps in finding files in given dictionary and has two functions for the same.
| std::vector< std::string > Path::listFiles | ( | std::string | basePath, |
| std::vector< std::string > | validExts = {}, |
||
| std::string | contains = "" |
||
| ) |
Utility for listing all the Files in directory with valid extensions and containing words if any.
| basePath | The directory where you want to search |
| validExts | List of file extensions |
| contains | Text that the filename must contain leave empty if none |
| std::vector< std::string > Path::listImages | ( | std::string | basePath, |
| std::string | contains = "" |
||
| ) |
Utility for listing all the Images in directory.
| basePath | the directory where you want to search |
| contains | Text that the filename must contain leave empty if none |