Hegel 0.3.5
Property-based testing for C++
Loading...
Searching...
No Matches
hegel::generators::TextParams Struct Reference

Parameters for text() generator. More...

#include <strings.h>

Public Attributes

size_t min_size = 0
 Minimum string length.
std::optional< size_t > max_size
 Maximum string length. Default: no limit.
std::optional< std::string > codec
 Restrict to this codec.
std::optional< uint32_t > min_codepoint
 Minimum Unicode codepoint.
std::optional< uint32_t > max_codepoint
 Maximum Unicode codepoint.
std::optional< std::vector< std::string > > categories
 Whitelist of Unicode categories.
std::optional< std::vector< std::string > > exclude_categories
 Blacklist of Unicode categories.
std::optional< std::string > include_characters
 Always include these characters.
std::optional< std::string > exclude_characters
 Always exclude these characters.
std::optional< std::string > alphabet
 Fixed set of allowed characters.

Detailed Description

Parameters for text() generator.


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