/* * BondRemoveAction.def * * Created on: Nov 14, 2012 * Author: heber */ // all includes and forward declarations necessary for non-integral types below #include "types.hpp" #include #include typedef std::vector > bondPairIds_t; // i.e. there is an integer with variable name Z that can be found in // ValueStorage by the token "Z" -> first column: int, Z, "Z" // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value //#define paramtypes (const element *)(BoxVector) TODO: use a validator #undef paramtypes #undef paramtokens #undef paramdescriptions #undef paramreferences #undef paramdefaults #undef paramvalids #define statetypes (bondPairIds_t) #define statereferences (bondPairIds) // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY Bond #define MENUNAME "bond" #define MENUPOSITION 2 #define ACTIONNAME Remove #define TOKEN "remove-bonds" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "remove all bonds present between selected atoms" #undef SHORTFORM