|
Gromacs
2023.4
|
#include <gromacs/utility/include/gromacs/utility/datafilefinder.h>
Information about a data file found by DataFileFinder::enumerateFiles().
Public Member Functions | |
| DataFileInfo (const std::filesystem::path &dir, const std::filesystem::path &name, bool bDefault) | |
| Initializes the structure with given values. | |
Public Attributes | |
| std::filesystem::path | dir |
| Directory from which the file was found. More... | |
| std::filesystem::path | name |
| Name of the file without any directory name. | |
| bool | bFromDefaultDir |
| Whether the file was found from the default directory. More... | |
| bool gmx::DataFileInfo::bFromDefaultDir |
Whether the file was found from the default directory.
If true, the file was found from the default installation data directory, not from the current directory or any user-provided (through DataFileFinder::setSearchPathFromEnv()) location.
| std::filesystem::path gmx::DataFileInfo::dir |
Directory from which the file was found.
If the file was found from the current directory, this will be ".". In other cases, this will be a full path (except if the user-provided search path contains relative paths).
1.8.5