Changeset f130d4 for src/UIElements/CommandLineUI/CommandLineDialog.cpp
- Timestamp:
- Oct 5, 2013, 9:31:54 AM (11 years ago)
- 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:
- 25ce49
- Parents:
- 07414d7
- git-author:
- Frederik Heber <heber@…> (09/06/13 15:36:56)
- git-committer:
- Frederik Heber <heber@…> (10/05/13 09:31:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/CommandLineUI/CommandLineDialog.cpp
r07414d7 rf130d4 51 51 52 52 53 void CommandLineDialog::queryEmpty(const char* title, std::string _description){54 registerQuery(new EmptyCommandLineQuery(title, _description));53 void CommandLineDialog::queryEmpty(const std::string title, const std::string description){ 54 registerQuery(new EmptyCommandLineQuery(title, description)); 55 55 } 56 56 57 void CommandLineDialog::queryInt(Parameter<int> ¶m, const char* title, std::string _description){58 registerQuery(new IntCommandLineQuery(param, title, _description));57 void CommandLineDialog::queryInt(Parameter<int> ¶m, const std::string title, const std::string description){ 58 registerQuery(new IntCommandLineQuery(param, title, description)); 59 59 } 60 60 61 void CommandLineDialog::queryInts(Parameter<std::vector<int> > ¶m, const char* title, std::string _description){62 registerQuery(new IntsCommandLineQuery(param, title, _description));61 void CommandLineDialog::queryInts(Parameter<std::vector<int> > ¶m, const std::string title, const std::string description){ 62 registerQuery(new IntsCommandLineQuery(param, title, description)); 63 63 } 64 64 65 void CommandLineDialog::queryUnsignedInt(Parameter<unsigned int> ¶m, const char* title, std::string _description){66 registerQuery(new UnsignedIntCommandLineQuery(param, title, _description));65 void CommandLineDialog::queryUnsignedInt(Parameter<unsigned int> ¶m, const std::string title, const std::string description){ 66 registerQuery(new UnsignedIntCommandLineQuery(param, title, description)); 67 67 } 68 68 69 void CommandLineDialog::queryUnsignedInts(Parameter<std::vector<unsigned int> > ¶m, const char* title, std::string _description){70 registerQuery(new UnsignedIntsCommandLineQuery(param, title, _description));69 void CommandLineDialog::queryUnsignedInts(Parameter<std::vector<unsigned int> > ¶m, const std::string title, const std::string description){ 70 registerQuery(new UnsignedIntsCommandLineQuery(param, title, description)); 71 71 } 72 72 73 void CommandLineDialog::queryBoolean(Parameter<bool> ¶m, const char* title, std::string _description){74 registerQuery(new BooleanCommandLineQuery(param, title, _description));73 void CommandLineDialog::queryBoolean(Parameter<bool> ¶m, const std::string title, const std::string description){ 74 registerQuery(new BooleanCommandLineQuery(param, title, description)); 75 75 } 76 76 77 void CommandLineDialog::queryDouble(Parameter<double> ¶m, const char* title, std::string _description){78 registerQuery(new DoubleCommandLineQuery(param, title, _description));77 void CommandLineDialog::queryDouble(Parameter<double> ¶m, const std::string title, const std::string description){ 78 registerQuery(new DoubleCommandLineQuery(param, title, description)); 79 79 } 80 80 81 void CommandLineDialog::queryDoubles(Parameter<std::vector<double> > ¶m, const char* title, std::string _description){82 registerQuery(new DoublesCommandLineQuery(param, title, _description));81 void CommandLineDialog::queryDoubles(Parameter<std::vector<double> > ¶m, const std::string title, const std::string description){ 82 registerQuery(new DoublesCommandLineQuery(param, title, description)); 83 83 } 84 84 85 void CommandLineDialog::queryString(Parameter<std::string> ¶m, const char* title, std::string _description){86 registerQuery(new StringCommandLineQuery(param, title, _description));85 void CommandLineDialog::queryString(Parameter<std::string> ¶m, const std::string title, const std::string description){ 86 registerQuery(new StringCommandLineQuery(param, title, description)); 87 87 } 88 88 89 void CommandLineDialog::queryStrings(Parameter<std::vector<std::string> > ¶m, const char* title, std::string _description){90 registerQuery(new StringsCommandLineQuery(param, title, _description));89 void CommandLineDialog::queryStrings(Parameter<std::vector<std::string> > ¶m, const std::string title, const std::string description){ 90 registerQuery(new StringsCommandLineQuery(param, title, description)); 91 91 } 92 92 93 void CommandLineDialog::queryAtom(Parameter<const atom *> ¶m, const char* title, std::string _description) {94 registerQuery(new AtomCommandLineQuery(param, title, _description));93 void CommandLineDialog::queryAtom(Parameter<const atom *> ¶m, const std::string title, const std::string description) { 94 registerQuery(new AtomCommandLineQuery(param, title, description)); 95 95 } 96 96 97 void CommandLineDialog::queryAtoms(Parameter<std::vector<const atom *> > ¶m, const char* title, std::string _description) {98 registerQuery(new AtomsCommandLineQuery(param, title, _description));97 void CommandLineDialog::queryAtoms(Parameter<std::vector<const atom *> > ¶m, const std::string title, const std::string description) { 98 registerQuery(new AtomsCommandLineQuery(param, title, description)); 99 99 } 100 100 101 void CommandLineDialog::queryMolecule(Parameter<const molecule *> ¶m, const char* title, std::string _description) {102 registerQuery(new MoleculeCommandLineQuery(param, title, _description));101 void CommandLineDialog::queryMolecule(Parameter<const molecule *> ¶m, const std::string title, const std::string description) { 102 registerQuery(new MoleculeCommandLineQuery(param, title, description)); 103 103 } 104 104 105 void CommandLineDialog::queryMolecules(Parameter<std::vector<const molecule *> > ¶m, const char* title, std::string _description) {106 registerQuery(new MoleculesCommandLineQuery(param, title, _description));105 void CommandLineDialog::queryMolecules(Parameter<std::vector<const molecule *> > ¶m, const std::string title, const std::string description) { 106 registerQuery(new MoleculesCommandLineQuery(param, title, description)); 107 107 } 108 108 109 void CommandLineDialog::queryVector(Parameter<Vector> ¶m, const char* title, std::string _description) {110 registerQuery(new VectorCommandLineQuery(param, title, _description));109 void CommandLineDialog::queryVector(Parameter<Vector> ¶m, const std::string title, const std::string description) { 110 registerQuery(new VectorCommandLineQuery(param, title, description)); 111 111 } 112 112 113 void CommandLineDialog::queryVectors(Parameter<std::vector<Vector> > ¶m, const char* title, std::string _description) {114 registerQuery(new VectorsCommandLineQuery(param, title, _description));113 void CommandLineDialog::queryVectors(Parameter<std::vector<Vector> > ¶m, const std::string title, const std::string description) { 114 registerQuery(new VectorsCommandLineQuery(param, title, description)); 115 115 } 116 116 117 void CommandLineDialog::queryRealSpaceMatrix(Parameter<RealSpaceMatrix> ¶m, const char* title, std::string _description) {118 registerQuery(new RealSpaceMatrixCommandLineQuery(param, title, _description));117 void CommandLineDialog::queryRealSpaceMatrix(Parameter<RealSpaceMatrix> ¶m, const std::string title, const std::string description) { 118 registerQuery(new RealSpaceMatrixCommandLineQuery(param, title,description)); 119 119 } 120 120 121 void CommandLineDialog::queryElement(Parameter<const element *> ¶m, const char* title, std::string _description){122 registerQuery(new ElementCommandLineQuery(param, title, _description));121 void CommandLineDialog::queryElement(Parameter<const element *> ¶m, const std::string title, const std::string description){ 122 registerQuery(new ElementCommandLineQuery(param, title, description)); 123 123 } 124 124 125 void CommandLineDialog::queryElements(Parameter<std::vector<const element *> > ¶m, const char* title, std::string _description){126 registerQuery(new ElementsCommandLineQuery(param, title, _description));125 void CommandLineDialog::queryElements(Parameter<std::vector<const element *> > ¶m, const std::string title, const std::string description){ 126 registerQuery(new ElementsCommandLineQuery(param, title, description)); 127 127 } 128 128 129 void CommandLineDialog::queryFile(Parameter<boost::filesystem::path> ¶m, const char* title, std::string _description){130 registerQuery(new FileCommandLineQuery(param, title, _description));129 void CommandLineDialog::queryFile(Parameter<boost::filesystem::path> ¶m, const std::string title, const std::string description){ 130 registerQuery(new FileCommandLineQuery(param, title, description)); 131 131 } 132 132 133 void CommandLineDialog::queryFiles(Parameter<std::vector< boost::filesystem::path> > ¶m, const char* title, std::string _description){134 registerQuery(new FilesCommandLineQuery(param, title, _description));133 void CommandLineDialog::queryFiles(Parameter<std::vector< boost::filesystem::path> > ¶m, const std::string title, const std::string description){ 134 registerQuery(new FilesCommandLineQuery(param, title, description)); 135 135 } 136 136 137 void CommandLineDialog::queryRandomNumberDistribution_Parameters(Parameter<RandomNumberDistribution_Parameters> ¶m, const char* title, std::string _description){138 registerQuery(new RandomNumberDistribution_ParametersCommandLineQuery(param, title, _description));137 void CommandLineDialog::queryRandomNumberDistribution_Parameters(Parameter<RandomNumberDistribution_Parameters> ¶m, const std::string title, const std::string description){ 138 registerQuery(new RandomNumberDistribution_ParametersCommandLineQuery(param, title, description)); 139 139 } 140 140
Note:
See TracChangeset
for help on using the changeset viewer.