PageRenderTime 32ms CodeModel.GetById 29ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/donations/dcl/doc/Interfaces/Tree.html

https://github.com/the-Arioch/jcl
HTML | 74 lines | 61 code | 12 blank | 1 comment | 0 complexity | 5b916f63a512363d8b7c60bd6e262ad1 MD5 | raw file
Possible License(s): BSD-3-Clause
 1<html>
 2<!-- Creation date: 07/12/2002 -->
 3<head>
 4<title></title>
 5<meta name="Description" content="">
 6<meta name="Keywords" content="">
 7<meta name="Author" content="RANDOM">
 8<meta name="Generator" content="AceHTML 4 Pro">
 9<link href="../SeldonWeb.css" type="text/css" rel="stylesheet">
10</head>
11<body>
12<center><h1>IIntfTree/IStrTree/ITree</h1></center>
13
14<h2>Unit</h2>
15	DCL_intf
16
17<h2>Inheritance</h2>
18	<p>Derived from <a href="Collection.html">IIntfCollection/IStrCollection/ICollection</a></p>
19
20<h2>Methods</h2>
21
22<code>TTraverseOrder = (toPreOrder, toOrder, toPostOrder);</code>
23
24<h3>IIntfTree</h3>
25<code>
26    <b>function</b> GetTraverseOrder: TTraverseOrder;<br>
27    <b>procedure</b> SetTraverseOrder(Value: TTraverseOrder);<br>
28    <b>property</b> TraverseOrder: TTraverseOrder <b>read</b> GetTraverseOrder <b>write</b> SetTraverseOrder;<br>
29</code>
30
31<h3>IStrTree</h3>
32<code>
33    <b>function</b> GetTraverseOrder: TTraverseOrder;<br>
34    <b>procedure</b> SetTraverseOrder(Value: TTraverseOrder);<br>
35    <b>property</b> TraverseOrder: TTraverseOrder <b>read</b> GetTraverseOrder <b>write</b> SetTraverseOrder;<br>
36</code>
37
38<h3>ITree</h3>
39<code>
40    <b>function</b> GetTraverseOrder: TTraverseOrder;<br>
41    <b>procedure</b> SetTraverseOrder(Value: TTraverseOrder);<br>
42    <b>property</b> TraverseOrder: TTraverseOrder <b>read</b> GetTraverseOrder <b>write</b> SetTraverseOrder;<br>
43</code>
44
45<h2>Description</h2>
46
47<p>A tree is hierarchical container with parents/childs concepts.</p>
48
49<table border="1" width="80%" align="center" bgcolor="white" cellpadding="5" cellspacing="0">
50  <tr>
51  	<th bgcolor="silver"> Method	</td>
52		<th bgcolor="silver"> Description </td>
53  </tr>
54  <tr>
55    <td>GetTraverseOrder</td>
56    <td>
57			Return the current traverse order (PreOrder, Order or PostOrder) of the tree. The traverse order is used for iterators.
58		</td>
59  </tr>
60  <tr>
61    <td>SetTraverseOrder</td>
62    <td>
63			Set the traverse order (PreOrder, Order or PostOrder) of the tree. The traverse order is used for iterators.
64		</td>
65  </tr>
66</table>
67
68<h2>Implemented By</h2>
69	<ul>
70		<li> <a href="../Classes/BinaryTree.html">BinaryTree</a>
71	</ul>
72
73</body>
74</html>