Gromacs  2018.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
abstractoption.h File Reference
#include <string>
#include <vector>
#include "gromacs/options/optionflags.h"
#include "gromacs/utility/classhelpers.h"
+ Include dependency graph for abstractoption.h:
+ This graph shows which files directly or indirectly include this file:


Defines gmx::AbstractOption, gmx::OptionTemplate and gmx::OptionInfo.

This header defines base classes for option settings that are used with Options::addOption(). These classes implement the "named parameter" idiom for specifying option properties.

These classes also take care of creating and setting up the actual option objects.

This header is needed directly only when implementing new option types, but methods of OptionTemplate are visible even to the normal user through its subclasses.

Teemu Murtola


class  gmx::OptionStorageTemplate< T >
 Templated base class for constructing option value storage classes. More...
class  gmx::AbstractOption
 Abstract base class for specifying option properties. More...
class  gmx::OptionTemplate< T, U >
 Templated base class for constructing concrete option settings classes. More...
class  gmx::OptionInfo
 Gives information and allows modifications to an option after creation. More...