Skip to content
Snippets Groups Projects
Commit 7b232a67 authored by Eckl, Máté's avatar Eckl, Máté
Browse files

Program plan almost ready

parents
No related branches found
No related tags found
No related merge requests found
*~*
bin
obj
NHF/NHF*
File added
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
<?xml version="1.0" encoding="UTF-8"?><diagram program="umlet" version="11.3">
<zoom_level>10</zoom_level>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>390</x>
<y>60</y>
<w>200</w>
<h>80</h>
</coordinates>
<panel_attributes>&lt;&lt;mem_block&gt;&gt;
--
/+ mem_block()/
+ block_size: unsigned int
//+ byte: char
+ filled: bool</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>250</x>
<y>70</y>
<w>160</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;&lt;&lt;-</panel_attributes>
<additional_attributes>30;30;140;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>10</x>
<y>10</y>
<w>270</w>
<h>180</h>
</coordinates>
<panel_attributes>&lt;&lt;heap&gt;&gt;
--
- size: const unsigned int
- blocks [size]: mem_block
- findfit():{idx:} unsigned int
--
/+ heap(size: const unsigned int)/
/+ ~heap()/
+ allocate(size: unsigned int):
{idx:} unsigned int
//valamai, amit ha átadok a freenek, akkor tudja mi hol van.
+ free(idx: unsigned int): void
//operator&lt;&lt;</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>10</x>
<y>270</y>
<w>310</w>
<h>90</h>
</coordinates>
<panel_attributes>&lt;&lt;process&gt;&gt;
--
# pid: const unsigned int
//idx
--
/+ process(size: unsigned int, mem: heap)/
/+ ~process()/
//destruktorban ki kell adni egy free-t a heap-nek</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>120</x>
<y>160</y>
<w>50</w>
<h>130</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;&lt;-
//ezt a jelölést azért át kell gondolni</panel_attributes>
<additional_attributes>30;30;30;110</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>400</x>
<y>240</y>
<w>240</w>
<h>120</h>
</coordinates>
<panel_attributes>&lt;&lt;proc_test&gt;&gt;
--
- name: char*
- next: proc_test*
--
/+ proc_test(name: const char*,/
/ proc: process)/
/+ ~proc_test()/</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>290</x>
<y>280</y>
<w>130</w>
<h>50</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>30;30;110;30</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>400</x>
<y>420</y>
<w>240</w>
<h>190</h>
</coordinates>
<panel_attributes>&lt;&lt;test_container&gt;&gt;
--
-list_head: proc_test*
--
/+ test_container(proc: proc_test)/
/+ ~test_container()/
+ add(proc: proc_test): void
+ remove(name: const char*)</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>490</x>
<y>330</y>
<w>50</w>
<h>110</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;&lt;&lt;-</panel_attributes>
<additional_attributes>30;30;30;90</additional_attributes>
</element>
</diagram>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment