/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2016,2017,2018,2019, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
*/
class IMdpOptionProvider
{
- public:
- /*! \brief
- * Initializes a transform from mdp values to sectioned options.
- *
- * The transform is specified from a flat KeyValueTreeObject that
- * contains each mdp value as a property, to a structured
- * key-value tree that should match the options defined in
- * initMdpOptions().
- *
- * This method may be removed once the flat mdp file is replaced with a
- * more structure input file (that can be directly read into the
- * internal key-value tree), and there is no longer any need for
- * backward compatibility with old files.
- */
- virtual void initMdpTransform(IKeyValueTreeTransformRules *transform) = 0;
- /*! \brief
- * Initializes options that declare input (mdp) parameters for this
- * module.
- */
- virtual void initMdpOptions(IOptionsContainerWithSections *options) = 0;
- //! Prepares to write a flat key-value tree like an mdp file.
- virtual void buildMdpOutput(KeyValueTreeObjectBuilder *builder) const = 0;
+public:
+ /*! \brief
+ * Initializes a transform from mdp values to sectioned options.
+ *
+ * The transform is specified from a flat KeyValueTreeObject that
+ * contains each mdp value as a property, to a structured
+ * key-value tree that should match the options defined in
+ * initMdpOptions().
+ *
+ * This method may be removed once the flat mdp file is replaced with a
+ * more structure input file (that can be directly read into the
+ * internal key-value tree), and there is no longer any need for
+ * backward compatibility with old files.
+ */
+ virtual void initMdpTransform(IKeyValueTreeTransformRules* transform) = 0;
+ /*! \brief
+ * Initializes options that declare input (mdp) parameters for this
+ * module.
+ */
+ virtual void initMdpOptions(IOptionsContainerWithSections* options) = 0;
+ //! Prepares to write a flat key-value tree like an mdp file.
+ virtual void buildMdpOutput(KeyValueTreeObjectBuilder* builder) const = 0;
- protected:
- virtual ~IMdpOptionProvider() {}
+protected:
+ virtual ~IMdpOptionProvider() {}
};
} // namespace gmx