#include <integers.h>
Public Member Functions | |
Integers (Value min_value=std::numeric_limits< Value >::min(), Value max_value=std::numeric_limits< Value >::max()) | |
Value | operator() () const override |
Public Member Functions inherited from cauldron::CloneHelper< Value, Integers< Value > > | |
std::unique_ptr< Strategy < Value > > | clone () const override |
Public Member Functions inherited from cauldron::Strategy< Value > | |
virtual Union< Value > | operator|| (const Strategy< Value > &strategy) const |
virtual Union< Value > | operator|| (const Union< Value > &strategy) const |
virtual Filtered< Value > | filter (const Requirement< Value > &requirement) const |
virtual Mapped< Value > | map (const Converter< Value > &converter) const |
Strategy which generates pseudo-random integer values.
Value | type of values generated by strategy. |
|
inlineexplicit |
min_value | minimum possible integer value. |
max_value | maximum possible integer value. |
|
inlineoverridevirtual |
Generates pseudo-random integer value.
Implements cauldron::Strategy< Value >.