/* * GeometryPositionToVectorAction.cpp * * Created on: Mar 27, 2017 * Author: heber */ // all includes and forward declarations necessary for non-integral types below #include "Parameters/Validators/Specific/GeometryNameValidator.hpp" // 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 #define paramtypes (std::string) #define paramtokens ("position-to-vector") #define paramdescriptions ("name for geometry object for reference as vector") #define paramreferences (name) #define paramdefaults (NOPARAM_DEFAULT()) #define paramvalids \ (GeometryNameValidator()) #define statetypes (Vector) #define statereferences (position) // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY Geometry #define MENUNAME "geometry" #define MENUPOSITION 1 #define ACTIONNAME PositionToVector #define TOKEN "position-to-vector" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "stores the position of the selected atom as a named geometry object" #undef SHORTFORM