/*
* 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 AbstractOption /NoDefaultCtors/ {
+class AbstractOption /NoDefaultCtors,Abstract/ {
%TypeHeaderCode
#include <gromacs/options/abstractoption.h>
using gmx::AbstractOption;
U& hidden(bool = true);
U& required(bool = true);
U& allowMultiple(bool = true);
+ // FIXME
+ // These function do not work, because they store pointer to argument, which then is garbage collected in python.
+ // Different combinations of Factory, KeepReference and Transfer annotations do not help.
+ // Use third argument of PyOptionsHolder's methods instead.
U& defaultValue(const T&);
U& defaultValueIfSet(const T&);
};