Expand description
This module handles generation of c++ code to support a data model, it includes the ability to create a header file, (de)serialization and documentation.
For any data model to work the termite dependency must be generatred from get_termite_dependency() and be saved as “termite.hpp” at a location where it can be included as “#include <termite.hpp>”
Structs§
- Data
Model - An entire data model
- Error
- Errors for when converting generic data models into c++ data models including location
Enums§
- Error
Core - Errors for when converting generic data models into c++ data models
Functions§
- get_
json_ interface - Obtains the nlohmann::json interface header and source for reading and writing json files
- get_
termite_ dependency - Obtains the base termite c++ dependency required for all generated data models
- get_
yaml_ interface - Obtains the yaml-cpp interface header and source for reading and writing yaml files