Gromacs  2018.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
gmx::anonymous_namespace{cmdlineprogramcontext.cpp} Namespace Reference

Classes

class  DefaultExecutableEnvironment
 Default implementation for IExecutableEnvironment. More...
 

Functions

std::string quoteIfNecessary (const char *str)
 Quotes a string if it contains spaces.
 
std::string findFullBinaryPath (const std::string &invokedName, const IExecutableEnvironment &env)
 Finds the absolute path of the binary from argv[0]. More...
 
bool isAcceptableLibraryPath (const std::string &path)
 Returns whether given path contains files from share/top/. More...
 
bool isAcceptableLibraryPathPrefix (const std::string &path)
 Returns whether given path prefix contains files from share/top/. More...
 
std::string findFallbackInstallationPrefixPath ()
 Returns a fallback installation prefix path. More...
 
std::string findInstallationPrefixPath (const std::string &binaryPath, bool *bSourceLayout)
 Generic function to find data files based on path of the binary. More...