forked from gammasoft71/modern_cpp_course
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirst_inheritance.drawio
More file actions
37 lines (37 loc) · 4.14 KB
/
first_inheritance.drawio
File metadata and controls
37 lines (37 loc) · 4.14 KB
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
<mxfile host="Electron" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/25.0.2 Chrome/128.0.6613.186 Electron/32.2.5 Safari/537.36" version="25.0.2">
<diagram name="Page-1" id="MxoNv4nQiQHgK9i8ivyI">
<mxGraphModel dx="1114" dy="780" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="826" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="JxRFG7sV6omq5Ux-D1lD-9" value="my_first_class" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="320" y="160" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="JxRFG7sV6omq5Ux-D1lD-10" value="+ a: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="JxRFG7sV6omq5Ux-D1lD-9">
<mxGeometry y="26" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="JxRFG7sV6omq5Ux-D1lD-11" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="JxRFG7sV6omq5Ux-D1lD-9">
<mxGeometry y="52" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="JxRFG7sV6omq5Ux-D1lD-12" value="+ square_a(): void" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="JxRFG7sV6omq5Ux-D1lD-9">
<mxGeometry y="60" width="160" height="30" as="geometry" />
</mxCell>
<mxCell id="JxRFG7sV6omq5Ux-D1lD-13" value="my_second_class" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="320" y="320" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="JxRFG7sV6omq5Ux-D1lD-14" value="+ b: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="JxRFG7sV6omq5Ux-D1lD-13">
<mxGeometry y="26" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="JxRFG7sV6omq5Ux-D1lD-15" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="JxRFG7sV6omq5Ux-D1lD-13">
<mxGeometry y="52" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="JxRFG7sV6omq5Ux-D1lD-16" value="<div>+ sum(): int<br></div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="JxRFG7sV6omq5Ux-D1lD-13">
<mxGeometry y="60" width="160" height="30" as="geometry" />
</mxCell>
<mxCell id="JxRFG7sV6omq5Ux-D1lD-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.499;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=block;endFill=1;" edge="1" parent="1" source="JxRFG7sV6omq5Ux-D1lD-13" target="JxRFG7sV6omq5Ux-D1lD-12">
<mxGeometry relative="1" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>