/*
 * GeometryInputToVectorAction.cpp
 *
 *  Created on: Mar 28, 2017
 *      Author: heber
 */

// all includes and forward declarations necessary for non-integral types below
#include "Parameters/Validators/Specific/GeometryNameValidator.hpp"
#include "Parameters/Validators/DummyValidator.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)(Vector)
#define paramtokens ("input-to-vector")("coordinates")
#define paramdescriptions ("name for geometry object for reference as vector")("vector coordinates") 
#define paramreferences (name)(vec)
#define paramdefaults (NOPARAM_DEFAULT())(NOPARAM_DEFAULT())
#define paramvalids \
(GeometryNameValidator()) \
(DummyValidator<Vector>())

#undef statetypes
#undef statereferences

// some defines for all the names, you may use ACTION, STATE and PARAMS
#define CATEGORY Geometry
#define MENUNAME "geometry"
#define MENUPOSITION 1
#define ACTIONNAME InputToVector
#define TOKEN "input-to-vector"

// finally the information stored in the ActionTrait specialization
#define DESCRIPTION "stores the given vector as a named geometry object"
#undef SHORTFORM
