|
ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
|
Abstract base for all input types. More...
#include <input.hpp>
Public Member Functions | |
| virtual InputType | GetInputType () const =0 |
| Returns the type discriminator for this input. | |
| virtual void | ToJson (json &j) const =0 |
| Serialize this input to JSON. | |
Abstract base for all input types.
|
pure virtual |
Serialize this input to JSON.
| j | Output JSON object, populated by the method. |
Implemented in foresthub::core::InputItems, and foresthub::core::InputString.