/** * \file directories.h * \brief Get directories used by IMP. * * Copyright 2007-2010 IMP Inventors. All rights reserved. * */ #ifndef IMP_INTERNAL_DIRECTORIES_H #define IMP_INTERNAL_DIRECTORIES_H #include "../kernel_config.h" #include IMP_BEGIN_INTERNAL_NAMESPACE //! Get the the path to a module data file. IMPEXPORT std::string get_data_path(std::string module_name, std::string file_name); //! Get the path to an example data file. IMPEXPORT std::string get_example_path(std::string module_name, std::string file_name); //! If data is not found in a normal location, it is searched for here /** The module part of the expected path is not used. Use of this requires boost file system. */ IMPEXPORT void set_backup_data_path(std::string path) ; IMPEXPORT std::string get_concatenated_path(std::string part0, std::string part1); IMPEXPORT std::string get_directory_path(std::string fileordirectory); IMP_END_INTERNAL_NAMESPACE #endif /* IMP_INTERNAL_DIRECTORIES_H */