Changeset 992bd5
- Timestamp:
- May 18, 2012, 3:24:37 PM (13 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:
- 85d89b
- Parents:
- c513b7
- git-author:
- Michael Ankele <ankele@…> (04/10/12 12:53:06)
- git-committer:
- Michael Ankele <ankele@…> (05/18/12 15:24:37)
- Location:
- src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/Action.hpp
rc513b7 r992bd5 185 185 186 186 /** 187 * This method is called by the Histor , when a redo is performed. It is187 * This method is called by the History, when a redo is performed. It is 188 188 * provided with the corresponding state produced by the undo method and 189 189 * needs to produce a State that can then be used for another undo. … … 192 192 193 193 /** 194 * This special state can be used to indicate that the Action was successful l194 * This special state can be used to indicate that the Action was successful 195 195 * without providing a special state. Use this if your Action does not need 196 * a special lized state.196 * a specialized state. 197 197 */ 198 198 static state_ptr success; … … 200 200 /** 201 201 * This special state can be returned, to indicate that the action could not do it's 202 * work, was ab borted by the user etc. If you return this state make sure to transactionize202 * work, was aborted by the user etc. If you return this state make sure to transactionize 203 203 * your Actions and unroll the complete transaction before this is returned. 204 204 */ … … 268 268 * It is implementing a memento pattern. The base class is completely empty, 269 269 * since no general state internals can be given. The Action performing 270 * the Undo should downcast to the ap ropriate type.270 * the Undo should downcast to the appropriate type. 271 271 */ 272 272 class ActionState{ -
src/Parameters/ContinuousValue_impl.hpp
rc513b7 r992bd5 175 175 } 176 176 177 /** Getter fo tthe set value.177 /** Getter for the set value. 178 178 * 179 179 * We check whether it has been set, otherwise we throw an Assert::AssertionFailure. -
src/UIElements/Menu/Menu.cpp
rc513b7 r992bd5 106 106 void Menu::populateActions() 107 107 { 108 // go through all actions and add those belon ing to this menu108 // go through all actions and add those belonging to this menu 109 109 ActionRegistry &AR = ActionRegistry::getInstance(); 110 110 for (ActionRegistry::const_iterator iter = AR.getBeginIter(); -
src/World.cpp
rc513b7 r992bd5 505 505 const molecule *mol = _mol; 506 506 void (World::*func)(const atom*) = &World::unselectAtom; // needed for type resolution of overloaded function 507 for_each(mol->begin(),mol->end(),bind1st(mem_fun(func),this)); // func is uns select... see above507 for_each(mol->begin(),mol->end(),bind1st(mem_fun(func),this)); // func is unselect... see above 508 508 } 509 509 -
src/World.hpp
rc513b7 r992bd5 290 290 * Unless you are calling this method from inside an atom don't fiddle with the third parameter. 291 291 * 292 * Return value indicates w ether the change could be done or not.292 * Return value indicates whether the change could be done or not. 293 293 */ 294 294 bool changeAtomId(atomId_t oldId, atomId_t newId, atom* target=0); … … 296 296 /** 297 297 * used when changing an molecule Id. 298 * Unless you are calling this method from inside an mole ucle don't fiddle with the third parameter.299 * 300 * Return value indicates w ether the change could be done or not.298 * Unless you are calling this method from inside an molecule don't fiddle with the third parameter. 299 * 300 * Return value indicates whether the change could be done or not. 301 301 */ 302 302 bool changeMoleculeId(moleculeId_t oldId, moleculeId_t newId, molecule* target=0);
Note:
See TracChangeset
for help on using the changeset viewer.