0.6.0
C++ to UML diagram generator based on Clang
Loading...
Searching...
No Matches
src
common
generators
generator.cc
Go to the documentation of this file.
1
#include "
generator.h
"
2
3
#include "
class_diagram/model/jinja_context.h
"
4
#include "
include_diagram/model/jinja_context.h
"
5
#include "
package_diagram/model/jinja_context.h
"
6
#include "
sequence_diagram/model/jinja_context.h
"
7
8
namespace
clanguml::common::generators
{
9
10
template
<
typename
C,
typename
D>
void
generator<C, D>::update_context
()
const
11
{
12
m_context[
"diagram"
] =
common::jinja::diagram_context<D>
(model());
13
}
14
15
//
16
// Explicitly instantiate update_context() for all diagram types
17
//
18
template
void
generator
<
clanguml::config::class_diagram
,
19
clanguml::class_diagram::model::diagram
>::update_context()
const
;
20
template
void
generator
<
clanguml::config::sequence_diagram
,
21
clanguml::sequence_diagram::model::diagram
>::update_context()
const
;
22
template
void
generator
<
clanguml::config::include_diagram
,
23
clanguml::include_diagram::model::diagram
>::update_context()
const
;
24
template
void
generator
<
clanguml::config::package_diagram
,
25
clanguml::package_diagram::model::diagram
>::update_context()
const
;
26
27
}
// namespace clanguml::common::generators
Copyright © 2022-present
Bartek Kryza
Generated by
1.9.7