Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkFileSystem.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkFileSystem_h
14 #define mitkFileSystem_h
15 
16 #if __has_include(<filesystem>)
17  #define MITK_HAS_FILESYSTEM
18  #include <filesystem>
19  namespace fs = std::filesystem;
20 #elif __has_include(<experimental/filesystem>)
21  #include <experimental/filesystem>
22  namespace fs = std::experimental::filesystem;
23 #endif
24 
25 #endif