Gromacs  2021.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
filenameoptionmanager.cpp File Reference
#include "gmxpre.h"
#include "filenameoptionmanager.h"
#include <cstring>
#include <string>
#include "gromacs/fileio/filetypes.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/filenameoption.h"
#include "gromacs/options/ioptionscontainer.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/fileredirector.h"
#include "gromacs/utility/path.h"
#include "gromacs/utility/stringutil.h"
+ Include dependency graph for filenameoptionmanager.cpp:

Description

Implements gmx::FileNameOptionManager.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Classes

class  gmx::FileNameOptionManager::Impl
 Private implemention class for FileNameOptionManager. More...
 

Functions

std::string gmx::anonymous_namespace{filenameoptionmanager.cpp}::findExistingExtension (const std::string &prefix, const FileNameOptionInfo &option, const IFileInputRedirector *redirector)
 Adds an extension to prefix if it results in an existing file. More...
 

Variables

const char *const gmx::anonymous_namespace{filenameoptionmanager.cpp}::c_compressedExtensions [] = { ".gz", ".Z" }
 Extensions that are recognized as compressed files.