/* * This file is part of the GROMACS-PyAPI package. * * Copyright (c) 2014,2015, * by Maks Koltsov and * by Alexey Shvetsov * * GROMACS-PyAPI is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 * of the License, or (at your option) any later version. * * GROMACS-PyAPI is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GROMACS; if not, see * http://www.gnu.org/licenses, or write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ class IOptionManager /NoDefaultCtors/ { %TypeHeaderCode #include using gmx::IOptionManager; %End protected: virtual ~IOptionManager(); }; class Options: public IOptionsContainer { %TypeHeaderCode #include using gmx::Options; %End public: Options(const char *name, const char *title); void addManager (IOptionManager *manager); void addSubSection (Options *section); void addOption(const AbstractOption &settings); IOptionsContainer *addGroup(); %MethodCode IOptionsContainer &group = sipCpp->addGroup(); sipRes = &group; %End void finish(); private: Options(const Options &other); };