Gromacs  2025-dev-20240906-b7d3419
 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:

Description

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
inlineoverridevirtual

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: