Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/RandomNumbersAction/SetRandomNumbersDistributionAction.def

    r6ba9ba r043598  
    1111#include "Parameters/Validators/Specific/RandomNumberValidators.hpp"
    1212#include "Parameters/Validators/Specific/KeyValueValidator.hpp"
     13#include "Parameters/Specifics/KeyValuePair.hpp"
    1314
    1415// i.e. there is an integer with variable name Z that can be found in
    1516// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1617// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    17 #define paramtypes (std::string)(std::string)
     18#define paramtypes (std::string)(KeyValuePair)
    1819#define paramtokens ("set-random-number-distribution")("random-number-distribution-parameters")
    1920#define paramdescriptions ("name of the distribution from boost::random")("parameter set for requested distribution")
    20 #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(std::string("p=-1")))
     21#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(KeyValuePair("p=-1")))
    2122#define paramreferences (distribution_type)(parameters)
    2223#define paramvalids \
Note: See TracChangeset for help on using the changeset viewer.