Gromacs  2016.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
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:

Description

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.

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

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...