cauldron  0.0.0
 All Classes Namespaces Files Functions Variables Typedefs
Public Member Functions | List of all members
cauldron::Integers< Value > Class Template Reference

#include <integers.h>

Inheritance diagram for cauldron::Integers< Value >:
Inheritance graph
[legend]
Collaboration diagram for cauldron::Integers< Value >:
Collaboration graph
[legend]

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
 

Detailed Description

template<typename Value>
class cauldron::Integers< Value >

Strategy which generates pseudo-random integer values.

Template Parameters
Valuetype of values generated by strategy.

Constructor & Destructor Documentation

template<typename Value >
cauldron::Integers< Value >::Integers ( Value  min_value = std::numeric_limits<Value>::min(),
Value  max_value = std::numeric_limits<Value>::max() 
)
inlineexplicit
Parameters
min_valueminimum possible integer value.
max_valuemaximum possible integer value.

Member Function Documentation

template<typename Value >
Value cauldron::Integers< Value >::operator() ( ) const
inlineoverridevirtual

Generates pseudo-random integer value.

Implements cauldron::Strategy< Value >.


The documentation for this class was generated from the following file: