[f5a86a] | 1 | /*
|
---|
| 2 | * TextDialog.hpp
|
---|
| 3 | *
|
---|
| 4 | * Created on: Jan 5, 2010
|
---|
| 5 | * Author: crueger
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #ifndef TEXTDIALOG_HPP_
|
---|
| 9 | #define TEXTDIALOG_HPP_
|
---|
| 10 |
|
---|
[56f73b] | 11 | // include config.h
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
| 13 | #include <config.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 |
|
---|
[45f5d6] | 17 | #include <string>
|
---|
| 18 |
|
---|
[5079a0] | 19 | #include "Dialog.hpp"
|
---|
[f5a86a] | 20 |
|
---|
[97ebf8] | 21 | class atom;
|
---|
| 22 | class element;
|
---|
| 23 | class molecule;
|
---|
| 24 | class Vector;
|
---|
| 25 |
|
---|
[f5a86a] | 26 | class TextDialog : public Dialog
|
---|
| 27 | {
|
---|
| 28 | public:
|
---|
| 29 | TextDialog();
|
---|
| 30 | virtual ~TextDialog();
|
---|
| 31 |
|
---|
[86466e] | 32 | virtual void queryEmpty(const char *, std::string = "");
|
---|
[75dc28] | 33 | virtual void queryBoolean(const char *, std::string = "");
|
---|
| 34 | virtual void queryInt(const char *, std::string = "");
|
---|
[7cd6e7] | 35 | virtual void queryInts(const char *, std::string = "");
|
---|
[838cd0] | 36 | virtual void queryUnsignedInt(const char *, std::string = "");
|
---|
[12948c] | 37 | virtual void queryUnsignedInts(const char *, std::string = "");
|
---|
[75dc28] | 38 | virtual void queryString(const char*, std::string = "");
|
---|
| 39 | virtual void queryStrings(const char*, std::string = "");
|
---|
| 40 | virtual void queryDouble(const char*, std::string = "");
|
---|
[7cd6e7] | 41 | virtual void queryDoubles(const char*, std::string = "");
|
---|
[75dc28] | 42 | virtual void queryAtom(const char*,std::string = "");
|
---|
[7cd6e7] | 43 | virtual void queryAtoms(const char*,std::string = "");
|
---|
[75dc28] | 44 | virtual void queryMolecule(const char*,std::string = "");
|
---|
[7cd6e7] | 45 | virtual void queryMolecules(const char*,std::string = "");
|
---|
[75dc28] | 46 | virtual void queryVector(const char*,bool, std::string = "");
|
---|
[7cd6e7] | 47 | virtual void queryVectors(const char*,bool, std::string = "");
|
---|
[75dc28] | 48 | virtual void queryBox(const char*, std::string = "");
|
---|
| 49 | virtual void queryElement(const char*, std::string = "");
|
---|
[7cd6e7] | 50 | virtual void queryElements(const char*, std::string = "");
|
---|
[6f5dfe] | 51 | virtual void queryFile(const char*, std::string = "");
|
---|
[0275ad] | 52 | virtual void queryRandomNumberDistribution_Parameters(const char*, std::string = "");
|
---|
[45f5d6] | 53 |
|
---|
| 54 | protected:
|
---|
| 55 | // specialized stuff for text queries
|
---|
[738ae1] | 56 | // all placed into Query/TextQuery.hpp
|
---|
| 57 | // !please adhere to alphabetical ordering!
|
---|
| 58 | class AtomTextQuery;
|
---|
| 59 | class AtomsTextQuery;
|
---|
| 60 | class BooleanTextQuery;
|
---|
| 61 | class BoxTextQuery;
|
---|
| 62 | class DoubleTextQuery;
|
---|
| 63 | class DoublesTextQuery;
|
---|
| 64 | class ElementTextQuery;
|
---|
| 65 | class ElementsTextQuery;
|
---|
| 66 | class EmptyTextQuery;
|
---|
| 67 | class FileTextQuery;
|
---|
| 68 | class IntTextQuery;
|
---|
| 69 | class IntsTextQuery;
|
---|
| 70 | class MoleculeTextQuery;
|
---|
| 71 | class MoleculesTextQuery;
|
---|
| 72 | class StringTextQuery;
|
---|
| 73 | class StringsTextQuery;
|
---|
[838cd0] | 74 | class UnsignedIntTextQuery;
|
---|
[12948c] | 75 | class UnsignedIntsTextQuery;
|
---|
[738ae1] | 76 | class VectorTextQuery;
|
---|
| 77 | class VectorsTextQuery;
|
---|
[0275ad] | 78 | class RandomNumberDistribution_ParametersTextQuery;
|
---|
[f5a86a] | 79 | };
|
---|
| 80 |
|
---|
| 81 | #endif /* TEXTDIALOG_HPP_ */
|
---|