- Timestamp:
- Sep 30, 2016, 3:51:37 PM (9 years ago)
- Branches:
- Fix_ParseParticles_split_forward_backward_Actions
- Parents:
- 4d1aef
- git-author:
- Frederik Heber <heber@…> (09/27/16 14:37:40)
- git-committer:
- Frederik Heber <heber@…> (09/30/16 15:51:37)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/WorldAction/StepBackwardWorldTimeAction.def
r4d1aef r0efd21 1 1 /* 2 * Step WorldTimeAction.def2 * StepBackwardWorldTimeAction.def 3 3 * 4 4 * Created on: Sep 27, 2016 … … 8 8 // all includes and backward declarations necessary for non-integral types below 9 9 10 11 #include "Parameters/Validators/ DummyValidator.hpp"10 #include <limits> 11 #include "Parameters/Validators/RangeValidator.hpp" 12 12 13 13 // i.e. there is an integer with variable name Z that can be found in 14 14 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 15 15 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 16 #define paramtypes ( int)17 #define paramtokens ("step- world-time")18 #define paramdescriptions ("how many steps to take forward orbackward")19 # undef paramdefaults20 #define paramreferences (steps )16 #define paramtypes (unsigned int) 17 #define paramtokens ("step-backward") 18 #define paramdescriptions ("how many steps to take backward") 19 #define paramdefaults (PARAM_DEFAULT(1)) 20 #define paramreferences (steps_backward) 21 21 #define paramvalids \ 22 ( DummyValidator< int >())22 (RangeValidator<unsigned int>(1, std::numeric_limits<unsigned int>::max())) 23 23 24 24 #define statetypes (unsigned int) … … 28 28 #define CATEGORY World 29 29 #define MENUNAME "world" 30 #define MENUPOSITION 1 231 #define ACTIONNAME Step WorldTime32 #define TOKEN "step- world-time"30 #define MENUPOSITION 13 31 #define ACTIONNAME StepBackwardWorldTime 32 #define TOKEN "step-backward" 33 33 34 34 35 35 // finally the information stored in the ActionTrait specialization 36 #define DESCRIPTION "step forward orbackward a certain amount of steps in world time"36 #define DESCRIPTION "step backward a certain amount of steps in world time" 37 37 #undef SHORTFORM
Note:
See TracChangeset
for help on using the changeset viewer.
