Skip to content

Commit 9d46eb8

Browse files
author
Damian Rouson
committed
feat: add PlantUML diagram for classes in Assert
1 parent 64f5ecb commit 9d46eb8

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

doc/assert_class_diagram.puml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
@startuml
2+
Title Classes in the Assert Library
3+
4+
hide empty members
5+
6+
abstract class characterizable_t{
7+
{abstract} as_character() : character(len=:), allocatable
8+
}
9+
10+
class intrinsic_array_t{
11+
c[] : complex
12+
i[] : integer
13+
l[] : logical
14+
r[]: real
15+
intrinsic_arry_t(array[..] : class(*)) : intrinsic_array_t
16+
as_character() : character(len=:), allocatable
17+
}
18+
19+
intrinsic_array_t .up.|> characterizable_t : implements
20+
21+
@enduml

doc/class_diagram.puml renamed to doc/example_class_diagram.puml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ class characterizable_stuff_t{
2424
}
2525

2626
characterizable_stuff_t *-down- stuff_t : aggregates
27-
characterizable_stuff_t -up-|> characterizable_t : implements
27+
characterizable_stuff_t .up.|> characterizable_t : implements
2828

2929
@enduml

0 commit comments

Comments
 (0)