| [87db7a] | 1 | /*
 | 
|---|
 | 2 |  * CommandLineQuery.hpp
 | 
|---|
 | 3 |  *
 | 
|---|
 | 4 |  *  Created on: Nov 8, 2010
 | 
|---|
 | 5 |  *      Author: heber
 | 
|---|
 | 6 |  */
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | #ifndef COMMANDLINEQUERY_HPP_
 | 
|---|
 | 9 | #define COMMANDLINEQUERY_HPP_
 | 
|---|
 | 10 | 
 | 
|---|
| [56f73b] | 11 | // include config.h
 | 
|---|
 | 12 | #ifdef HAVE_CONFIG_H
 | 
|---|
 | 13 | #include <config.h>
 | 
|---|
 | 14 | #endif
 | 
|---|
 | 15 | 
 | 
|---|
 | 16 | 
 | 
|---|
| [87db7a] | 17 | #include "CommandLineUI/CommandLineDialog.hpp"
 | 
|---|
 | 18 | 
 | 
|---|
 | 19 | class CommandLineDialog::EmptyCommandLineQuery : public Dialog::EmptyQuery {
 | 
|---|
 | 20 | public:
 | 
|---|
 | 21 |   EmptyCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 22 |   virtual ~EmptyCommandLineQuery();
 | 
|---|
 | 23 |   virtual bool handle();
 | 
|---|
 | 24 | };
 | 
|---|
 | 25 | 
 | 
|---|
 | 26 | class CommandLineDialog::IntCommandLineQuery : public Dialog::IntQuery {
 | 
|---|
 | 27 | public:
 | 
|---|
 | 28 |   IntCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 29 |   virtual ~IntCommandLineQuery();
 | 
|---|
 | 30 |   virtual bool handle();
 | 
|---|
 | 31 | };
 | 
|---|
 | 32 | 
 | 
|---|
 | 33 | class CommandLineDialog::IntsCommandLineQuery : public Dialog::IntsQuery {
 | 
|---|
 | 34 | public:
 | 
|---|
 | 35 |   IntsCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 36 |   virtual ~IntsCommandLineQuery();
 | 
|---|
 | 37 |   virtual bool handle();
 | 
|---|
 | 38 | };
 | 
|---|
 | 39 | 
 | 
|---|
 | 40 | class CommandLineDialog::BooleanCommandLineQuery : public Dialog::BooleanQuery {
 | 
|---|
 | 41 | public:
 | 
|---|
 | 42 |   BooleanCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 43 |   virtual ~BooleanCommandLineQuery();
 | 
|---|
 | 44 |   virtual bool handle();
 | 
|---|
 | 45 | };
 | 
|---|
 | 46 | 
 | 
|---|
 | 47 | class CommandLineDialog::DoubleCommandLineQuery : public Dialog::DoubleQuery {
 | 
|---|
 | 48 | public:
 | 
|---|
 | 49 |   DoubleCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 50 |   virtual ~DoubleCommandLineQuery();
 | 
|---|
 | 51 |   virtual bool handle();
 | 
|---|
 | 52 | };
 | 
|---|
 | 53 | 
 | 
|---|
 | 54 | class CommandLineDialog::DoublesCommandLineQuery : public Dialog::DoublesQuery {
 | 
|---|
 | 55 | public:
 | 
|---|
 | 56 |   DoublesCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 57 |   virtual ~DoublesCommandLineQuery();
 | 
|---|
 | 58 |   virtual bool handle();
 | 
|---|
 | 59 | };
 | 
|---|
 | 60 | 
 | 
|---|
 | 61 | class CommandLineDialog::StringCommandLineQuery : public Dialog::StringQuery {
 | 
|---|
 | 62 | public:
 | 
|---|
 | 63 |   StringCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 64 |   virtual ~StringCommandLineQuery();
 | 
|---|
 | 65 |   virtual bool handle();
 | 
|---|
 | 66 | };
 | 
|---|
 | 67 | 
 | 
|---|
 | 68 | class CommandLineDialog::StringsCommandLineQuery : public Dialog::StringsQuery {
 | 
|---|
 | 69 | public:
 | 
|---|
 | 70 |   StringsCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 71 |   virtual ~StringsCommandLineQuery();
 | 
|---|
 | 72 |   virtual bool handle();
 | 
|---|
 | 73 | };
 | 
|---|
 | 74 | 
 | 
|---|
 | 75 | class CommandLineDialog::AtomCommandLineQuery : public Dialog::AtomQuery {
 | 
|---|
 | 76 | public:
 | 
|---|
 | 77 |   AtomCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 78 |   virtual ~AtomCommandLineQuery();
 | 
|---|
 | 79 |   virtual bool handle();
 | 
|---|
 | 80 | };
 | 
|---|
 | 81 | 
 | 
