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


Default implementation for IExecutableEnvironment.

Used if IExecutableEnvironment is not explicitly provided when constructing CommandLineProgramContext.

Public Member Functions

std::string getWorkingDirectory () const override
 Returns the working directory when the program was launched.
std::vector< std::string > getExecutablePaths () const override
 Returns list of paths where executables are searched for. More...

Static Public Member Functions

static ExecutableEnvironmentPointer create ()
 Allocates a default environment.

Member Function Documentation

std::vector<std::string> gmx::anonymous_namespace{cmdlineprogramcontext.cpp}::DefaultExecutableEnvironment::getExecutablePaths ( ) const

Returns list of paths where executables are searched for.

The returned list should be in priority order. An empty string in the returned list corresponds to getWorkindDirectory().

Implements gmx::IExecutableEnvironment.

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