Split FileNameOption into a separate file.
authorTeemu Murtola <teemu.murtola@gmail.com>
Wed, 18 Apr 2012 16:16:14 +0000 (19:16 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Wed, 18 Apr 2012 16:16:14 +0000 (19:16 +0300)
IssueID #642 (also helps for some alternatives in IssueID #656)

Change-Id: I61b236fcd59963c8ba5f7a49aba2b5197552d316

15 files changed:
src/gromacs/options.h
src/gromacs/options/CMakeLists.txt
src/gromacs/options/basicoptioninfo.h
src/gromacs/options/basicoptions.cpp
src/gromacs/options/basicoptions.h
src/gromacs/options/basicoptionstorage.h
src/gromacs/options/cmdlinehelpwriter.cpp
src/gromacs/options/filenameoption.cpp [new file with mode: 0644]
src/gromacs/options/filenameoption.h [new file with mode: 0644]
src/gromacs/options/filenameoptioninfo.h [new file with mode: 0644]
src/gromacs/options/filenameoptionstorage.h [new file with mode: 0644]
src/gromacs/trajectoryanalysis/modules/angle.cpp
src/gromacs/trajectoryanalysis/modules/distance.cpp
src/gromacs/trajectoryanalysis/modules/select.cpp
src/gromacs/trajectoryanalysis/runnercommon.cpp

index d7b2edec8fdb2aa62fc2ee7f6b8c7d97c722c823..e8f6aa22f4d295a41eec37fab48716dce25847bc 100644 (file)
 #ifndef GMX_OPTIONS_H
 #define GMX_OPTIONS_H
 
+#include "options/basicoptioninfo.h"
 #include "options/basicoptions.h"
+#include "options/filenameoptioninfo.h"
+#include "options/filenameoption.h"
 #include "options/options.h"
 
 #endif
index c120a2a0cafbce2e8617babaf63b76db539c76a0..633a71c7899995c520c1265bc1e8c6c0fd09b347 100644 (file)
@@ -7,6 +7,8 @@ set(OPTIONS_PUBLIC_HEADERS
     basicoptions.h
     cmdlinehelpwriter.h
     cmdlineparser.h
+    filenameoption.h
+    filenameoptioninfo.h
     optionfiletype.h
     optionflags.h
     optioninfo.h
index fbf9ee27135ca20817271a3eacbaea1369750e3d..5e19c0e2e712f1fd306463a8a22bfd5acf03a6d6 100644 (file)
@@ -48,7 +48,6 @@ class BooleanOptionStorage;
 class IntegerOptionStorage;
 class DoubleOptionStorage;
 class StringOptionStorage;
-class FileNameOptionStorage;
 
 /*! \addtogroup module_options
  * \{
@@ -119,34 +118,6 @@ class StringOptionInfo : public OptionInfo
         explicit StringOptionInfo(StringOptionStorage *option);
 };
 
-/*! \brief
- * Wrapper class for accessing file name option information.
- *
- * \inpublicapi
- */
-class FileNameOptionInfo : public OptionInfo
-{
-    public:
-        //! Creates an option info object for the given option.
-        explicit FileNameOptionInfo(FileNameOptionStorage *option);
-
-        //! Whether the option specifies an input file.
-        bool isInputFile() const;
-        //! Whether the option specifies an output file.
-        bool isOutputFile() const;
-        //! Whether the option specifies a file used for both input and output.
-        bool isInputOutputFile() const;
-        /*! \brief
-         * Whether the option specifies a library file.
-         *
-         * \see FileNameOption::libraryFile()
-         */
-        bool isLibraryFile() const;
-
-    private:
-        const FileNameOptionStorage &option() const;
-};
-
 /*!\}*/
 
 } // namespace gmx
index e32013b7e17f3ac84e4192afedb850c34c73b9ff..4a5c03050e1bf77435e8317b1ff073e2ff268472 100644 (file)
@@ -30,7 +30,8 @@
  */
 /*! \internal \file
  * \brief
- * Implements classes in basicoptions.h and basicoptionstorage.h.
+ * Implements classes in basicoptions.h, basicoptioninfo.h and
+ * basicoptionstorage.h.
  *
  * \author Teemu Murtola <teemu.murtola@cbr.su.se>
  * \ingroup module_options
@@ -44,7 +45,6 @@
 #include <vector>
 
 #include "gromacs/options/basicoptioninfo.h"
-#include "gromacs/options/options.h"
 #include "gromacs/utility/exceptions.h"
 #include "gromacs/utility/format.h"
 
@@ -411,70 +411,4 @@ std::string StringOption::createDescription() const
     return value;
 }
 
-
-/********************************************************************
- * FileNameOptionStorage
- */
-
-FileNameOptionStorage::FileNameOptionStorage(const FileNameOption &settings)
-    : MyBase(settings), info_(this), filetype_(settings.filetype_),
-      bRead_(settings.bRead_), bWrite_(settings.bWrite_),
-      bLibrary_(settings.bLibrary_)
-{
-}
-
-std::string FileNameOptionStorage::formatValue(int i) const
-{
-    return values()[i];
-}
-
-void FileNameOptionStorage::convertValue(const std::string &value)
-{
-    // TODO: Proper implementation.
-    addValue(value);
-}
-
-/********************************************************************
- * FileNameOptionInfo
- */
-
-FileNameOptionInfo::FileNameOptionInfo(FileNameOptionStorage *option)
-    : OptionInfo(option)
-{
-}
-
-const FileNameOptionStorage &FileNameOptionInfo::option() const
-{
-    return static_cast<const FileNameOptionStorage &>(OptionInfo::option());
-}
-
-bool FileNameOptionInfo::isInputFile() const
-{
-    return option().isInputFile();
-}
-
-bool FileNameOptionInfo::isOutputFile() const
-{
-    return option().isOutputFile();
-}
-
-bool FileNameOptionInfo::isInputOutputFile() const
-{
-    return option().isInputOutputFile();
-}
-
-bool FileNameOptionInfo::isLibraryFile() const
-{
-    return option().isLibraryFile();
-}
-
-/********************************************************************
- * FileNameOption
- */
-
-AbstractOptionStoragePointer FileNameOption::createStorage() const
-{
-    return AbstractOptionStoragePointer(new FileNameOptionStorage(*this));
-}
-
 } // namespace gmx
