Sen API
Sen Libraries
Loading...
Searching...
No Matches
json_templates.h
Go to the documentation of this file.
1// === json_templates.h ================================================================================================
2// Sen Infrastructure
3// Released under the Apache License v2.0 (SPDX-License-Identifier Apache-2.0).
4// See the LICENSE.txt file for more information.
5// © Airbus SAS, Airbus Helicopters, and Airbus Defence and Space SAU/GmbH/SAS.
6// =====================================================================================================================
7
8#ifndef SEN_LIBS_GEN_SRC_JSON_JSON_TEMPLATES_H
9#define SEN_LIBS_GEN_SRC_JSON_JSON_TEMPLATES_H
10
11// inja
12#include <inja/environment.hpp>
13#include <inja/template.hpp>
14
15namespace sen::gen::detail
16{
17
20{
21 inja::Template structType;
22 inja::Template enumType;
23 inja::Template variantType;
24 inja::Template sequenceType;
25 inja::Template aliasType;
26 inja::Template optionalType;
27 inja::Template quantityType;
28 inja::Template classType;
29 inja::Template schemaFile;
30};
31
33JsonTemplateSet makeJsonTypeTemplates(inja::Environment& env) noexcept;
34
35} // namespace sen::gen::detail
36
37#endif // SEN_LIBS_GEN_SRC_JSON_JSON_TEMPLATES_H
Definition type_storage.h:28
inja::Template sequenceType
Definition json_templates.h:24
inja::Template optionalType
Definition json_templates.h:26
inja::Template variantType
Definition json_templates.h:23
inja::Template classType
Definition json_templates.h:28
JsonTemplateSet makeJsonTypeTemplates(inja::Environment &env) noexcept
Templates for the type header.
inja::Template enumType
Definition json_templates.h:22
inja::Template schemaFile
Definition json_templates.h:29
inja::Template aliasType
Definition json_templates.h:25
inja::Template quantityType
Definition json_templates.h:27
inja::Template structType
Definition json_templates.h:21
A template for each supported user type.
Definition json_templates.h:20