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