index a2db12f37fe41b22ac1eafe7c40f09d876b53318..7c6e155214dc6c423f05efbc741cd2bf7e0c1874 100644 (file)
@@ -47,7 +47,6 @@
 #include "../utility/gmxassert.h"
 
 #include "abstractoption.h"
-#include "optionfiletype.h"
 
 namespace gmx
 {
@@ -55,8 +54,6 @@ namespace gmx
 class IntegerOptionStorage;
 class DoubleOptionStorage;
 class StringOptionStorage;
-class FileNameOptionStorage;
-class Options;
 
 /*! \addtogroup module_options
  * \{
@@ -266,66 +263,6 @@ class StringOption : public OptionTemplate<std::string, StringOption>
         friend class StringOptionStorage;
 };
 
-/*! \brief
- * Specifies an option that provides file names.
- *
- * Public methods in this class do not throw.
- *
- * This class is currently a stub implementation.
- *
- * \inpublicapi
- */
-class FileNameOption : public OptionTemplate<std::string, FileNameOption>
-{
-    public:
-        //! Initializes an option with the given name.
-        explicit FileNameOption(const char *name)
-            : MyBase(name), filetype_(eftUnknown),
-              bRead_(false), bWrite_(false), bLibrary_(false)
-        {
-        }
-
-        /*! \brief
-         * Sets the type of the file this option accepts.
-         *
-         * This attribute must be provided.
-         */
-        MyClass &filetype(OptionFileType type)
-        { filetype_ = type; return me(); }
-        //! Tells that the file provided by this option is used read-only.
-        MyClass &readOnly()
-        { bRead_ = true; bWrite_ = false; return me(); }
-        //! Tells that the file provided by this option is used write-only.
-        MyClass &writeOnly()
-        { bRead_ = false; bWrite_ = true; return me(); }
-        /*! \brief
-         * Tells that the file provided by this option is used for reading and
-         * writing.
-         */
-        MyClass &readWrite()
-        { bRead_ = bWrite_ = true; return me(); }
-        /*! \brief
-         * Tells that the file will be looked up in library directories in
-         * addition to working directory.
-         */
-        MyClass &libraryFile() { bLibrary_ = true; return me(); }
-
-    private:
-        //! Creates a FileNameOptionStorage object.
-        virtual AbstractOptionStoragePointer createStorage() const;
-
-        OptionFileType          filetype_;
-        bool                    bRead_;
-        bool                    bWrite_;
-        bool                    bLibrary_;
-
-        /*! \brief
-         * Needed to initialize FileNameOptionStorage from this class without
-         * otherwise unnecessary accessors.
-         */
-        friend class FileNameOptionStorage;
-};
-
 /*!\}*/
 
 } // namespace gmx
index 43ed4d512e40ae04e9434e5bffa98e5e938bbd77..506f5e85fbda3cd79e6a65419d1f1b9f3abd3bef 100644 (file)
@@ -43,7 +43,6 @@
 
 #include "basicoptions.h"
 #include "basicoptioninfo.h"
-#include "optionfiletype.h"
 #include "optionstoragetemplate.h"
 
 namespace gmx
@@ -53,7 +52,6 @@ class BooleanOption;
 class IntegerOption;
 class DoubleOption;
 class StringOption;
-class FileNameOption;
 
 /*! \addtogroup module_options
  * \{
@@ -159,38 +157,6 @@ class StringOptionStorage : public OptionStorageTemplate<std::string>
         int                    *_enumIndexStore;
 };
 
-/*! \internal \brief
- * Converts, validates, and stores file names.
- */
-class FileNameOptionStorage : public OptionStorageTemplate<std::string>
-{
-    public:
-        //! \copydoc StringOptionStorage::StringOptionStorage()
-        explicit FileNameOptionStorage(const FileNameOption &settings);
-
-        virtual OptionInfo &optionInfo() { return info_; }
-        virtual const char *typeString() const { return "file"; }
-        virtual std::string formatValue(int i) const;
-
-        //! \copydoc FileNameOptionInfo::isInputFile()
-        bool isInputFile() const { return bRead_ && !bWrite_; }
-        //! \copydoc FileNameOptionInfo::isOutputFile()
-        bool isOutputFile() const { return !bRead_ && bWrite_; }
-        //! \copydoc FileNameOptionInfo::isInputOutputFile()
-        bool isInputOutputFile() const { return bRead_ && bWrite_; }
-        //! \copydoc FileNameOptionInfo::isLibraryFile()
-        bool isLibraryFile() const { return bLibrary_; }
-
-    private:
-        virtual void convertValue(const std::string &value);
-
-        FileNameOptionInfo      info_;
-        OptionFileType          filetype_;
-        bool                    bRead_;
-        bool                    bWrite_;
-        bool                    bLibrary_;
-};
-
 /*!\}*/
 
 } // namespace gmx
index b3ade63c0fbf8b4c06c5697c85a1d80e4cbc16f3..dab95d85dcd9cc9e7eed5a87943bc2fdbdaa6aea 100644 (file)
@@ -43,6 +43,7 @@
 #include <string>
 
 #include "gromacs/options/basicoptioninfo.h"
+#include "gromacs/options/filenameoptioninfo.h"
 #include "gromacs/options/options.h"
 #include "gromacs/options/optionsvisitor.h"
 
diff --git a/src/gromacs/options/filenameoption.cpp b/src/gromacs/options/filenameoption.cpp
new file mode 100644 (file)
index 0000000..b8adfcb
--- /dev/null
@@ -0,0 +1,115 @@
+/*
+ *
+ *                This source code is part of
+ *
+ *                 G   R   O   M   A   C   S
+ *
+ *          GROningen MAchine for Chemical Simulations
+ *
+ * Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
+ * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
+ * Copyright (c) 2001-2009, The GROMACS development team,
+ * check out http://www.gromacs.org for more information.
+
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * If you want to redistribute modifications, please consider that
+ * scientific software is very special. Version control is crucial -
+ * bugs must be traceable. We will be happy to consider code for
+ * inclusion in the official distribution, but derived work must not
+ * be called official GROMACS. Details are found in the README & COPYING
+ * files - if they are missing, get the official version at www.gromacs.org.
+ *
+ * To help us fund GROMACS development, we humbly ask that you cite
+ * the papers on the package - you can find them in the top README file.
+ *
+ * For more info, check our website at http://www.gromacs.org
+ */
+/*! \internal \file
+ * \brief
+ * Implements classes in filenameoption.h, filenameoptioninfo.h and
+ * filenameoptionstorage.h.
+ *
+ * \author Teemu Murtola <teemu.murtola@cbr.su.se>
+ * \ingroup module_options
+ */
+#include "gromacs/options/filenameoption.h"
+
+#include <string>
+
+#include "gromacs/options/filenameoptioninfo.h"
+
+#include "filenameoptionstorage.h"
+
+namespace gmx
+{
+
+/********************************************************************
+ * FileNameOptionStorage
+ */
+
+FileNameOptionStorage::FileNameOptionStorage(const FileNameOption &settings)
+    : MyBase(settings), info_(this), filetype_(settings.filetype_),
+      bRead_(settings.bRead_), bWrite_(settings.bWrite_),
+      bLibrary_(settings.bLibrary_)
+{
+}
+
+std::string FileNameOptionStorage::formatValue(int i) const
+{
+    return values()[i];
+}
+
+void FileNameOptionStorage::convertValue(const std::string &value)
+{
+    // TODO: Proper implementation.
+    addValue(value);
+}
+
+/********************************************************************
+ * FileNameOptionInfo
+ */
+
+FileNameOptionInfo::FileNameOptionInfo(FileNameOptionStorage *option)
+    : OptionInfo(option)
+{
+}
+
+const FileNameOptionStorage &FileNameOptionInfo::option() const
+{
+    return static_cast<const FileNameOptionStorage &>(OptionInfo::option());
+}
+
+bool FileNameOptionInfo::isInputFile() const
+{
+    return option().isInputFile();
+}
+
+bool FileNameOptionInfo::isOutputFile() const
+{
+    return option().isOutputFile();
+}
+
+bool FileNameOptionInfo::isInputOutputFile() const
+{
+    return option().isInputOutputFile();
+}
+
+bool FileNameOptionInfo::isLibraryFile() const
+{
+    return option().isLibraryFile();
+}
+
+/********************************************************************
+ * FileNameOption
+ */
+
+AbstractOptionStoragePointer FileNameOption::createStorage() const
+{
+    return AbstractOptionStoragePointer(new FileNameOptionStorage(*this));
+}
+
+} // namespace gmx
diff --git a/src/gromacs/options/filenameoption.h b/src/gromacs/options/filenameoption.h
new file mode 100644 (file)
index 0000000..086f3af
--- /dev/null
@@ -0,0 +1,115 @@
+/*
+ *
+ *                This source code is part of
+ *
+ *                 G   R   O   M   A   C   S
+ *
+ *          GROningen MAchine for Chemical Simulations
+ *
+ * Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
+ * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
+ * Copyright (c) 2001-2009, The GROMACS development team,
+ * check out http://www.gromacs.org for more information.
+
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * If you want to redistribute modifications, please consider that
+ * scientific software is very special. Version control is crucial -
+ * bugs must be traceable. We will be happy to consider code for
+ * inclusion in the official distribution, but derived work must not
+ * be called official GROMACS. Details are found in the README & COPYING
+ * files - if they are missing, get the official version at www.gromacs.org.
+ *
+ * To help us fund GROMACS development, we humbly ask that you cite
+ * the papers on the package - you can find them in the top README file.
+ *
+ * For more info, check our website at http://www.gromacs.org
+ */
+/*! \file
+ * \brief
+ * Declares gmx::FileNameOption for setting file name options.
+ *
+ * \author Teemu Murtola <teemu.murtola@cbr.su.se>
+ * \inpublicapi
+ * \ingroup module_options
+ */
+#ifndef GMX_OPTIONS_FILENAMEOPTION_H
+#define GMX_OPTIONS_FILENAMEOPTION_H
+
+#include <string>
+
+#include "abstractoption.h"
+#include "optionfiletype.h"
+
+namespace gmx
+{
+
+class FileNameOptionStorage;
+
+/*! \brief
+ * Specifies an option that provides file names.
+ *
+ * Public methods in this class do not throw.
+ *
+ * This class is currently a stub implementation.
+ *
+ * \inpublicapi
+ * \ingroup module_options
+ */
+class FileNameOption : public OptionTemplate<std::string, FileNameOption>
+{
+    public:
+        //! Initializes an option with the given name.
+        explicit FileNameOption(const char *name)
+            : MyBase(name), filetype_(eftUnknown),
+              bRead_(false), bWrite_(false), bLibrary_(false)
+        {
+        }
+
+        /*! \brief
+         * Sets the type of the file this option accepts.
+         *
+         * This attribute must be provided.
+         */
+        MyClass &filetype(OptionFileType type)
+        { filetype_ = type; return me(); }
+        //! Tells that the file provided by this option is used read-only.
+        MyClass &readOnly()
+        { bRead_ = true; bWrite_ = false; return me(); }
+        //! Tells that the file provided by this option is used write-only.
+        MyClass &writeOnly()
+        { bRead_ = false; bWrite_ = true; return me(); }
+        /*! \brief
+         * Tells that the file provided by this option is used for reading and
+         * writing.
+         */
+        MyClass &readWrite()
+        { bRead_ = bWrite_ = true; return me(); }
+        /*! \brief
+         * Tells that the file will be looked up in library directories in
+         * addition to working directory.
+         */
+        MyClass &libraryFile() { bLibrary_ = true; return me(); }
+
+    private:
+        //! Creates a FileNameOptionStorage object.
+        virtual AbstractOptionStoragePointer createStorage() const;
+
+        OptionFileType          filetype_;
+        bool                    bRead_;
+        bool                    bWrite_;
+        bool                    bLibrary_;
+
+        /*! \brief
+         * Needed to initialize FileNameOptionStorage from this class without
+         * otherwise unnecessary accessors.
+         */
+        friend class FileNameOptionStorage;
+};
+
+} // namespace gmx
+
+#endif
diff --git a/src/gromacs/options/filenameoptioninfo.h b/src/gromacs/options/filenameoptioninfo.h
new file mode 100644 (file)
index 0000000..be6fdf1
--- /dev/null
@@ -0,0 +1,80 @@
+/*
+ *
+ *                This source code is part of
+ *
+ *                 G   R   O   M   A   C   S
+ *
+ *          GROningen MAchine for Chemical Simulations
+ *
+ * Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
+ * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
+ * Copyright (c) 2001-2009, The GROMACS development team,
+ * check out http://www.gromacs.org for more information.
+
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * If you want to redistribute modifications, please consider that
+ * scientific software is very special. Version control is crucial -
+ * bugs must be traceable. We will be happy to consider code for
+ * inclusion in the official distribution, but derived work must not
+ * be called official GROMACS. Details are found in the README & COPYING
+ * files - if they are missing, get the official version at www.gromacs.org.
+ *
+ * To help us fund GROMACS development, we humbly ask that you cite
+ * the papers on the package - you can find them in the top README file.
+ *
+ * For more info, check our website at http://www.gromacs.org
+ */
+/*! \file
+ * \brief
+ * Declares gmx::FileNameOptionInfo.
+ *
+ * \author Teemu Murtola <teemu.murtola@cbr.su.se>
+ * \inpublicapi
+ * \ingroup module_options
+ */
+#ifndef GMX_OPTIONS_FILENAMEOPTIONINFO_H
+#define GMX_OPTIONS_FILENAMEOPTIONINFO_H
+
+#include "optioninfo.h"
+
+namespace gmx
+{
+
+class FileNameOptionStorage;
+
+/*! \brief
+ * Wrapper class for accessing file name option information.
+ *
+ * \inpublicapi
+ * \ingroup module_options
+ */
+class FileNameOptionInfo : public OptionInfo
+{
+    public:
+        //! Creates an option info object for the given option.
+        explicit FileNameOptionInfo(FileNameOptionStorage *option);
+
+        //! Whether the option specifies an input file.
+        bool isInputFile() const;
+        //! Whether the option specifies an output file.
+        bool isOutputFile() const;
+        //! Whether the option specifies a file used for both input and output.
+        bool isInputOutputFile() const;
+        /*! \brief
+         * Whether the option specifies a library file.
+         *
+         * \see FileNameOption::libraryFile()
+         */
+        bool isLibraryFile() const;
+
+    private:
+        const FileNameOptionStorage &option() const;
+};
+
+} // namespace gmx
+
+#endif
diff --git a/src/gromacs/options/filenameoptionstorage.h b/src/gromacs/options/filenameoptionstorage.h
new file mode 100644 (file)
index 0000000..f86cd7f
--- /dev/null
@@ -0,0 +1,87 @@
+/*
+ *
+ *                This source code is part of
+ *
+ *                 G   R   O   M   A   C   S
+ *
+ *          GROningen MAchine for Chemical Simulations
+ *
+ * Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
+ * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
+ * Copyright (c) 2001-2009, The GROMACS development team,
+ * check out http://www.gromacs.org for more information.
+
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * If you want to redistribute modifications, please consider that
+ * scientific software is very special. Version control is crucial -
+ * bugs must be traceable. We will be happy to consider code for
+ * inclusion in the official distribution, but derived work must not
+ * be called official GROMACS. Details are found in the README & COPYING
+ * files - if they are missing, get the official version at www.gromacs.org.
+ *
+ * To help us fund GROMACS development, we humbly ask that you cite
+ * the papers on the package - you can find them in the top README file.
+ *
+ * For more info, check our website at http://www.gromacs.org
+ */
+/*! \internal \file
+ * \brief
+ * Declares gmx::FileNameOptionStorage.
+ *
+ * \author Teemu Murtola <teemu.murtola@cbr.su.se>
+ * \ingroup module_options
+ */
+#ifndef GMX_OPTIONS_FILENAMEOPTIONSTORAGE_H
+#define GMX_OPTIONS_FILENAMEOPTIONSTORAGE_H
+
+#include <string>
+
+#include "filenameoption.h"
+#include "filenameoptioninfo.h"
+#include "optionfiletype.h"
+#include "optionstoragetemplate.h"
+
+namespace gmx
+{
+
+class FileNameOption;
+
+/*! \internal \brief
+ * Converts, validates, and stores file names.
+ */
+class FileNameOptionStorage : public OptionStorageTemplate<std::string>
+{
+    public:
+        //! \copydoc StringOptionStorage::StringOptionStorage()
+        explicit FileNameOptionStorage(const FileNameOption &settings);
+
+        virtual OptionInfo &optionInfo() { return info_; }
+        virtual const char *typeString() const { return "file"; }
+        virtual std::string formatValue(int i) const;
+
+        //! \copydoc FileNameOptionInfo::isInputFile()
+        bool isInputFile() const { return bRead_ && !bWrite_; }
+        //! \copydoc FileNameOptionInfo::isOutputFile()
+        bool isOutputFile() const { return !bRead_ && bWrite_; }
+        //! \copydoc FileNameOptionInfo::isInputOutputFile()
+        bool isInputOutputFile() const { return bRead_ && bWrite_; }
+        //! \copydoc FileNameOptionInfo::isLibraryFile()
+        bool isLibraryFile() const { return bLibrary_; }
+
+    private:
+        virtual void convertValue(const std::string &value);
+
+        FileNameOptionInfo      info_;
+        OptionFileType          filetype_;
+        bool                    bRead_;
+        bool                    bWrite_;
+        bool                    bLibrary_;
+};
+
+} // namespace gmx
+
+#endif
index 6749665eaef6c43d44b6ad590bd53b06242ad457..614987bc2e873538a72ec49f77cf390d18f43dba 100644 (file)
@@ -47,6 +47,7 @@
 #include "gromacs/analysisdata/analysisdata.h"
 #include "gromacs/analysisdata/modules/plot.h"
 #include "gromacs/options/basicoptions.h"
+#include "gromacs/options/filenameoption.h"
 #include "gromacs/options/options.h"
 #include "gromacs/selection/selection.h"
 #include "gromacs/selection/selectionoption.h"
index f3ff84fbf78ea4cb945264463665a8a1e948af23..7c689573e381758a2f64ed7494a19f22173d9f80 100644 (file)
@@ -47,6 +47,7 @@
 #include "gromacs/analysisdata/analysisdata.h"
 #include "gromacs/analysisdata/modules/plot.h"
 #include "gromacs/options/basicoptions.h"
+#include "gromacs/options/filenameoption.h"
 #include "gromacs/options/options.h"
 #include "gromacs/selection/selection.h"
 #include "gromacs/selection/selectionoption.h"
index 3b6221df31c4039af6a1106be4f6e575c193c0bc..d19e1d664219f54a97360c86e6147ab3eaac4ade 100644 (file)
@@ -53,6 +53,7 @@
 #include "gromacs/analysisdata/datamodule.h"
 #include "gromacs/analysisdata/modules/plot.h"
 #include "gromacs/options/basicoptions.h"
+#include "gromacs/options/filenameoption.h"
 #include "gromacs/options/options.h"
 #include "gromacs/selection/selection.h"
 #include "gromacs/selection/selectionoption.h"
index e7713886165f5857e436b3d90a86003500519b8a..ce4f3e0b96fd002d08238307b343a161d9e2f69f 100644 (file)
@@ -48,6 +48,7 @@
 #include "vec.h"
 
 #include "gromacs/options/basicoptions.h"
+#include "gromacs/options/filenameoption.h"
 #include "gromacs/options/options.h"
 #include "gromacs/selection/indexutil.h"
 #include "gromacs/selection/selectioncollection.h"