17 std::filesystem::path
dir;
29 std::filesystem::path
dir;
36 std::filesystem::directory_iterator
it;
48 std::filesystem::recursive_directory_iterator
it;
59[[nodiscard]]
inline std::filesystem::directory_iterator
end(
const Directory & )
66 return !a.
ec && a.
it != b;
81 return !a.
ec && a.
it != b;
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
auto begin(const BitSet &a)
Definition MRMesh/MRBitSet.h:280
auto end(const BitSet &)
Definition MRMesh/MRBitSet.h:282
bool operator!=(const SetBitIteratorT< T > &a, const SetBitIteratorT< T > &b)
Definition MRMesh/MRBitSet.h:276
Definition MRCameraOrientationPlugin.h:8
MRMESH_API std::filesystem::path findPathWithExtension(const std::filesystem::path &pathWithoutExtension)
given file name without final extension, finds in the same folder an existing file with same stem and...
iterator of directory items that will save any errors in (ec) instead of throwing exceptions
Definition MRDirectory.h:35
auto operator*() const
Definition MRDirectory.h:39
std::filesystem::directory_iterator it
Definition MRDirectory.h:36
std::error_code & ec
Definition MRDirectory.h:37
DirectoryIterator & operator++()
Definition MRDirectory.h:38
recursive iterator of directory items that will save any errors in (ec) instead of throwing exception...
Definition MRDirectory.h:47
std::error_code & ec
Definition MRDirectory.h:49
auto operator*() const
Definition MRDirectory.h:51
DirectoryRecursiveIterator & operator++()
Definition MRDirectory.h:50
std::filesystem::recursive_directory_iterator it
Definition MRDirectory.h:48
Definition MRDirectory.h:28
std::filesystem::path dir
Definition MRDirectory.h:29
std::error_code & ec
Definition MRDirectory.h:30
Definition MRDirectory.h:16
std::filesystem::path dir
Definition MRDirectory.h:17
std::error_code & ec
Definition MRDirectory.h:18