Gromacs  2025.0-dev-20241011-013a99c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs
cmdlineprogramcontext.h File Reference
#include <filesystem>
#include <memory>
#include <string>
#include <vector>
#include "gromacs/utility/programcontext.h"
+ Include dependency graph for cmdlineprogramcontext.h:
+ This graph shows which files directly or indirectly include this file:

Description

Declares gmx::CommandLineProgramContext.

This header is installed to support cmdlineinit.h because some compilers don't allow returning a reference to an incomplete type from a function. It should not be necessary to use gmx::CommandLineProgramContext outside the GROMACS library.

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

Classes

class  gmx::IExecutableEnvironment
 Allows customization of the way various directories are found by CommandLineProgramContext. More...
 
class  gmx::CommandLineProgramContext
 Program context implementation for command line programs. More...
 

Typedefs

typedef std::unique_ptr
< IExecutableEnvironment > 
gmx::ExecutableEnvironmentPointer
 Shorthand for a smart pointer to IExecutableEnvironment.