13 #ifndef MITK_STANDARD_FILE_LOCATIONS_H_INCLUDED_SWDG 14 #define MITK_STANDARD_FILE_LOCATIONS_H_INCLUDED_SWDG 19 #include <itkObject.h> 20 #include <itkObjectFactory.h> 43 void AddDirectoryForSearch(
const char *dir,
bool insertInFrontOfSearchList =
true);
50 void RemoveDirectoryForSearch(
const char *dir);
76 std::string FindFile(
const char *filename,
const char *pathInSourceDir =
nullptr);
89 std::string GetOptionDirectory();
94 itkFactorylessNewMacro(Self);
103 std::string SearchDirectoriesForFile(
const char *filename);
FileSearchVectorType m_SearchDirectories
itk::SmartPointer< Self > Pointer
std::vector< std::string > FileSearchVectorType
DataCollection - Class to facilitate loading/accessing structured data.
StandardFileLocations Self
Provides a method to look for configuration and option files etc.