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