Class PDGL_cli
Wrapper class for the PDGL core library functionality.
Public Functions
| Type | Name |
|---|---|
| PDGL_cli (const std::string * input, size_t stack_size, size_t seed) Constructor with all possible configurable items. |
|
| PDGL_cli (const std::string * input) constructor with minimal configurable items. |
|
| bool | run () Run the generation of a word in the configured language. |
| ~PDGL_cli () Deconstructor frees C library pointers. |
Public Functions Documentation
function PDGL_cli [1/2]
Constructor with all possible configurable items.
Parameters:
inputA pointer to a language string containing TOML data.stack_sizeThe size of the stack to configure.seedThe seed to use to seed random.
function PDGL_cli [2/2]
constructor with minimal configurable items.
Parameters:
inputA pointer to a language string containing TOML data.
function run
Run the generation of a word in the configured language.
Returns:
True when successful, false when failure.
function ~PDGL_cli
Deconstructor frees C library pointers.
The documentation for this class was generated from the following file wrappers/cli/src/main.cpp