Gromacs
2016.6
|
#include <gromacs/options/basicoptions.h>
Interface for handling storage of the enum indexes.
This interface acts as a proxy between the EnumOptionStorage class (that operates on int
values), and the actual enum variable that receives the values. The implementation of this interface takes care of conversion of the values and writing them out into the actual enum variables.
Public Member Functions | |
virtual std::vector< int > | initialValues () const =0 |
Returns initial values from the actual enum variables. | |
virtual void | reserveSpace (size_t count)=0 |
Reserves space for storage in the actual enum variables. | |
virtual void | refreshValues (const std::vector< int > &values)=0 |
Updates values in the actual enum variables based on option values. | |