vstup/kočka-a-pes-oop.dot
author František Kučera <franta-hg@frantovo.cz>
Fri, 06 Jan 2012 21:58:52 +0100
changeset 52 a221785fe3ac
child 65 0b00c324e644
permissions -rw-r--r--
Diagramy #13: možnost načítání ze souboru.
franta-hg@52
     1
digraph G {	
franta-hg@52
     2
	bgcolor="transparent";
franta-hg@52
     3
	
franta-hg@52
     4
	
franta-hg@52
     5
	// Třídy:
franta-hg@52
     6
	node	[shape = "record"]
franta-hg@52
     7
	Pes		[label = "{Pes|+ kouše : boolean\l|+ štěkej() : void\l}"];
franta-hg@52
     8
	Kočka	[label = "{Kočka|+ spí : boolean\l|+ mňoukej() : void\l}"];
franta-hg@52
     9
	Zvíře	[label = "{Zvíře|+ jméno : string\l+ věk : int\l|+ běhej() : void\l}"];
franta-hg@52
    10
	
franta-hg@52
    11
	
franta-hg@52
    12
	// Dědičnost:
franta-hg@52
    13
	edge	[arrowhead = "empty"]
franta-hg@52
    14
	
franta-hg@52
    15
	Pes		->	Zvíře
franta-hg@52
    16
	Kočka	->	Zvíře
franta-hg@52
    17
}
franta-hg@52
    18