Added include_relations_also_as_members flag

This commit is contained in:
Bartek Kryza
2021-07-24 19:40:12 +02:00
parent adb1296aa5
commit ea8f0e83c1
10 changed files with 297 additions and 41 deletions

79
docs/test_cases/t00017.md Normal file
View File

@@ -0,0 +1,79 @@
# t00017 - Test include relations also as members flag
## Config
```yaml
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
```
## Source code
```cpp
namespace clanguml {
namespace t00017 {
class A {
};
class B {
};
class C {
};
class D {
};
class E {
};
class F {
};
class G {
};
class H {
};
class I {
};
class J {
};
class K {
};
class R {
private:
int some_int;
int *some_int_pointer;
int **some_int_pointer_pointer;
int &some_int_reference;
A a;
B *b;
C &c;
const D *d;
const E &e{};
F &&f;
G **g;
H ***h;
I *&i;
volatile J *j;
mutable K *k;
};
}
}
```
## Generated UML diagrams
![t00017_class](./t00017_class.png "Test include relations also as members flag")

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB