Sen API
Sen Libraries
Toggle main menu visibility
Loading...
Searching...
No Matches
python_templates.h
Go to the documentation of this file.
1
// === python_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_PYTHON_PYTHON_TEMPLATES_H
9
#define SEN_LIBS_GEN_SRC_PYTHON_PYTHON_TEMPLATES_H
10
11
// inja
12
#include <inja/environment.hpp>
13
#include <inja/template.hpp>
14
15
namespace
sen::gen::detail
16
{
17
19
struct
PythonTemplateSet
20
{
21
inja::Template
structType
;
22
inja::Template
enumType
;
23
inja::Template
variantType
;
24
inja::Template
optionalType
;
25
inja::Template
classType
;
26
inja::Template
sequenceType
;
27
inja::Template
aliasType
;
28
inja::Template
quantityType
;
29
};
30
31
PythonTemplateSet
makePythonTypeTemplates
(inja::Environment& env);
32
33
}
// namespace sen::gen::detail
34
35
#endif
// SEN_LIBS_GEN_SRC_PYTHON_PYTHON_TEMPLATES_H
sen::gen::detail
Definition
type_storage.h:28
sen::gen::detail::PythonTemplateSet::aliasType
inja::Template aliasType
Definition
python_templates.h:27
sen::gen::detail::PythonTemplateSet::sequenceType
inja::Template sequenceType
Definition
python_templates.h:26
sen::gen::detail::PythonTemplateSet::quantityType
inja::Template quantityType
Definition
python_templates.h:28
sen::gen::detail::makePythonTypeTemplates
PythonTemplateSet makePythonTypeTemplates(inja::Environment &env)
sen::gen::detail::PythonTemplateSet::classType
inja::Template classType
Definition
python_templates.h:25
sen::gen::detail::PythonTemplateSet::enumType
inja::Template enumType
Definition
python_templates.h:22
sen::gen::detail::PythonTemplateSet::optionalType
inja::Template optionalType
Definition
python_templates.h:24
sen::gen::detail::PythonTemplateSet::variantType
inja::Template variantType
Definition
python_templates.h:23
sen::gen::detail::PythonTemplateSet::structType
inja::Template structType
Definition
python_templates.h:21
sen::gen::detail::PythonTemplateSet
A template for each supported user type.
Definition
python_templates.h:20
libs
gen
src
python
python_templates.h
Generated by
1.17.0