- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/RandomNumbersAction/SetRandomNumbersDistributionAction.def
r6ba9ba r043598 11 11 #include "Parameters/Validators/Specific/RandomNumberValidators.hpp" 12 12 #include "Parameters/Validators/Specific/KeyValueValidator.hpp" 13 #include "Parameters/Specifics/KeyValuePair.hpp" 13 14 14 15 // i.e. there is an integer with variable name Z that can be found in 15 16 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 16 17 // "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) 18 19 #define paramtokens ("set-random-number-distribution")("random-number-distribution-parameters") 19 20 #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"))) 21 22 #define paramreferences (distribution_type)(parameters) 22 23 #define paramvalids \
Note:
See TracChangeset
for help on using the changeset viewer.