0.6.0
C++ to UML diagram generator based on Clang
Loading...
Searching...
No Matches
src
docs
architecture.h
Go to the documentation of this file.
1
/**
2
* @file docs/architecture.h
3
*
4
* Copyright (c) 2021-2025 Bartek Kryza <bkryza@gmail.com>
5
*
6
* Licensed under the Apache License, Version 2.0 (the "License");
7
* you may not use this file except in compliance with the License.
8
* You may obtain a copy of the License at
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS,
14
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
* See the License for the specific language governing permissions and
16
* limitations under the License.
17
*/
18
#pragma once
19
20
#include "
class_diagram/model/diagram.h
"
21
#include "
common/model/diagram.h
"
22
#include "
include_diagram/model/diagram.h
"
23
#include "
package_diagram/model/diagram.h
"
24
#include "
sequence_diagram/model/diagram.h
"
25
26
#include "
class_diagram/visitor/translation_unit_visitor.h
"
27
#include "
common/visitor/translation_unit_visitor.h
"
28
#include "
include_diagram/visitor/translation_unit_visitor.h
"
29
#include "
package_diagram/visitor/translation_unit_visitor.h
"
30
#include "
sequence_diagram/visitor/translation_unit_visitor.h
"
31
32
#include "
class_diagram/generators/json/class_diagram_generator.h
"
33
#include "
class_diagram/generators/plantuml/class_diagram_generator.h
"
34
#include "
common/generators/generators.h
"
35
36
/*
37
* This file serves as an example how high-level documentation can be stored
38
* directly in the code.
39
*/
40
41
namespace
clanguml
{
42
/**
43
* This namespace provides common interfaces for all kinds of diagrams.
44
*
45
* The core diagram functionality is divided into 3 groups: visitor, model
46
* and generators.
47
*/
48
namespace
common {
49
/**
50
* This namespace provides common interfaces for translation unit visitors,
51
* which are responsible for traversing the Clang's AST of the source code,
52
* and generating the intermedia diagram model.
53
*
54
* Each 'translation_unit_visitor' implements the Clang's
55
* 'RecursiveASTVisitor' interface.
56
*/
57
namespace
visitor {
58
}
// namespace visitor
59
/**
60
* This namespace provides common interfaces for diagram model, including
61
* various diagram elements and diagram filters.
62
*/
63
namespace
model {
64
65
}
// namespace model
66
/**
67
*
68
*/
69
namespace
generators {
70
71
}
// namespace generators
72
}
// namespace common
73
}
// namespace clanguml
Copyright © 2022-present
Bartek Kryza
Generated by
1.9.7