0.6.0
C++ to UML diagram generator based on Clang
Loading...
Searching...
No Matches
t20027 - Filter call expressions based on access test case
Config
diagrams:
t20027_sequence:
type: sequence
glob:
- t20027.cc
include:
namespaces:
- clanguml::t20027
access:
- public
using_namespace: clanguml::t20027
from:
- function: "clanguml::t20027::tmain()"
Source code
File
tests/t20027/t20027.cc
namespace
clanguml
{
namespace
t20027 {
class
A {
public
:
void
a() { aa(); }
protected
:
void
aa() { aaa(); }
private
:
void
aaa() { }
};
void
tmain()
{
A a;
a.a();
}
}
}
Generated PlantUML diagrams
Generated Mermaid diagrams
Generated JSON models
{
"diagram_type": "sequence",
"name": "t20027_sequence",
"participants": [
{
"display_name": "tmain()",
"full_name": "clanguml::t20027::tmain()",
"id": "12648075863955442291",
"name": "tmain",
"namespace": "clanguml::t20027",
"source_location": {
"column": 6,
"file": "t20027.cc",
"line": 15,
"translation_unit": "t20027.cc"
},
"type": "function"
},
{
"activities": [
{
"display_name": "a()",
"full_name": "clanguml::t20027::A::a()",
"id": "7284119742289621739",
"name": "a",
"namespace": "clanguml::t20027",
"source_location": {
"column": 10,
"file": "t20027.cc",
"line": 6,
"translation_unit": "t20027.cc"
},
"type": "method"
}
],
"display_name": "A",
"full_name": "clanguml::t20027::A",
"id": "4668205039490096719",
"name": "A",
"namespace": "clanguml::t20027",
"source_location": {
"column": 7,
"file": "t20027.cc",
"line": 4,
"translation_unit": "t20027.cc"
},
"type": "class"
}
],
"sequences": [
{
"from": {
"id": "12648075863955442291",
"location": "clanguml::t20027::tmain()"
},
"messages": [
{
"from": {
"activity_id": "12648075863955442291",
"participant_id": "12648075863955442291"
},
"name": "a()",
"return_type": "void",
"scope": "normal",
"source_location": {
"column": 5,
"file": "t20027.cc",
"line": 19,
"translation_unit": "t20027.cc"
},
"to": {
"activity_id": "7284119742289621739",
"participant_id": "4668205039490096719"
},
"type": "message"
}
]
}
],
"using_namespace": "clanguml::t20027"
}
Generated GraphML models
Copyright © 2022-present
Bartek Kryza
Generated by
1.9.7