/* * SetTremoloAtomdataAction.def * * Created on: Feb 9, 2011 * Author: heber */ // all includes and forward declarations necessary for non-integral types below #include #include "Parameters/Validators/DummyValidator.hpp" #include "Parameters/Validators/Specific/AtomDataValidator.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)(bool) #define paramtokens ("set-tremolo-atomdata")("reset") #define paramdescriptions ("properties to set, space-separated")("whether to append (false) or overwrite (true) with given atomdata") #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(true)) #define paramreferences (atomdata_string)(atomdata_reset) #define paramvalids \ (AtomDataValidator()) \ (DummyValidator()) #define statetypes (std::string) #define statereferences (old_atomdata) // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY Parser #define MENUNAME "parser" #define MENUPOSITION 12 #define ACTIONNAME SetTremoloAtomdata #define TOKEN "set-tremolo-atomdata" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "sets the properties per atom line to write to tremolo data file" #undef SHORTFORM