#include <sets.h>
Public Member Functions | |
Sets (const SizesStrategy &sizes, const ElementsStrategy &elements) | |
Sets (const Sets< Element > &sets) | |
std::set< Element > | operator() () const override |
Public Member Functions inherited from cauldron::CloneHelper< std::set< Element >, Sets< Element > > | |
std::unique_ptr< Strategy < std::set< Element > > > | clone () const override |
Public Member Functions inherited from cauldron::Strategy< std::set< Element > > | |
virtual Union< std::set < Element > > | operator|| (const Strategy< std::set< Element > > &strategy) const |
virtual Union< std::set < Element > > | operator|| (const Union< std::set< Element > > &strategy) const |
virtual Filtered< std::set < Element > > | filter (const Requirement< std::set< Element > > &requirement) const |
virtual Mapped< std::set < Element > > | map (const Converter< std::set< Element > > &converter) const |
Strategy which generates std::set
instances with sizes and elements generated from corresponding strategies.
Element | type of sets elements generated by strategy. |
|
inline |
sizes | strategy to generate sets sizes from. |
elements | strategy to generate sets elements from. |
|
inline |
Default copy constructor doesn't fit since we're using std::unique_ptr
as class members which is not copyable.
|
inlineoverridevirtual |
Generates pseudo-random std::set
instance.
Implements cauldron::Strategy< std::set< Element > >.