Ignore:
File:
1 edited

Legend:

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

    r6ba9ba r043598  
    1010#include "Parameters/Validators/Specific/RandomNumberValidators.hpp"
    1111#include "Parameters/Validators/Specific/KeyValueValidator.hpp"
     12#include "Parameters/Specifics/KeyValuePair.hpp"
    1213
    1314// i.e. there is an integer with variable name Z that can be found in
    1415// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1516// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    16 #define paramtypes (std::string)(std::string)
     17#define paramtypes (std::string)(KeyValuePair)
    1718#define paramtokens ("set-random-number-engine")("random-number-engine-parameters")
    1819#define paramdescriptions ("name of the pseudo-random engine from boost::random")("seed of the pseudo-random number sequence")
    19 #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(std::string("seed=-1")))
     20#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(KeyValuePair("seed=-1")))
    2021#define paramreferences (engine_type)(parameters)
    2122#define paramvalids \
Note: See TracChangeset for help on using the changeset viewer.