Gromacs  2019-beta2
 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 char *filename, File::NotFoundHandler onNotFound) const override
 Checks whether the provided path exists (and is a file). More...
- Public Member Functions inherited from gmx::IFileInputRedirector
bool fileExists (const std::string &filename, File::NotFoundHandler onNotFound) const
 Convenience method to check file existence using an std::string path.

Member Function Documentation

bool gmx::anonymous_namespace{fileredirector.cpp}::DefaultInputRedirector::fileExists ( const char *  filename,
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: