Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / options / filenameoptionstorage.h
index c7c1bf171f085f3234e10aa933bb7f216e5b0c93..7628a379d1a0f90e7baa7afa74f38cbc8699c04d 100644 (file)
@@ -45,9 +45,9 @@
 #include <string>
 #include <vector>
 
-#include "filenameoption.h"
-#include "optionfiletype.h"
-#include "optionstoragetemplate.h"
+#include "gromacs/options/filenameoption.h"
+#include "gromacs/options/optionfiletype.h"
+#include "gromacs/options/optionstoragetemplate.h"
 
 namespace gmx
 {
@@ -86,10 +86,16 @@ class FileNameOptionStorage : public OptionStorageTemplate<std::string>
 
         //! \copydoc FileNameOptionInfo::isDirectoryOption()
         bool isDirectoryOption() const;
+        //! \copydoc FileNameOptionInfo::isTrajectoryOption()
+        bool isTrajectoryOption() const;
         //! \copydoc FileNameOptionInfo::defaultExtension()
         const char *defaultExtension() const;
         //! \copydoc FileNameOptionInfo::extensions()
         std::vector<const char *> extensions() const;
+        //! \copydoc FileNameOptionInfo::isValidType()
+        bool isValidType(int fileType) const;
+        //! \copydoc FileNameOptionInfo::fileTypes()
+        ConstArrayRef<int> fileTypes() const;
 
     private:
         virtual void convertValue(const std::string &value);
@@ -98,6 +104,7 @@ class FileNameOptionStorage : public OptionStorageTemplate<std::string>
         FileNameOptionInfo      info_;
         FileNameOptionManager  *manager_;
         int                     fileType_;
+        const char             *defaultExtension_;
         bool                    bRead_;
         bool                    bWrite_;
         bool                    bLibrary_;