Ignore:
Timestamp:
Jul 18, 2012, 2:02:13 PM (13 years ago)
Author:
Michael Ankele <ankele@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
b3a54d
Parents:
30cd0d
git-author:
Michael Ankele <ankele@…> (07/04/12 13:49:18)
git-committer:
Michael Ankele <ankele@…> (07/18/12 14:02:13)
Message:

VectorQuery: removed obsolete _check parameter

Location:
src/UIElements/Qt4/Query
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Qt4/Query/AtomQtQuery.cpp

    r30cd0d r9d5531  
    3030#include "World.hpp"
    3131
    32 QtDialog::AtomQtQuery::AtomQtQuery(Parameter<const atom *> &param, std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
    33     Dialog::AtomQuery(param, _title),
     32QtDialog::AtomQtQuery::AtomQtQuery(Parameter<const atom *> &_param, std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
     33    Dialog::AtomQuery(_param, _title),
    3434    parent(_parent)
    3535{
     
    4646  thisLayout->addWidget(inputBox);
    4747
    48   pipe = new AtomQtQueryPipe(tmp,_dialog, inputBox);
     48  pipe = new AtomQtQueryPipe(temp,_dialog, inputBox);
    4949  pipe->update(inputBox->currentIndex());
    5050  connect(inputBox,SIGNAL(currentIndexChanged(int)),pipe,SLOT(update(int)));
     
    5757
    5858bool QtDialog::AtomQtQuery::handle() {
    59   return true;
     59  if (param.isValid(temp)){
     60    param.set(temp);
     61    return true;
     62  }
     63  return false;
    6064}
    6165
  • src/UIElements/Qt4/Query/AtomsQtQuery.cpp

    r30cd0d r9d5531  
    3333
    3434
    35 QtDialog::AtomsQtQuery::AtomsQtQuery(Parameter<std::vector<const atom *> > &param, std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
    36     Dialog::AtomsQuery(param, _title),
     35QtDialog::AtomsQtQuery::AtomsQtQuery(Parameter<std::vector<const atom *> > &_param, std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
     36    Dialog::AtomsQuery(_param, _title),
    3737    parent(_parent)
    3838{
     
    6767  thisHLayout->addLayout(thisV2Layout);
    6868
    69   pipe = new AtomsQtQueryPipe(tmp,_dialog,inputList);
     69  pipe = new AtomsQtQueryPipe(temp,_dialog,inputList);
    7070  connect(inputList,SIGNAL(itemSelectionChanged()),pipe,SLOT(IntegerSelected()));
    7171  connect(AddButton,SIGNAL(Clicked()),pipe,SLOT(add()));
     
    7979
    8080bool QtDialog::AtomsQtQuery::handle() {
    81   return true;
     81  if (param.isValid(temp)){
     82    param.set(temp);
     83    return true;
     84  }
     85  return false;
    8286}
    8387
  • src/UIElements/Qt4/Query/BooleanQtQuery.cpp

    r30cd0d r9d5531  
    2828
    2929
    30 QtDialog::BooleanQtQuery::BooleanQtQuery(Parameter<bool> &param, std::string _title, QBoxLayout *_parent, QtDialog *_dialog) :
    31     Dialog::BooleanQuery(param, _title),
     30QtDialog::BooleanQtQuery::BooleanQtQuery(Parameter<bool> &_param, std::string _title, QBoxLayout *_parent, QtDialog *_dialog) :
     31    Dialog::BooleanQuery(_param, _title),
    3232    parent(_parent)
    3333{
     
    4343  thisLayout->addWidget(booleanCheckBox);
    4444
    45   pipe = new BooleanQtQueryPipe(tmp,_dialog,booleanCheckBox);
     45  pipe = new BooleanQtQueryPipe(temp,_dialog,booleanCheckBox);
    4646  connect(booleanCheckBox, SIGNAL(stateChanged(int)), pipe, SLOT(update(int)));
    4747}
     
    5353
    5454bool QtDialog::BooleanQtQuery::handle(){
    55   return true;
     55  if (param.isValid(temp)){
     56    param.set(temp);
     57    return true;
     58  }
     59  return false;
    5660}
    5761
  • src/UIElements/Qt4/Query/DoubleQtQuery.cpp

    r30cd0d r9d5531  
    2828
    2929
    30 QtDialog::DoubleQtQuery::DoubleQtQuery(Parameter<double> &param, std::string title,QBoxLayout *_parent,QtDialog *_dialog) :
    31     Dialog::DoubleQuery(param, title),
     30QtDialog::DoubleQtQuery::DoubleQtQuery(Parameter<double> &_param, std::string title,QBoxLayout *_parent,QtDialog *_dialog) :
     31    Dialog::DoubleQuery(_param, title),
    3232    parent(_parent)
    3333{
     
    4444  thisLayout->addWidget(inputBox);
    4545
    46   pipe = new DoubleQtQueryPipe(tmp,_dialog);
     46  pipe = new DoubleQtQueryPipe(temp,_dialog);
    4747  pipe->update(inputBox->value());
    4848  connect(inputBox,SIGNAL(valueChanged(double)),pipe,SLOT(update(double)));
     
    5555
    5656bool QtDialog::DoubleQtQuery::handle() {
    57   return true;
     57  if (param.isValid(temp)){
     58    param.set(temp);
     59    return true;
     60  }
     61  return false;
    5862}
    5963
  • src/UIElements/Qt4/Query/DoublesQtQuery.cpp

    r30cd0d r9d5531  
    6060  thisHLayout->addLayout(thisV2Layout);
    6161
    62   pipe = new QtQueryListPipe<double>(tmp,_dialog,inputBox,inputList,AddButton,RemoveButton);
     62  pipe = new QtQueryListPipe<double>(temp,_dialog,inputBox,inputList,AddButton,RemoveButton);
    6363  connect(inputBox,SIGNAL(textChanged(const QString&)),pipe,SLOT(IntegerEntered(const QString&)));
    6464  connect(inputList,SIGNAL(itemSelectionChanged()),pipe,SLOT(IntegerSelected()));
     
    7272
    7373bool QtDialog::DoublesQtQuery::handle() {
    74   return true;
     74  if (param.isValid(temp)){
     75    param.set(temp);
     76    return true;
     77  }
     78  return false;
    7579}
    7680
  • src/UIElements/Qt4/Query/ElementQtQuery.cpp

    r30cd0d r9d5531  
    5151  thisLayout->addWidget(inputBox);
    5252
    53   pipe = new ElementQtQueryPipe(tmp,_dialog,inputBox);
     53  pipe = new ElementQtQueryPipe(temp,_dialog,inputBox);
    5454  pipe->update(inputBox->currentIndex());
    5555  connect(inputBox,SIGNAL(currentIndexChanged(int)),pipe,SLOT(update(int)));
     
    6262
    6363bool QtDialog::ElementQtQuery::handle(){
    64   return true;
     64  if (param.isValid(temp)){
     65    param.set(temp);
     66    return true;
     67  }
     68  return false;
    6569}
    6670
  • src/UIElements/Qt4/Query/ElementsQtQuery.cpp

    r30cd0d r9d5531  
    5252  thisLayout->addWidget(inputBox);
    5353
    54   pipe = new ElementsQtQueryPipe(tmp,_dialog,inputBox);
     54  pipe = new ElementsQtQueryPipe(temp,_dialog,inputBox);
    5555  pipe->update(inputBox->currentIndex());
    5656  connect(inputBox,SIGNAL(currentIndexChanged(int)),pipe,SLOT(update(int)));
     
    6363
    6464bool QtDialog::ElementsQtQuery::handle(){
    65   return true;
     65  if (param.isValid(temp)){
     66    param.set(temp);
     67    return true;
     68  }
     69  return false;
    6670}
    6771
  • src/UIElements/Qt4/Query/FileQtQuery.cpp

    r30cd0d r9d5531  
    4343  filedialogButton = new QPushButton("&Choose", _dialog);
    4444
    45   pipe = new FileQtQueryPipe(tmp,_dialog,filenameLineEdit,filedialogButton);
     45  pipe = new FileQtQueryPipe(temp,_dialog,filenameLineEdit,filedialogButton);
    4646
    4747  thisLayout = new QHBoxLayout();
     
    6060
    6161bool QtDialog::FileQtQuery::handle(){
    62   return true;
     62  if (param.isValid(temp)){
     63    param.set(temp);
     64    return true;
     65  }
     66  return false;
    6367}
    6468
  • src/UIElements/Qt4/Query/FilesQtQuery.cpp

    r30cd0d r9d5531  
    6262  thisHLayout->addLayout(thisV2Layout);
    6363
    64   pipe = new QtQueryListPipe<boost::filesystem::path>(tmp,_dialog,inputBox,inputList,AddButton,RemoveButton);
     64  pipe = new QtQueryListPipe<boost::filesystem::path>(temp,_dialog,inputBox,inputList,AddButton,RemoveButton);
    6565  connect(inputBox,SIGNAL(textChanged(const QString&)),pipe,SLOT(IntegerEntered(const QString&)));
    6666  connect(inputList,SIGNAL(itemSelectionChanged()),pipe,SLOT(IntegerSelected()));
     
    7575
    7676bool QtDialog::FilesQtQuery::handle(){
     77  if (param.isValid(temp)){
     78    param.set(temp);
     79    return true;
     80  }
    7781  return true;
    7882}
  • src/UIElements/Qt4/Query/IntQtQuery.cpp

    r30cd0d r9d5531  
    4242  thisLayout->addWidget(inputBox);
    4343
    44   pipe = new IntQtQueryPipe(tmp,_dialog);
     44  pipe = new IntQtQueryPipe(temp,_dialog);
    4545  pipe->update(inputBox->value());
    4646  connect(inputBox,SIGNAL(valueChanged(int)),pipe,SLOT(update(int)));
     
    5353
    5454bool QtDialog::IntQtQuery::handle() {
    55   return true;
     55  if (param.isValid(temp)){
     56    param.set(temp);
     57    return true;
     58  }
     59  return false;
    5660}
    5761
  • src/UIElements/Qt4/Query/IntsQtQuery.cpp

    r30cd0d r9d5531  
    6060  thisHLayout->addLayout(thisV2Layout);
    6161
    62   pipe = new QtQueryListPipe<int>(tmp,_dialog,inputBox,inputList,AddButton,RemoveButton);
     62  pipe = new QtQueryListPipe<int>(temp,_dialog,inputBox,inputList,AddButton,RemoveButton);
    6363  connect(inputBox,SIGNAL(textChanged(const QString&)),pipe,SLOT(IntegerEntered(const QString&)));
    6464  connect(inputList,SIGNAL(itemSelectionChanged()),pipe,SLOT(IntegerSelected()));
     
    7373
    7474bool QtDialog::IntsQtQuery::handle() {
    75   return true;
     75  if (param.isValid(temp)){
     76    param.set(temp);
     77    return true;
     78  }
     79  return false;
    7680}
    7781
  • src/UIElements/Qt4/Query/MoleculeQtQuery.cpp

    r30cd0d r9d5531  
    5151  thisLayout->addWidget(inputBox);
    5252
    53   pipe = new MoleculeQtQueryPipe(tmp,_dialog,inputBox);
     53  pipe = new MoleculeQtQueryPipe(temp,_dialog,inputBox);
    5454  pipe->update(inputBox->currentIndex());
    5555  connect(inputBox,SIGNAL(currentIndexChanged(int)),pipe,SLOT(update(int)));
     
    6464bool QtDialog::MoleculeQtQuery::handle()
    6565{
    66   return true;
     66  if (param.isValid(temp)){
     67    param.set(temp);
     68    return true;
     69  }
     70  return false;
    6771}
    6872
  • src/UIElements/Qt4/Query/MoleculesQtQuery.cpp

    r30cd0d r9d5531  
    5151  thisLayout->addWidget(inputBox);
    5252
    53   pipe = new MoleculesQtQueryPipe(tmp,_dialog,inputBox);
     53  pipe = new MoleculesQtQueryPipe(temp,_dialog,inputBox);
    5454  pipe->update(inputBox->currentIndex());
    5555  connect(inputBox,SIGNAL(currentIndexChanged(int)),pipe,SLOT(update(int)));
     
    6464bool QtDialog::MoleculesQtQuery::handle()
    6565{
    66   return true;
     66  if (param.isValid(temp)){
     67    param.set(temp);
     68    return true;
     69  }
     70  return false;
    6771}
    6872
  • src/UIElements/Qt4/Query/QtQuery.hpp

    r30cd0d r9d5531  
    199199class QtDialog::FilesQtQuery : public Dialog::FilesQuery {
    200200public:
    201   FilesQtQuery(Parameter<std::vector< boost::filesystem::path> > &param, std::string _title, QBoxLayout *_parent, QtDialog *_dialog);
     201  FilesQtQuery(Parameter<std::vector< boost::filesystem::path> > &, std::string _title, QBoxLayout *_parent, QtDialog *_dialog);
    202202  virtual ~FilesQtQuery();
    203203  virtual bool handle();
     
    335335class QtDialog::VectorQtQuery : public Dialog::VectorQuery {
    336336public:
    337   VectorQtQuery(Parameter<Vector> &, std::string title,bool _check,QBoxLayout *,QtDialog *);
     337  VectorQtQuery(Parameter<Vector> &, std::string title,QBoxLayout *,QtDialog *);
    338338  virtual ~VectorQtQuery();
    339339  virtual bool handle();
     
    354354class QtDialog::VectorsQtQuery : public Dialog::VectorsQuery {
    355355public:
    356   VectorsQtQuery(Parameter<std::vector<Vector> > &, std::string title,bool _check,QBoxLayout *,QtDialog *);
     356  VectorsQtQuery(Parameter<std::vector<Vector> > &, std::string title,QBoxLayout *,QtDialog *);
    357357  virtual ~VectorsQtQuery();
    358358  virtual bool handle();
  • src/UIElements/Qt4/Query/RandomNumberDistribution_ParametersQtQuery.cpp

    r30cd0d r9d5531  
    5050  okButton = new QPushButton(tr("Ok"));
    5151
    52   pipe = new RandomNumberDistribution_ParametersQtQueryPipe(tmp,_dialog, inputBox);
     52  pipe = new RandomNumberDistribution_ParametersQtQueryPipe(temp,_dialog, inputBox);
    5353  connect(okButton,SIGNAL(clicked()),pipe,SLOT(update()));
    5454}
     
    6060
    6161bool QtDialog::RandomNumberDistribution_ParametersQtQuery::handle() {
    62   return true;
     62  if (param.isValid(temp)){
     63    param.set(temp);
     64    return true;
     65  }
     66  return false;
    6367}
    6468
  • src/UIElements/Qt4/Query/RealSpaceMatrixQtQuery.cpp

    r30cd0d r9d5531  
    4444  inputTable->setVerticalHeaderLabels(CoordinateList);
    4545
    46   pipe = new RealSpaceMatrixQtQueryPipe(tmp,_dialog, inputTable);
     46  pipe = new RealSpaceMatrixQtQueryPipe(temp,_dialog, inputTable);
    4747
    4848  // fill the box with current matrix
     
    6868
    6969bool QtDialog::RealSpaceMatrixQtQuery::handle() {
    70   return true;
     70  if (param.isValid(temp)){
     71    param.set(temp);
     72    return true;
     73  }
     74  return false;
    7175}
    7276
  • src/UIElements/Qt4/Query/StringQtQuery.cpp

    r30cd0d r9d5531  
    4141  thisLayout->addWidget(inputBox);
    4242
    43   pipe = new StringQtQueryPipe(tmp,_dialog);
     43  pipe = new StringQtQueryPipe(temp,_dialog);
    4444  pipe->update(inputBox->text());
    4545  connect(inputBox,SIGNAL(textChanged(const QString&)),pipe,SLOT(update(const QString&)));
     
    5454bool QtDialog::StringQtQuery::handle()
    5555{
    56   return tmp.get() != "";
     56  //return tmp.get() != "";
     57  if (param.isValid(temp)){
     58    param.set(temp);
     59    return true;
     60  }
     61  return false;
    5762}
    5863
  • src/UIElements/Qt4/Query/StringsQtQuery.cpp

    r30cd0d r9d5531  
    6060  thisHLayout->addLayout(thisV2Layout);
    6161
    62   pipe = new StringsQtQueryPipe(tmp,_dialog,inputBox,inputList,AddButton,RemoveButton);
     62  pipe = new StringsQtQueryPipe(temp,_dialog,inputBox,inputList,AddButton,RemoveButton);
    6363  connect(inputBox,SIGNAL(textChanged(const QString&)),pipe,SLOT(elementEntered(const QString&)));
    6464  connect(inputList,SIGNAL(itemSelectionChanged()),pipe,SLOT(elementSelected()));
     
    8888
    8989  return temp!="";*/
    90   return true;
     90  if (param.isValid(temp)){
     91    param.set(temp);
     92    return true;
     93  }
     94  return false;
    9195}
    9296
  • src/UIElements/Qt4/Query/UnsignedIntQtQuery.cpp

    r30cd0d r9d5531  
    4242  thisLayout->addWidget(inputBox);
    4343
    44   pipe = new UnsignedIntQtQueryPipe(tmp,_dialog);
     44  pipe = new UnsignedIntQtQueryPipe(temp,_dialog);
    4545  pipe->update(inputBox->value());
    4646  connect(inputBox,SIGNAL(valueChanged(unsigned int)),pipe,SLOT(update(unsigned int)));
     
    5353
    5454bool QtDialog::UnsignedIntQtQuery::handle() {
    55   return true;
     55  if (param.isValid(temp)){
     56    param.set(temp);
     57    return true;
     58  }
     59  return false;
    5660}
    5761
  • src/UIElements/Qt4/Query/UnsignedIntsQtQuery.cpp

    r30cd0d r9d5531  
    6060  thisHLayout->addLayout(thisV2Layout);
    6161
    62   pipe = new QtQueryListPipe<unsigned int>(tmp,_dialog,inputBox,inputList,AddButton,RemoveButton);
     62  pipe = new QtQueryListPipe<unsigned int>(temp,_dialog,inputBox,inputList,AddButton,RemoveButton);
    6363  connect(inputBox,SIGNAL(textChanged(const QString&)),pipe,SLOT(IntegerEntered(const QString&)));
    6464  connect(inputList,SIGNAL(itemSelectionChanged()),pipe,SLOT(IntegerSelected()));
     
    7373
    7474bool QtDialog::UnsignedIntsQtQuery::handle() {
    75   return true;
     75  if (param.isValid(temp)){
     76    param.set(temp);
     77    return true;
     78  }
     79  return false;
    7680}
    7781
  • src/UIElements/Qt4/Query/VectorQtQuery.cpp

    r30cd0d r9d5531  
    2929
    3030
    31 QtDialog::VectorQtQuery::VectorQtQuery(Parameter<Vector> &param, std::string title, bool _check,QBoxLayout *_parent,QtDialog *_dialog) :
    32     Dialog::VectorQuery(param, title,_check),
     31QtDialog::VectorQtQuery::VectorQtQuery(Parameter<Vector> &param, std::string title, QBoxLayout *_parent,QtDialog *_dialog) :
     32    Dialog::VectorQuery(param, title),
    3333    parent(_parent)
    3434{
     
    6363  coordInputZ->setDecimals(3);
    6464  coordLayout->addWidget(coordInputZ);
    65   pipe = new VectorQtQueryPipe(tmp,_dialog,inputBox);
     65  pipe = new VectorQtQueryPipe(temp,_dialog,inputBox);
    6666  //pipe->update(coordInput->value());
    6767  connect(coordInputX,SIGNAL(valueChanged(double)),pipe,SLOT(updateX(double)));
     
    7575
    7676bool QtDialog::VectorQtQuery::handle() {
    77   return true;
     77  if (param.isValid(temp)){
     78    param.set(temp);
     79    return true;
     80  }
     81  return false;
    7882}
    7983
  • src/UIElements/Qt4/Query/VectorsQtQuery.cpp

    r30cd0d r9d5531  
    2929
    3030
    31 QtDialog::VectorsQtQuery::VectorsQtQuery(Parameter<std::vector<Vector> > &param, std::string title, bool _check,QBoxLayout *_parent,QtDialog *_dialog) :
    32     Dialog::VectorsQuery(param, title,_check),
     31QtDialog::VectorsQtQuery::VectorsQtQuery(Parameter<std::vector<Vector> > &param, std::string title, QBoxLayout *_parent,QtDialog *_dialog) :
     32    Dialog::VectorsQuery(param, title),
    3333    parent(_parent)
    3434{
     
    4747  coordInput->setDecimals(3);
    4848  coordLayout->addWidget(coordInput);
    49   pipe = new VectorsQtQueryPipe(tmp,_dialog,inputBox);
     49  pipe = new VectorsQtQueryPipe(temp,_dialog,inputBox);
    5050  //pipe->update(coordInput->value());
    5151  connect(coordInput,SIGNAL(valueChanged(double)),pipe,SLOT(update(double)));
     
    5757
    5858bool QtDialog::VectorsQtQuery::handle() {
    59   return true;
     59  if (param.isValid(temp)){
     60    param.set(temp);
     61    return true;
     62  }
     63  return false;
    6064}
    6165
Note: See TracChangeset for help on using the changeset viewer.