Gromacs
5.1
|
#include <gromacs/utility/datafilefinder.h>
Information about a data file found by DataFileFinder::enumerateFiles().
Public Member Functions | |
DataFileInfo (const std::string &dir, const std::string &name, bool bDefault) | |
Initializes the structure with given values. | |
Public Attributes | |
std::string | dir |
Directory from which the file was found. More... | |
std::string | 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::string 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).