-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-uml
78 lines (78 loc) · 2.01 KB
/
.clang-uml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
add_compile_flags:
- --target=x86_64-w64-mingw32
- -fparse-all-comments
- -Wno-unknown-warning-option
- -DUSE_THREADS_POSIX
remove_compile_flags:
- -Wunused-command-line-argument
# Change to directory where compile_commands.json is
compilation_database_dir: .
# Change to directory where diagram should be written
output_directory: ./docs/diagrams
diagrams:
system_class_diagram:
type: class
title: This Diagram shows the relationship between all system components
glob:
- src/Bank/*.cpp
- src/BankAccount/*.cpp
- app/*.cpp
include:
paths:
- src/
- inc/
exclude:
paths:
- lib/
- build/
- tests/
namespaces:
- std
- tests # Exclude Google Test namespace
- nlohmann # Exclude nlohmann namespace
generate_packages: true
package_type: directory
generate_links:
link: "{% if existsIn(element, \"doxygen_link\") %}{{ element.doxygen_link }}{% endif %}"
tooltip: "{% if existsIn(element, \"comment\") and existsIn(element.comment, \"brief\") %}{{ abbrv(trim(replace(element.comment.brief.0, \"\\n+\", \" \")), 256) }}{% else %}{{ element.name }}{% endif %}"
include_diagram:
type: include
glob:
- src/Bank/*.cpp
- src/BankAccount/*.cpp
- app/*.cpp
include:
paths:
- src
- inc
- lib/
- tests
exclude:
namespaces:
- std
- tests # Exclude Google Test namespace
- nlohmann # Exclude nlohmann namespace
paths:
- lib/
sequence_diagram:
type: sequence
glob:
- src/Bank/*.cpp
- src/BankAccount/*.cpp
- app/*.cpp
include:
paths:
- src/
- inc/
- lib/
- tests/
exclude:
namespaces:
- std
- tests # Exclude Google Test namespace
- nlohmann # Exclude nlohmann namespace
paths:
- lib/
start_from:
#- function: "main()"
- function: "Bank::displayAllAccounts() const"