Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkFileSystem.h File Reference

Portability header that provides a unified namespace alias for the C++ filesystem library. More...

Go to the source code of this file.

Detailed Description

Portability header that provides a unified namespace alias for the C++ filesystem library.

This header detects whether <filesystem> or <experimental/filesystem> is available and introduces the namespace alias fs that refers to the appropriate implementation. If the standard <filesystem> header is found, the preprocessor symbol MITK_HAS_FILESYSTEM is also defined.

Note
Prefer including this header instead of <filesystem> directly to ensure compatibility with older compilers that only provide the experimental variant.

Definition in file mitkFileSystem.h.