Gromacs
2020.4
|
#include <string>
#include <vector>
#include "gromacs/utility/classhelpers.h"
#include "optionflags.h"
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.
Classes | |
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... | |