/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2014, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015, 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.
* the research papers on the package. Check out http://www.gromacs.org.
*/
-class OptionManagerInterface /NoDefaultCtors/ {
+class IOptionManager /NoDefaultCtors/ {
%TypeHeaderCode
#include <gromacs/options/options.h>
-using gmx::OptionManagerInterface;
+using gmx::IOptionManager;
%End
protected:
- virtual ~OptionManagerInterface();
+ virtual ~IOptionManager();
};
class Options {
public:
Options(const char *name, const char *title);
- const char* name() const;
- %MethodCode
- sipRes = sipCpp->name().c_str();
- %End
- const char* title() const;
- %MethodCode
- sipRes = sipCpp->title().c_str();
- %End
- const char* description() const;
- %MethodCode
- sipRes = sipCpp->description().c_str();
- %End
- void setDescription (const char *desc);
- void addManager (OptionManagerInterface *manager);
+ void addManager (IOptionManager *manager);
void addSubSection (Options *section);
void addOption(const AbstractOption &settings);
- bool isSet(const char *name) const;
void finish();
private:
Options(const Options &other);