Changed default config file name to .clang-uml
This commit is contained in:
39
.clang-uml.example
Normal file
39
.clang-uml.example
Normal file
@@ -0,0 +1,39 @@
|
||||
compilation_database_dir: build
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
myproject_class:
|
||||
type: class
|
||||
glob:
|
||||
- src/**.h
|
||||
- src/**.cc
|
||||
using_namespace:
|
||||
- myproject
|
||||
include:
|
||||
namespaces:
|
||||
- myproject
|
||||
exclude:
|
||||
namespaces:
|
||||
- myproject::detail
|
||||
plantuml:
|
||||
after:
|
||||
- 'note left of @A(MyProjectMain) : Main class of myproject library.'
|
||||
main_sequence_diagram:
|
||||
type: sequence
|
||||
glob:
|
||||
- src/main.cc
|
||||
using_namespace:
|
||||
- ""
|
||||
start_from:
|
||||
- usr: "c:@F@main#I#**1C#"
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml
|
||||
exclude:
|
||||
namespaces:
|
||||
- std
|
||||
- CLI
|
||||
plantuml:
|
||||
before:
|
||||
- "' main test sequence diagram"
|
||||
after:
|
||||
- "' end"
|
||||
15
tests/t00002/.clang-uml
Normal file
15
tests/t00002/.clang-uml
Normal file
@@ -0,0 +1,15 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00002_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00002/t00002.cc
|
||||
using_namespace:
|
||||
- clanguml::t00002
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00002
|
||||
plantuml:
|
||||
after:
|
||||
- 'note left of @A(A) : Base abstract interface.'
|
||||
12
tests/t00003/.clang-uml
Normal file
12
tests/t00003/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00003_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00003/t00003.cc
|
||||
using_namespace:
|
||||
- clanguml::t00003
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00003
|
||||
14
tests/t00004/.clang-uml
Normal file
14
tests/t00004/.clang-uml
Normal file
@@ -0,0 +1,14 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00004_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00004/t00004.cc
|
||||
using_namespace:
|
||||
- clanguml::t00004
|
||||
- clanguml::t00004::A
|
||||
- clanguml::t00004::A::AA
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00004
|
||||
12
tests/t00005/.clang-uml
Normal file
12
tests/t00005/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00005_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00005/t00005.cc
|
||||
using_namespace:
|
||||
- clanguml::t00005
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00005
|
||||
12
tests/t00006/.clang-uml
Normal file
12
tests/t00006/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00006_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00006/t00006.cc
|
||||
using_namespace:
|
||||
- clanguml::t00006
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00006
|
||||
12
tests/t00007/.clang-uml
Normal file
12
tests/t00007/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00007_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00007/t00007.cc
|
||||
using_namespace:
|
||||
- clanguml::t00007
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00007
|
||||
12
tests/t00008/.clang-uml
Normal file
12
tests/t00008/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00008_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00008/t00008.cc
|
||||
using_namespace:
|
||||
- clanguml::t00008
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00008
|
||||
12
tests/t00009/.clang-uml
Normal file
12
tests/t00009/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00009_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00009/t00009.cc
|
||||
using_namespace:
|
||||
- clanguml::t00009
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00009
|
||||
12
tests/t00010/.clang-uml
Normal file
12
tests/t00010/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00010_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00010/t00010.cc
|
||||
using_namespace:
|
||||
- clanguml::t00010
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00010
|
||||
12
tests/t00011/.clang-uml
Normal file
12
tests/t00011/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00011_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00011/t00011.cc
|
||||
using_namespace:
|
||||
- clanguml::t00011
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00011
|
||||
15
tests/t00012/.clang-uml
Normal file
15
tests/t00012/.clang-uml
Normal file
@@ -0,0 +1,15 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00012_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00012/t00012.cc
|
||||
using_namespace:
|
||||
- clanguml::t00012
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00012
|
||||
plantuml:
|
||||
after:
|
||||
- 'note right of @A(C<std::map<int,std::vector<std::vector<std::vector<std::string>>>>,3,3,3>) : Long template annotation'
|
||||
13
tests/t00013/.clang-uml
Normal file
13
tests/t00013/.clang-uml
Normal file
@@ -0,0 +1,13 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00013_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00013/t00013.cc
|
||||
using_namespace:
|
||||
- clanguml::t00013
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00013
|
||||
- ABCD
|
||||
16
tests/t00014/.clang-uml
Normal file
16
tests/t00014/.clang-uml
Normal file
@@ -0,0 +1,16 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00014_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00014/t00014.cc
|
||||
using_namespace:
|
||||
- clanguml::t00014
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00014
|
||||
exclude:
|
||||
namespaces:
|
||||
- std
|
||||
- clanguml::t00014::std
|
||||
12
tests/t00015/.clang-uml
Normal file
12
tests/t00015/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00015_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00015/t00015.cc
|
||||
using_namespace:
|
||||
- clanguml::t00015
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00015
|
||||
12
tests/t00016/.clang-uml
Normal file
12
tests/t00016/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00016_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00016/t00016.cc
|
||||
using_namespace:
|
||||
- clanguml::t00016
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00016
|
||||
13
tests/t00017/.clang-uml
Normal file
13
tests/t00017/.clang-uml
Normal file
@@ -0,0 +1,13 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00017_class:
|
||||
type: class
|
||||
include_relations_also_as_members: false
|
||||
glob:
|
||||
- ../../tests/t00017/t00017.cc
|
||||
using_namespace:
|
||||
- clanguml::t00017
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00017
|
||||
13
tests/t00018/.clang-uml
Normal file
13
tests/t00018/.clang-uml
Normal file
@@ -0,0 +1,13 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00018_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00018/**.h
|
||||
- ../../tests/t00018/**.cc
|
||||
using_namespace:
|
||||
- clanguml::t00018
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00018
|
||||
18
tests/t00019/.clang-uml
Normal file
18
tests/t00019/.clang-uml
Normal file
@@ -0,0 +1,18 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00019_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00019/**.h
|
||||
- ../../tests/t00019/**.cc
|
||||
using_namespace:
|
||||
- clanguml::t00019
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00019
|
||||
plantuml:
|
||||
after:
|
||||
- '@A(Base) <|-- @A(Layer3<LowerLayer>)'
|
||||
- '@A(Layer3<LowerLayer>) <|-- @A(Layer2<LowerLayer>)'
|
||||
- '@A(Layer2<LowerLayer>) <|-- @A(Layer1<LowerLayer>)'
|
||||
18
tests/t00020/.clang-uml
Normal file
18
tests/t00020/.clang-uml
Normal file
@@ -0,0 +1,18 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00020_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00020/t00020.cc
|
||||
using_namespace:
|
||||
- clanguml::t00020
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00020
|
||||
plantuml:
|
||||
after:
|
||||
- '@A(ProductA1) <.. @A(Factory1)'
|
||||
- '@A(ProductB1) <.. @A(Factory1)'
|
||||
- '@A(ProductA2) <.. @A(Factory2)'
|
||||
- '@A(ProductB2) <.. @A(Factory2)'
|
||||
12
tests/t00021/.clang-uml
Normal file
12
tests/t00021/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00021_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00021/t00021.cc
|
||||
using_namespace:
|
||||
- clanguml::t00021
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00021
|
||||
12
tests/t00022/.clang-uml
Normal file
12
tests/t00022/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00022_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00022/t00022.cc
|
||||
using_namespace:
|
||||
- clanguml::t00022
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00022
|
||||
12
tests/t00023/.clang-uml
Normal file
12
tests/t00023/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00023_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00023/t00023.cc
|
||||
using_namespace:
|
||||
- clanguml::t00023
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00023
|
||||
12
tests/t00024/.clang-uml
Normal file
12
tests/t00024/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00024_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00024/t00024.cc
|
||||
using_namespace:
|
||||
- clanguml::t00024
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00024
|
||||
12
tests/t00025/.clang-uml
Normal file
12
tests/t00025/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00025_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00025/t00025.cc
|
||||
using_namespace:
|
||||
- clanguml::t00025
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00025
|
||||
12
tests/t00026/.clang-uml
Normal file
12
tests/t00026/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00026_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00026/t00026.cc
|
||||
using_namespace:
|
||||
- clanguml::t00026
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00026
|
||||
12
tests/t00027/.clang-uml
Normal file
12
tests/t00027/.clang-uml
Normal file
@@ -0,0 +1,12 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t00027_class:
|
||||
type: class
|
||||
glob:
|
||||
- ../../tests/t00027/t00027.cc
|
||||
using_namespace:
|
||||
- clanguml::t00027
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t00027
|
||||
22
tests/t20001/.clang-uml
Normal file
22
tests/t20001/.clang-uml
Normal file
@@ -0,0 +1,22 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t20001_sequence:
|
||||
type: sequence
|
||||
glob:
|
||||
- ../../tests/t20001/t20001.cc
|
||||
include:
|
||||
namespaces:
|
||||
- clanguml::t20001
|
||||
exclude:
|
||||
namespaces:
|
||||
- clanguml::t20001::detail
|
||||
using_namespace:
|
||||
- clanguml::t20001
|
||||
start_from:
|
||||
- usr: "c:@N@clanguml@N@t20001@F@tmain#"
|
||||
plantuml:
|
||||
before:
|
||||
- "' t20001 test sequence diagram"
|
||||
after:
|
||||
- 'note over "tmain()": Main test function'
|
||||
20
tests/t90000/.clang-uml
Normal file
20
tests/t90000/.clang-uml
Normal file
@@ -0,0 +1,20 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
diagrams:
|
||||
t90000_class:
|
||||
type: class
|
||||
plantuml:
|
||||
before:
|
||||
- 'class "Foo" as C_001'
|
||||
- 'class C_001 {'
|
||||
- ' +int value'
|
||||
- '}'
|
||||
- 'C_001 <|-- ArrayList'
|
||||
- 'note top of C_001: This is a very important class.'
|
||||
- 'note "This is a\nfloating note" as N1'
|
||||
- 'note "This note is connected\nto several objects." as N2'
|
||||
- 'C_001 .. N2'
|
||||
- 'N2 .. ArrayList'
|
||||
- 'class "Boo" as C_002'
|
||||
- 'class C_002 {'
|
||||
- '}'
|
||||
Reference in New Issue
Block a user