|
Sen API
Sen Libraries
|
Code generators that emit source artefacts from Sen type sets. More...
Classes | |
| struct | sen::gen::CppOptions |
| Options controlling how CppGenerator::generate renders one type set. More... | |
| struct | sen::gen::CppExportsOptions |
| Options for CppGenerator::generateExports. More... | |
| class | sen::gen::CppGenerator |
| Renders C++ sources out of Sen type sets. Stateful (caches the loaded inja templates), so prefer reusing one instance across calls when possible. More... | |
| struct | sen::gen::PackageOptions |
| Options for JsonGenerator::generatePackage. More... | |
| struct | sen::gen::ComponentOptions |
| Options for JsonGenerator::generateComponent. More... | |
| class | sen::gen::JsonGenerator |
| Renders JSON-Schema descriptions of sen type sets. Stateful (caches the loaded inja templates), so prefer reusing one instance across calls when possible. More... | |
| class | sen::gen::MkDocsGenerator |
| Renders an MkDocs-compatible markdown document out of sen type sets. Stateful (caches the loaded inja templates), so prefer reusing one instance across calls when possible. More... | |
| class | sen::gen::PlantUMLGenerator |
| Renders PlantUML class diagrams out of sen type sets. Stateful (caches the loaded inja templates), so prefer reusing one instance across calls when possible. More... | |
| class | sen::gen::PythonGenerator |
| Renders Python dataclasses out of sen type sets. Stateful (caches the loaded inja templates), so prefer reusing one instance across calls when possible. More... | |
| class | sen::gen::TypeScriptGenerator |
| Renders TypeScript modules out of sen type sets. Stateful (caches the loaded inja templates), so prefer reusing one instance across calls when possible. More... | |
Enumerations | |
| enum class | sen::gen::PlantUMLGenerationMode { sen::gen::PlantUMLGenerationMode::all , sen::gen::PlantUMLGenerationMode::onlyClasses , sen::gen::PlantUMLGenerationMode::onlyBasicTypes } |
| Selects which subset of the type set ends up in the rendered diagram. More... | |
| enum class | sen::gen::PlantUMLEnumMode { sen::gen::PlantUMLEnumMode::all , sen::gen::PlantUMLEnumMode::noEnumerators } |
| Controls whether enum types contribute their enumerators to the rendered diagram. More... | |
Code generators that emit source artefacts from Sen type sets.
| struct sen::gen::CppOptions |
Options controlling how CppGenerator::generate renders one type set.
| struct sen::gen::CppExportsOptions |
Options for CppGenerator::generateExports.
| struct sen::gen::PackageOptions |
Options for JsonGenerator::generatePackage.
| Class Members | ||
|---|---|---|
| string | schemaName | Becomes the schemaName field in the rendered JSON. Caller is expected to derive it from the desired output file name (typically the file stem without extension). |
| vector< string > | classes | Qualified names of classes implemented by the user. Each is materialised as a concrete class deriving from the matching abstract class in the type set. |
| struct sen::gen::ComponentOptions |
Options for JsonGenerator::generateComponent.
| Class Members | ||
|---|---|---|
| string | schemaName | Becomes the schemaName field in the rendered JSON. |
| string | componentName | Becomes the component field in the rendered JSON. |
|
strong |
|
strong |