Changeset 072f0e for src/Actions/WorldAction
- Timestamp:
- Aug 9, 2012, 12:51:10 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:
- 59ec04
- Parents:
- 05a05e
- git-author:
- Michael Ankele <ankele@…> (08/07/12 15:16:28)
- git-committer:
- Michael Ankele <ankele@…> (08/09/12 12:51:10)
- Location:
- src/Actions/WorldAction
- Files:
-
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/WorldAction/OutputAsAction.cpp
r05a05e r072f0e 7 7 8 8 /* 9 * OutputA ction.cpp9 * OutputAsAction.cpp 10 10 * 11 11 * Created on: May 8, 2010 … … 30 30 #include <boost/filesystem/fstream.hpp> 31 31 32 #include "Actions/WorldAction/OutputA ction.hpp"32 #include "Actions/WorldAction/OutputAsAction.hpp" 33 33 34 34 using namespace MoleCuilder; 35 35 36 36 // and construct the stuff 37 #include "OutputA ction.def"37 #include "OutputAsAction.def" 38 38 #include "Action_impl_pre.hpp" 39 39 /** =========== define the function ====================== */ 40 Action::state_ptr WorldOutputA ction::performCall() {40 Action::state_ptr WorldOutputAsAction::performCall() { 41 41 LOG(1, "Storing world to file " << params.filename.get() << "."); 42 42 … … 72 72 } 73 73 74 Action::state_ptr WorldOutputA ction::performUndo(Action::state_ptr _state) {74 Action::state_ptr WorldOutputAsAction::performUndo(Action::state_ptr _state) { 75 75 // ParserLoadXyzState *state = assert_cast<ParserLoadXyzState*>(_state.get()); 76 76 … … 82 82 } 83 83 84 Action::state_ptr WorldOutputA ction::performRedo(Action::state_ptr _state){84 Action::state_ptr WorldOutputAsAction::performRedo(Action::state_ptr _state){ 85 85 return Action::failure; 86 86 } 87 87 88 bool WorldOutputA ction::canUndo() {88 bool WorldOutputAsAction::canUndo() { 89 89 return false; 90 90 } 91 91 92 bool WorldOutputA ction::shouldUndo() {92 bool WorldOutputAsAction::shouldUndo() { 93 93 return false; 94 94 } -
src/Actions/WorldAction/OutputAsAction.def
r05a05e r072f0e 1 1 /* 2 * OutputA ction.def2 * OutputAsAction.def 3 3 * 4 4 * Created on: Aug 26, 2010 … … 17 17 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 18 18 #define paramtypes (boost::filesystem::path) 19 #define paramtokens ("output ")19 #define paramtokens ("output-as") 20 20 #define paramdescriptions ("filename to write to") 21 21 #undef paramdefaults … … 31 31 #define MENUNAME "world" 32 32 #define MENUPOSITION 7 33 #define ACTIONNAME Output 34 #define TOKEN "output "33 #define ACTIONNAME OutputAs 34 #define TOKEN "output-as" 35 35 36 36 -
src/Actions/WorldAction/OutputAsAction.hpp
r05a05e r072f0e 1 1 /* 2 * OutputA ction.hpp2 * OutputAsAction.hpp 3 3 * 4 4 * Created on: May 8, 2010 … … 6 6 */ 7 7 8 #ifndef OUTPUTA CTION_HPP_9 #define OUTPUTA CTION_HPP_8 #ifndef OUTPUTASACTION_HPP_ 9 #define OUTPUTASACTION_HPP_ 10 10 11 11 // include config.h … … 17 17 #include "Actions/Action.hpp" 18 18 19 #include "OutputA ction.def"19 #include "OutputAsAction.def" 20 20 #include "Action_impl_header.hpp" 21 21 22 #endif /* OUTPUTA CTION_HPP_ */22 #endif /* OUTPUTASACTION_HPP_ */
Note:
See TracChangeset
for help on using the changeset viewer.