67#ifdef BY_BUILD_PLATFORM_IS_WINDOWS
73 std::filesystem::path path;
76 typedef std::vector<entry> entries;
83 class _nout iterator {
92 iterator(
const std::filesystem::path& path);
93 iterator(
const std::string& path);
94 iterator(
const nchar* path);
98 const std::filesystem::path& operator*();
100 operator nbool()
const;
101 const std::filesystem::path* operator->()
const;
114 const std::filesystem::path& get()
const;
115 std::filesystem::path getDir()
const;
119 void _addDir(
const std::filesystem::path&
dirPath);
121 static nbool _isGlobPattern(
const std::filesystem::path&
p);
122 std::regex _convertToRegex(
const std::filesystem::path&
globPattern);
126 std::filesystem::path _nowPath;
137 static iterator
find(
const std::filesystem::path& path);
138 static iterator find(
const std::string& path)
BY_SIDE_FUNC(
true, find(std::filesystem::path(path)), iterator());
139 static iterator find(
const nchar* it)
BY_SIDE_FUNC(it, find(std::filesystem::path(it)), iterator());
141 static std::filesystem::path getCurrentDir();
#define BY_SIDE_FUNC(...)
Side function macros for safe pointer operations
Definition sideFunc.hpp:24