/* * GeometryInputToVectorAction.cpp * * Created on: Mar 31, 2017 * Author: heber */ // all includes and forward declarations necessary for non-integral types below #include "Parameters/Validators/Specific/PresentGeometryNameValidator.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 ("remove-geometry") #define paramdescriptions ("name for geometry object to remove") #define paramreferences (name) #define paramdefaults (NOPARAM_DEFAULT()) #define paramvalids \ (GeometryNameValidator()) #define statetypes (Vector) #define statereferences (vec) // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY Geometry #define MENUNAME "geometry" #define MENUPOSITION 5 #define ACTIONNAME Remove #define TOKEN "remove-geometry" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "removes a stored geometry object" #undef SHORTFORM