- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/BondAction/BondAddAction.def
rf63e41 r88afc9 8 8 // all includes and forward declarations necessary for non-integral types below 9 9 #include "types.hpp" 10 #include <vector> 11 #include <utility> 12 13 typedef std::vector<std::pair<atomId_t,atomId_t> > bondPairIds_t; 10 14 11 15 // i.e. there is an integer with variable name Z that can be found in … … 20 24 #undef paramvalids 21 25 22 #define statetypes ( atomId_t)(atomId_t)23 #define statereferences ( firstId)(secondId)26 #define statetypes (bondPairIds_t) 27 #define statereferences (bondPairIds) 24 28 25 29 // some defines for all the names, you may use ACTION, STATE and PARAMS … … 28 32 #define MENUPOSITION 1 29 33 #define ACTIONNAME Add 30 #define TOKEN "add-bond "34 #define TOKEN "add-bonds" 31 35 32 36 // finally the information stored in the ActionTrait specialization 33 #define DESCRIPTION "add bond in between twoselected atoms"37 #define DESCRIPTION "add bonds in between any number of selected atoms" 34 38 #undef SHORTFORM
Note:
See TracChangeset
for help on using the changeset viewer.