17 #ifndef MITK_STANDARD_FILE_LOCATIONS_H_INCLUDED_SWDG
18 #define MITK_STANDARD_FILE_LOCATIONS_H_INCLUDED_SWDG
23 #include <itkObject.h>
24 #include <itkObjectFactory.h>
47 void AddDirectoryForSearch(
const char *dir,
bool insertInFrontOfSearchList =
true);
54 void RemoveDirectoryForSearch(
const char *dir);
80 std::string FindFile(
const char *
filename,
const char *pathInSourceDir =
nullptr);
93 std::string GetOptionDirectory();
98 itkFactorylessNewMacro(Self) itkCloneMacro(Self)
101 FileSearchVectorType m_SearchDirectories;
106 std::
string SearchDirectoriesForFile(const
char *
filename);
110 StandardFileLocations(const StandardFileLocations &);
itk::SmartPointer< Self > Pointer
std::vector< std::string > FileSearchVectorType
DataCollection - Class to facilitate loading/accessing structured data.
static const std::string filename
StandardFileLocations Self
Provides a method to look for configuration and option files etc.