/*
 * CombineShapesAction.def
 *
 *  Created on: Oct 1, 2012
 *      Author: ankele
 */

// all includes and forward declarations necessary for non-integral types below
#include <boost/filesystem.hpp>

#include "Parameters/Validators/DummyValidator.hpp"
#include "Parameters/Validators/Specific/ShapeOpValidator.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 (std::string)(std::string)
#define paramtokens ("shape-name")("shape-op")
#define paramdescriptions ("name shape to create")("combining operation")
#define paramdefaults (PARAM_DEFAULT(std::string("")))(NOPARAM_DEFAULT)
#define paramreferences (shape_name)(shape_op)
#define paramvalids \
(DummyValidator<std::string>()) \
(ShapeOpValidator())

#define statetypes (std::string)
#define statereferences (old_name)


// some defines for all the names, you may use ACTION, STATE and PARAMS
#define CATEGORY Shape
#define MENUNAME "shape"
#define MENUPOSITION 3
#define ACTIONNAME CombineShapes
#define TOKEN "combine-shapes"


// finally the information stored in the ActionTrait specialization
#define DESCRIPTION "creates a new shape by combining one or two selected shapes"
#undef SHORTFORM