|---|
 | 82 | class CommandLineDialog::AtomsCommandLineQuery : public Dialog::AtomsQuery {
 | 
|---|
 | 83 | public:
 | 
|---|
 | 84 |   AtomsCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 85 |   virtual ~AtomsCommandLineQuery();
 | 
|---|
 | 86 |   virtual bool handle();
 | 
|---|
 | 87 | };
 | 
|---|
 | 88 | 
 | 
|---|
 | 89 | class CommandLineDialog::MoleculeCommandLineQuery : public Dialog::MoleculeQuery {
 | 
|---|
 | 90 | public:
 | 
|---|
 | 91 |   MoleculeCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 92 |   virtual ~MoleculeCommandLineQuery();
 | 
|---|
 | 93 |   virtual bool handle();
 | 
|---|
 | 94 | };
 | 
|---|
 | 95 | 
 | 
|---|
 | 96 | class CommandLineDialog::MoleculesCommandLineQuery : public Dialog::MoleculesQuery {
 | 
|---|
 | 97 | public:
 | 
|---|
 | 98 |   MoleculesCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 99 |   virtual ~MoleculesCommandLineQuery();
 | 
|---|
 | 100 |   virtual bool handle();
 | 
|---|
 | 101 | };
 | 
|---|
 | 102 | 
 | 
|---|
 | 103 | class CommandLineDialog::VectorCommandLineQuery : public Dialog::VectorQuery {
 | 
|---|
 | 104 | public:
 | 
|---|
 | 105 |   VectorCommandLineQuery(std::string title,bool _check, std::string _description = "");
 | 
|---|
 | 106 |   virtual ~VectorCommandLineQuery();
 | 
|---|
 | 107 |   virtual bool handle();
 | 
|---|
 | 108 | };
 | 
|---|
 | 109 | 
 | 
|---|
 | 110 | class CommandLineDialog::VectorsCommandLineQuery : public Dialog::VectorsQuery {
 | 
|---|
 | 111 | public:
 | 
|---|
 | 112 |   VectorsCommandLineQuery(std::string title,bool _check, std::string _description = "");
 | 
|---|
 | 113 |   virtual ~VectorsCommandLineQuery();
 | 
|---|
 | 114 |   virtual bool handle();
 | 
|---|
 | 115 | };
 | 
|---|
 | 116 | 
 | 
|---|
 | 117 | class CommandLineDialog::BoxCommandLineQuery : public Dialog::BoxQuery {
 | 
|---|
 | 118 | public:
 | 
|---|
 | 119 |   BoxCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 120 |   virtual ~BoxCommandLineQuery();
 | 
|---|
 | 121 |   virtual bool handle();
 | 
|---|
 | 122 | };
 | 
|---|
 | 123 | 
 | 
|---|
 | 124 | class CommandLineDialog::ElementCommandLineQuery : public Dialog::ElementQuery {
 | 
|---|
 | 125 | public:
 | 
|---|
 | 126 |   ElementCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 127 |   virtual ~ElementCommandLineQuery();
 | 
|---|
 | 128 |   virtual bool handle();
 | 
|---|
 | 129 | };
 | 
|---|
 | 130 | 
 | 
|---|
 | 131 | class CommandLineDialog::ElementsCommandLineQuery : public Dialog::ElementsQuery {
 | 
|---|
 | 132 | public:
 | 
|---|
 | 133 |   ElementsCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 134 |   virtual ~ElementsCommandLineQuery();
 | 
|---|
 | 135 |   virtual bool handle();
 | 
|---|
 | 136 | };
 | 
|---|
 | 137 | 
 | 
|---|
 | 138 | class CommandLineDialog::FileCommandLineQuery : public Dialog::FileQuery {
 | 
|---|
 | 139 | public:
 | 
|---|
 | 140 |   FileCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 141 |   virtual ~FileCommandLineQuery();
 | 
|---|
 | 142 |   virtual bool handle();
 | 
|---|
 | 143 | };
 | 
|---|
 | 144 | 
 | 
|---|
| [0275ad] | 145 | class CommandLineDialog::RandomNumberDistribution_ParametersCommandLineQuery : public Dialog::RandomNumberDistribution_ParametersQuery {
 | 
|---|
 | 146 | public:
 | 
|---|
 | 147 |   RandomNumberDistribution_ParametersCommandLineQuery(std::string title, std::string _description = "");
 | 
|---|
 | 148 |   virtual ~RandomNumberDistribution_ParametersCommandLineQuery();
 | 
|---|
 | 149 |   virtual bool handle();
 | 
|---|
 | 150 | };
 | 
|---|
 | 151 | 
 | 
|---|
| [87db7a] | 152 | #endif /* COMMANDLINEQUERY_HPP_ */
 | 
|---|