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