#include <vectors.h>
Public Member Functions | |
Vectors (const SizesStrategy &sizes, const ElementsStrategy &elements) | |
Vectors (const Vectors< Element > &vectors) | |
std::vector< Element > | operator() () const override |
Public Member Functions inherited from cauldron::CloneHelper< std::vector< Element >, Vectors< Element > > | |
std::unique_ptr< Strategy < std::vector< Element > > > | clone () const override |
Public Member Functions inherited from cauldron::Strategy< std::vector< Element > > | |
virtual Union< std::vector < Element > > | operator|| (const Strategy< std::vector< Element > > &strategy) const |
virtual Union< std::vector < Element > > | operator|| (const Union< std::vector< Element > > &strategy) const |
virtual Filtered< std::vector < Element > > | filter (const Requirement< std::vector< Element > > &requirement) const |
virtual Mapped< std::vector < Element > > | map (const Converter< std::vector< Element > > &converter) const |
Strategy which generates std::vector
instances with sizes and elements generated from corresponding strategies.
Element | type of vectors elements generated by strategy. |
|
inline |
sizes | strategy to generate vectors sizes from. |
elements | strategy to generate vectors 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::vector
instance.
Implements cauldron::Strategy< std::vector< Element > >.