9cf878c5ba1346d99934b6ce0438fa6ceb9857f7
[Project_POO.git] / exo6 / design_arithmetic.uxf
1 <?xml version="1.0" encoding="UTF-8"?><diagram program="umlet" version="13.3">
2 <zoom_level>10</zoom_level>
3 <element>
4 <id>UMLClass</id>
5 <coordinates>
6 <x>590</x>
7 <y>60</y>
8 <w>100</w>
9 <h>60</h>
10 </coordinates>
11 <panel_attributes>Expression
12 --
13 --
14 /+evaluer()/
15 </panel_attributes>
16 <additional_attributes/>
17 </element>
18 <element>
19 <id>UMLClass</id>
20 <coordinates>
21 <x>380</x>
22 <y>200</y>
23 <w>100</w>
24 <h>30</h>
25 </coordinates>
26 <panel_attributes>Terme</panel_attributes>
27 <additional_attributes/>
28 </element>
29 <element>
30 <id>UMLClass</id>
31 <coordinates>
32 <x>870</x>
33 <y>200</y>
34 <w>100</w>
35 <h>30</h>
36 </coordinates>
37 <panel_attributes>Op-add</panel_attributes>
38 <additional_attributes/>
39 </element>
40 <element>
41 <id>UMLClass</id>
42 <coordinates>
43 <x>280</x>
44 <y>290</y>
45 <w>100</w>
46 <h>30</h>
47 </coordinates>
48 <panel_attributes>Facteur</panel_attributes>
49 <additional_attributes/>
50 </element>
51 <element>
52 <id>UMLClass</id>
53 <coordinates>
54 <x>770</x>
55 <y>290</y>
56 <w>100</w>
57 <h>50</h>
58 </coordinates>
59 <panel_attributes>Op+
60 --
61 --
62 +evaluer():gauche.evaluer() + droite.evaluer()</panel_attributes>
63 <additional_attributes/>
64 </element>
65 <element>
66 <id>UMLClass</id>
67 <coordinates>
68 <x>480</x>
69 <y>290</y>
70 <w>100</w>
71 <h>30</h>
72 </coordinates>
73 <panel_attributes>Op-mul</panel_attributes>
74 <additional_attributes/>
75 </element>
76 <element>
77 <id>UMLClass</id>
78 <coordinates>
79 <x>970</x>
80 <y>290</y>
81 <w>100</w>
82 <h>50</h>
83 </coordinates>
84 <panel_attributes>Op-
85 --
86 --
87 +evaluer():gauche.evaluer() - droite.evaluer()</panel_attributes>
88 <additional_attributes/>
89 </element>
90 <element>
91 <id>UMLClass</id>
92 <coordinates>
93 <x>10</x>
94 <y>470</y>
95 <w>130</w>
96 <h>80</h>
97 </coordinates>
98 <panel_attributes>Chiffre
99 --
100 -c:int &lt;- {0,...,9}
101 --
102 +evaluer():int </panel_attributes>
103 <additional_attributes/>
104 </element>
105 <element>
106 <id>UMLClass</id>
107 <coordinates>
108 <x>170</x>
109 <y>470</y>
110 <w>180</w>
111 <h>80</h>
112 </coordinates>
113 <panel_attributes>Variable
114 --
115 -vMap:Map&lt;key, value&gt;
116 --
117 +evaluer():char</panel_attributes>
118 <additional_attributes/>
119 </element>
120 <element>
121 <id>UMLClass</id>
122 <coordinates>
123 <x>380</x>
124 <y>470</y>
125 <w>190</w>
126 <h>80</h>
127 </coordinates>
128 <panel_attributes>Expression parenthesée
129 --
130 --
131 +evaluer():exp.evaluer()</panel_attributes>
132 <additional_attributes/>
133 </element>
134 <element>
135 <id>UMLClass</id>
136 <coordinates>
137 <x>410</x>
138 <y>370</y>
139 <w>100</w>
140 <h>50</h>
141 </coordinates>
142 <panel_attributes>Op*
143 --
144 --
145 +evaluer():gauche.evaluer() * droite.evaluer()</panel_attributes>
146 <additional_attributes/>
147 </element>
148 <element>
149 <id>UMLClass</id>
150 <coordinates>
151 <x>550</x>
152 <y>370</y>
153 <w>100</w>
154 <h>50</h>
155 </coordinates>
156 <panel_attributes>Op\
157 --
158 --
159 +evaluer():gauche.evaluer() / droite.evaluer()</panel_attributes>
160 <additional_attributes/>
161 </element>
162 <element>
163 <id>Relation</id>
164 <coordinates>
165 <x>630</x>
166 <y>110</y>
167 <w>30</w>
168 <h>80</h>
169 </coordinates>
170 <panel_attributes>lt=&lt;&lt;-</panel_attributes>
171 <additional_attributes>10.0;10.0;10.0;60.0</additional_attributes>
172 </element>
173 <element>
174 <id>Relation</id>
175 <coordinates>
176 <x>420</x>
177 <y>160</y>
178 <w>520</w>
179 <h>60</h>
180 </coordinates>
181 <panel_attributes>lt=-</panel_attributes>
182 <additional_attributes>10.0;40.0;10.0;10.0;500.0;10.0;500.0;40.0</additional_attributes>
183 </element>
184 <element>
185 <id>Relation</id>
186 <coordinates>
187 <x>680</x>
188 <y>80</y>
189 <w>390</w>
190 <h>150</h>
191 </coordinates>
192 <panel_attributes>lt=&lt;-
193 droite</panel_attributes>
194 <additional_attributes>10.0;10.0;330.0;10.0;330.0;130.0;290.0;130.0</additional_attributes>
195 </element>
196 <element>
197 <id>Relation</id>
198 <coordinates>
199 <x>470</x>
200 <y>190</y>
201 <w>420</w>
202 <h>40</h>
203 </coordinates>
204 <panel_attributes>lt=&lt;-
205 gauche</panel_attributes>
206 <additional_attributes>10.0;20.0;400.0;20.0</additional_attributes>
207 </element>
208 <element>
209 <id>Relation</id>
210 <coordinates>
211 <x>420</x>
212 <y>220</y>
213 <w>30</w>
214 <h>60</h>
215 </coordinates>
216 <panel_attributes>lt=&lt;&lt;-</panel_attributes>
217 <additional_attributes>10.0;10.0;10.0;40.0</additional_attributes>
218 </element>
219 <element>
220 <id>Relation</id>
221 <coordinates>
222 <x>320</x>
223 <y>250</y>
224 <w>230</w>
225 <h>60</h>
226 </coordinates>
227 <panel_attributes>lt=-</panel_attributes>
228 <additional_attributes>10.0;40.0;10.0;10.0;210.0;10.0;210.0;40.0</additional_attributes>
229 </element>
230 <element>
231 <id>Relation</id>
232 <coordinates>
233 <x>370</x>
234 <y>280</y>
235 <w>130</w>
236 <h>40</h>
237 </coordinates>
238 <panel_attributes>lt=&lt;-
239 gauche</panel_attributes>
240 <additional_attributes>10.0;20.0;110.0;20.0</additional_attributes>
241 </element>
242 <element>
243 <id>Relation</id>
244 <coordinates>
245 <x>470</x>
246 <y>210</y>
247 <w>210</w>
248 <h>110</h>
249 </coordinates>
250 <panel_attributes>lt=&lt;-
251 droite</panel_attributes>
252 <additional_attributes>10.0;10.0;150.0;10.0;150.0;90.0;110.0;90.0</additional_attributes>
253 </element>
254 <element>
255 <id>Relation</id>
256 <coordinates>
257 <x>910</x>
258 <y>220</y>
259 <w>30</w>
260 <h>60</h>
261 </coordinates>
262 <panel_attributes>lt=&lt;&lt;-</panel_attributes>
263 <additional_attributes>10.0;10.0;10.0;40.0</additional_attributes>
264 </element>
265 <element>
266 <id>Relation</id>
267 <coordinates>
268 <x>810</x>
269 <y>250</y>
270 <w>230</w>
271 <h>60</h>
272 </coordinates>
273 <panel_attributes>lt=-</panel_attributes>
274 <additional_attributes>10.0;40.0;10.0;10.0;210.0;10.0;210.0;40.0</additional_attributes>
275 </element>
276 <element>
277 <id>Relation</id>
278 <coordinates>
279 <x>520</x>
280 <y>310</y>
281 <w>30</w>
282 <h>60</h>
283 </coordinates>
284 <panel_attributes>lt=&lt;&lt;-</panel_attributes>
285 <additional_attributes>10.0;10.0;10.0;40.0</additional_attributes>
286 </element>
287 <element>
288 <id>Relation</id>
289 <coordinates>
290 <x>450</x>
291 <y>340</y>
292 <w>170</w>
293 <h>50</h>
294 </coordinates>
295 <panel_attributes>lt=-</panel_attributes>
296 <additional_attributes>10.0;30.0;10.0;10.0;150.0;10.0;150.0;30.0</additional_attributes>
297 </element>
298 <element>
299 <id>Relation</id>
300 <coordinates>
301 <x>560</x>
302 <y>60</y>
303 <w>580</w>
304 <h>470</h>
305 </coordinates>
306 <panel_attributes>lt=&lt;-
307 exp</panel_attributes>
308 <additional_attributes>130.0;10.0;540.0;10.0;540.0;450.0;10.0;450.0</additional_attributes>
309 </element>
310 <element>
311 <id>Relation</id>
312 <coordinates>
313 <x>60</x>
314 <y>430</y>
315 <w>430</w>
316 <h>60</h>
317 </coordinates>
318 <panel_attributes>lt=-</panel_attributes>
319 <additional_attributes>10.0;40.0;10.0;10.0;410.0;10.0;410.0;40.0</additional_attributes>
320 </element>
321 <element>
322 <id>Relation</id>
323 <coordinates>
324 <x>320</x>
325 <y>310</y>
326 <w>30</w>
327 <h>150</h>
328 </coordinates>
329 <panel_attributes>lt=&lt;&lt;-</panel_attributes>
330 <additional_attributes>10.0;10.0;10.0;130.0</additional_attributes>
331 </element>
332 <element>
333 <id>Relation</id>
334 <coordinates>
335 <x>250</x>
336 <y>430</y>
337 <w>30</w>
338 <h>60</h>
339 </coordinates>
340 <panel_attributes>lt=-</panel_attributes>
341 <additional_attributes>10.0;10.0;10.0;40.0</additional_attributes>
342 </element>
343 </diagram>