rdg
1.1.0
|
A regex (regula expression) data generator. More...
#include <rdg.hh>
Public Member Functions | |
RDG (const std::string &expression) | |
Constructs a regex data generator. More... | |
std::string | generate () |
Generates the next result from the data generator. More... | |
size_t | permutations () const |
Gets the number of permutations. More... | |
A regex (regula expression) data generator.
RDG::RDG | ( | const std::string & | expression | ) |
Constructs a regex data generator.
expression | A regular expression (within the defined subset) |
std::string RDG::generate | ( | ) |
Generates the next result from the data generator.
std::length_error | When generate is called with no remaining permutations. |
size_t RDG::permutations | ( | ) | const |
Gets the number of permutations.