Gromacs  2024
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::anonymous_namespace{fileredirector.cpp}::DefaultInputRedirector Class Reference
+ Inheritance diagram for gmx::anonymous_namespace{fileredirector.cpp}::DefaultInputRedirector:
+ Collaboration diagram for gmx::anonymous_namespace{fileredirector.cpp}::DefaultInputRedirector:


Implements the redirector returned by defaultFileInputRedirector().

Does not redirect anything, but uses the file system as requested.

Public Member Functions

bool fileExists (const std::filesystem::path &filename, const File::NotFoundHandler &onNotFound) const override
 Checks whether the provided path exists (and is a file). More...

Member Function Documentation

bool gmx::anonymous_namespace{fileredirector.cpp}::DefaultInputRedirector::fileExists ( const std::filesystem::path &  filename,
const File::NotFoundHandler &  onNotFound 
) const

Checks whether the provided path exists (and is a file).

The onNotFound can be used to influence the behavior on error conditions. Functions to pass as this parameter are provided as members of gmx::File.

Implements gmx::IFileInputRedirector.

The documentation for this class was generated from the following file: