cauldron  0.0.0
 All Classes Namespaces Files Functions Variables Typedefs
strings.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "bases.h"
4 
5 
6 namespace cauldron {
11 class Strings : public CloneHelper<std::string, Strings> {
12  public:
17  Strings(const Strategy<size_t> &lengths,
18  const Strategy<char> &alphabet);
19 
25  Strings(const Strings &strings);
26 
30  std::string operator()() const override;
31 
32  private:
33  std::unique_ptr<Strategy<size_t>> lengths_;
34  std::unique_ptr<Strategy<char>> alphabet_;
35 };
36 }
Definition: strings.h:11
Definition: bases.h:32
Definition: bases.h:97
Strings(const Strategy< size_t > &lengths, const Strategy< char > &alphabet)
Definition: strings.cpp:7
std::string operator()() const override
Definition: strings.cpp:18