- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/RandomNumbersAction/SetRandomNumbersDistributionAction.def
r043598 r6ba9ba 11 11 #include "Parameters/Validators/Specific/RandomNumberValidators.hpp" 12 12 #include "Parameters/Validators/Specific/KeyValueValidator.hpp" 13 #include "Parameters/Specifics/KeyValuePair.hpp"14 13 15 14 // i.e. there is an integer with variable name Z that can be found in 16 15 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 17 16 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 18 #define paramtypes (std::string)( KeyValuePair)17 #define paramtypes (std::string)(std::string) 19 18 #define paramtokens ("set-random-number-distribution")("random-number-distribution-parameters") 20 19 #define paramdescriptions ("name of the distribution from boost::random")("parameter set for requested distribution") 21 #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT( KeyValuePair("p=-1")))20 #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(std::string("p=-1"))) 22 21 #define paramreferences (distribution_type)(parameters) 23 22 #define paramvalids \
Note:
See TracChangeset
for help on using the changeset viewer.