MeshLib Documentation
Loading...
Searching...
No Matches
MRDirectory.h File Reference
#include "MRMeshFwd.h"
#include <filesystem>

Go to the source code of this file.

Classes

struct  MR::Directory
 
struct  MR::DirectoryRecursive
 
struct  MR::DirectoryIterator
 iterator of directory items that will save any errors in (ec) instead of throwing exceptions More...
 
struct  MR::DirectoryRecursiveIterator
 recursive iterator of directory items that will save any errors in (ec) instead of throwing exceptions More...
 

Namespaces

namespace  MR
 

Functions

MRMESH_API std::filesystem::path MR::findPathWithExtension (const std::filesystem::path &pathWithoutExtension)
 given file name without final extension, finds in the same folder an existing file with same stem and any extension
 
DirectoryIterator MR::begin (const Directory &sd)
 
std::filesystem::directory_iterator MR::end (const Directory &)
 
bool MR::operator!= (const DirectoryIterator &a, const std::filesystem::directory_iterator &b)
 
DirectoryRecursiveIterator MR::begin (const DirectoryRecursive &sd)
 
std::filesystem::recursive_directory_iterator MR::end (const DirectoryRecursive &)
 
bool MR::operator!= (const DirectoryRecursiveIterator &a, const std::filesystem::recursive_directory_iterator &b)