Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/CommandLineUI/Query/CommandLineQuery.hpp

    r7d9416 r2c5765  
    2626class CommandLineDialog::IntCommandLineQuery : public Dialog::IntQuery {
    2727public:
    28   IntCommandLineQuery(Parameter<int> &param, std::string title, std::string _description = "");
     28  IntCommandLineQuery(std::string title, std::string _description = "");
    2929  virtual ~IntCommandLineQuery();
    3030  virtual bool handle();
     
    3333class CommandLineDialog::IntsCommandLineQuery : public Dialog::IntsQuery {
    3434public:
    35   IntsCommandLineQuery(Parameter<std::vector<int> > &param, std::string title, std::string _description = "");
     35  IntsCommandLineQuery(std::string title, std::string _description = "");
    3636  virtual ~IntsCommandLineQuery();
    3737  virtual bool handle();
     
    4040class CommandLineDialog::UnsignedIntCommandLineQuery : public Dialog::UnsignedIntQuery {
    4141public:
    42   UnsignedIntCommandLineQuery(Parameter<unsigned int> &param, std::string title, std::string _description = "");
     42  UnsignedIntCommandLineQuery(std::string title, std::string _description = "");
    4343  virtual ~UnsignedIntCommandLineQuery();
    4444  virtual bool handle();
     
    4747class CommandLineDialog::UnsignedIntsCommandLineQuery : public Dialog::UnsignedIntsQuery {
    4848public:
    49   UnsignedIntsCommandLineQuery(Parameter<std::vector<unsigned int> > &param, std::string title, std::string _description = "");
     49  UnsignedIntsCommandLineQuery(std::string title, std::string _description = "");
    5050  virtual ~UnsignedIntsCommandLineQuery();
    5151  virtual bool handle();
     
    5454class CommandLineDialog::BooleanCommandLineQuery : public Dialog::BooleanQuery {
    5555public:
    56   BooleanCommandLineQuery(Parameter<bool> &param, std::string title, std::string _description = "");
     56  BooleanCommandLineQuery(std::string title, std::string _description = "");
    5757  virtual ~BooleanCommandLineQuery();
    5858  virtual bool handle();
     
    6161class CommandLineDialog::DoubleCommandLineQuery : public Dialog::DoubleQuery {
    6262public:
    63   DoubleCommandLineQuery(Parameter<double> &param, std::string title, std::string _description = "");
     63  DoubleCommandLineQuery(std::string title, std::string _description = "");
    6464  virtual ~DoubleCommandLineQuery();
    6565  virtual bool handle();
     
    6868class CommandLineDialog::DoublesCommandLineQuery : public Dialog::DoublesQuery {
    6969public:
    70   DoublesCommandLineQuery(Parameter<std::vector<double> > &param, std::string title, std::string _description = "");
     70  DoublesCommandLineQuery(std::string title, std::string _description = "");
    7171  virtual ~DoublesCommandLineQuery();
    7272  virtual bool handle();
     
    7575class CommandLineDialog::StringCommandLineQuery : public Dialog::StringQuery {
    7676public:
    77   StringCommandLineQuery(Parameter<std::string> &param, std::string title, std::string _description = "");
     77  StringCommandLineQuery(std::string title, std::string _description = "");
    7878  virtual ~StringCommandLineQuery();
    7979  virtual bool handle();
     
    8282class CommandLineDialog::StringsCommandLineQuery : public Dialog::StringsQuery {
    8383public:
    84   StringsCommandLineQuery(Parameter<std::vector<std::string> > &param, std::string title, std::string _description = "");
     84  StringsCommandLineQuery(std::string title, std::string _description = "");
    8585  virtual ~StringsCommandLineQuery();
    8686  virtual bool handle();
     
    8989class CommandLineDialog::AtomCommandLineQuery : public Dialog::AtomQuery {
    9090public:
    91   AtomCommandLineQuery(Parameter<const atom *> &param, std::string title, std::string _description = "");
     91  AtomCommandLineQuery(std::string title, std::string _description = "");
    9292  virtual ~AtomCommandLineQuery();
    9393  virtual bool handle();
     
    9696class CommandLineDialog::AtomsCommandLineQuery : public Dialog::AtomsQuery {
    9797public:
    98   AtomsCommandLineQuery(Parameter<std::vector<const atom *> > &param, std::string title, std::string _description = "");
     98  AtomsCommandLineQuery(std::string title, std::string _description = "");
    9999  virtual ~AtomsCommandLineQuery();
    100100  virtual bool handle();
     
    103103class CommandLineDialog::MoleculeCommandLineQuery : public Dialog::MoleculeQuery {
    104104public:
    105   MoleculeCommandLineQuery(Parameter<const molecule *> &param, std::string title, std::string _description = "");
     105  MoleculeCommandLineQuery(std::string title, std::string _description = "");
    106106  virtual ~MoleculeCommandLineQuery();
    107107  virtual bool handle();
     
    110110class CommandLineDialog::MoleculesCommandLineQuery : public Dialog::MoleculesQuery {
    111111public:
    112   MoleculesCommandLineQuery(Parameter<std::vector<const molecule *> > &param, std::string title, std::string _description = "");
     112  MoleculesCommandLineQuery(std::string title, std::string _description = "");
    113113  virtual ~MoleculesCommandLineQuery();
    114114  virtual bool handle();
     
    117117class CommandLineDialog::VectorCommandLineQuery : public Dialog::VectorQuery {
    118118public:
    119   VectorCommandLineQuery(Parameter<Vector> &param, std::string title,bool _check, std::string _description = "");
     119  VectorCommandLineQuery(std::string title,bool _check, std::string _description = "");
    120120  virtual ~VectorCommandLineQuery();
    121121  virtual bool handle();
     
    124124class CommandLineDialog::VectorsCommandLineQuery : public Dialog::VectorsQuery {
    125125public:
    126   VectorsCommandLineQuery(Parameter<std::vector<Vector> > &param, std::string title,bool _check, std::string _description = "");
     126  VectorsCommandLineQuery(std::string title,bool _check, std::string _description = "");
    127127  virtual ~VectorsCommandLineQuery();
    128128  virtual bool handle();
    129129};
    130130
    131 class CommandLineDialog::RealSpaceMatrixCommandLineQuery : public Dialog::RealSpaceMatrixQuery {
     131class CommandLineDialog::BoxCommandLineQuery : public Dialog::BoxQuery {
    132132public:
    133   RealSpaceMatrixCommandLineQuery(Parameter<RealSpaceMatrix> &param, std::string title, std::string _description = "");
    134   virtual ~RealSpaceMatrixCommandLineQuery();
     133  BoxCommandLineQuery(std::string title, std::string _description = "");
     134  virtual ~BoxCommandLineQuery();
    135135  virtual bool handle();
    136136};
     
    138138class CommandLineDialog::ElementCommandLineQuery : public Dialog::ElementQuery {
    139139public:
    140   ElementCommandLineQuery(Parameter<const element *> &param, std::string title, std::string _description = "");
     140  ElementCommandLineQuery(std::string title, std::string _description = "");
    141141  virtual ~ElementCommandLineQuery();
    142142  virtual bool handle();
     
    145145class CommandLineDialog::ElementsCommandLineQuery : public Dialog::ElementsQuery {
    146146public:
    147   ElementsCommandLineQuery(Parameter<std::vector<const element *> > &param, std::string title, std::string _description = "");
     147  ElementsCommandLineQuery(std::string title, std::string _description = "");
    148148  virtual ~ElementsCommandLineQuery();
    149149  virtual bool handle();
     
    152152class CommandLineDialog::FileCommandLineQuery : public Dialog::FileQuery {
    153153public:
    154   FileCommandLineQuery(Parameter<boost::filesystem::path> &param, std::string title, std::string _description = "");
     154  FileCommandLineQuery(std::string title, std::string _description = "");
    155155  virtual ~FileCommandLineQuery();
     156  virtual bool handle();
     157};
     158
     159class CommandLineDialog::FilesCommandLineQuery : public Dialog::FilesQuery {
     160public:
     161  FilesCommandLineQuery(std::string title, std::string _description = "");
     162  virtual ~FilesCommandLineQuery();
    156163  virtual bool handle();
    157164};
     
    159166class CommandLineDialog::RandomNumberDistribution_ParametersCommandLineQuery : public Dialog::RandomNumberDistribution_ParametersQuery {
    160167public:
    161   RandomNumberDistribution_ParametersCommandLineQuery(Parameter<RandomNumberDistribution_Parameters> &param, std::string title, std::string _description = "");
     168  RandomNumberDistribution_ParametersCommandLineQuery(std::string title, std::string _description = "");
    162169  virtual ~RandomNumberDistribution_ParametersCommandLineQuery();
    163170  virtual bool handle();
Note: See TracChangeset for help on using the changeset viewer.