Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/ParserAction/SetTremoloAtomdataAction.def

    r81c980b rca331c  
    99#include <boost/filesystem.hpp>
    1010
     11#include "Parameters/Validators/DummyValidator.hpp"
     12#include "Parameters/Validators/Specific/AtomDataValidator.hpp"
     13
    1114// i.e. there is an integer with variable name Z that can be found in
    1215// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
    14 #define paramtypes (std::string)
    15 #define paramtokens ("set-tremolo-atomdata")
    16 #define paramdescriptions ("properties to set, space-separated")
    17 #undef paramdefaults
    18 #define paramreferences (atomdata_string)
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
     17#define paramtypes (std::string)(bool)
     18#define paramtokens ("set-tremolo-atomdata")("reset")
     19#define paramdescriptions ("properties to set, space-separated")("whether to append (false) or overwrite (true) with given atomdata")
     20#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(true))
     21#define paramreferences (atomdata_string)(atomdata_reset)
     22#define paramvalids \
     23(AtomDataValidator()) \
     24(DummyValidator<bool>())
    1925
    20 #undef statetypes
    21 #undef statereferences
     26#define statetypes (std::string)
     27#define statereferences (old_atomdata)
    2228
    2329// some defines for all the names, you may use ACTION, STATE and PARAMS
Note: See TracChangeset for help on using the changeset viewer.