summaryrefslogtreecommitdiff
path: root/freebsdtvision/doc/html/classTNode.html
blob: 5ac5c5e486667e261765f5666d6c6dc4ff84a251 (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>TNode class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.18 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>TNode Class Reference</h1>Implements a node of the outline. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="outline_8h-source.html">outline.h</a>&gt;</code>
<p>
<a href="classTNode-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classTNode.html#a0">TNode</a> (char *aText)</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classTNode.html#a1">TNode</a> (char *aText, TNode *aChildren, TNode *aNext, <a class="el" href="ttypes_8h.html#a13">Boolean</a> initialState=True)</td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classTNode.html#a2">~TNode</a> ()</td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>TNode *&nbsp;</td><td valign=bottom><a class="el" href="classTNode.html#m0">next</a></td></tr>
<tr><td nowrap align=right valign=top>char *&nbsp;</td><td valign=bottom><a class="el" href="classTNode.html#m1">text</a></td></tr>
<tr><td nowrap align=right valign=top>TNode *&nbsp;</td><td valign=bottom><a class="el" href="classTNode.html#m2">childList</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a13">Boolean</a>&nbsp;</td><td valign=bottom><a class="el" href="classTNode.html#m3">expanded</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classTOutline.html">TOutline</a> objects use records of type TNode to hold the lists of linked strings that form the outline. <dl compact><dt><b>See also: </b></dt><dd>
<a class="el" href="classTOutlineViewer.html">TOutlineViewer</a> </dl>
<p>

<p>
Definition at line <a class="el" href="outline_8h-source.html#l00033">33</a> of file <a class="el" href="outline_8h-source.html">outline.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="TNode::TNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> TNode::TNode </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">char *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>aText</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates a node for an outline list. 
<p>
Definition at line <a class="el" href="outline_8h-source.html#l00073">73</a> of file <a class="el" href="outline_8h-source.html">outline.h</a>.
<p>
References <a class="el" href="util_8h.html#a15">newStr()</a>.    </td>
  </tr>
</table>
<a name="a1" doxytag="TNode::TNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> TNode::TNode </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">char *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>aText</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>TNode *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>aChildren</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>TNode *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>aNext</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="ttypes_8h.html#a13">Boolean</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>initialState</em> = True</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates a node for an outline list. Sets the new node's text, <a class="el" href="classTNode.html#m2">childList</a>, and next fields to `aText', `aChildren', and `aNext', respectively. 
<p>
Definition at line <a class="el" href="outline_8h-source.html#l00078">78</a> of file <a class="el" href="outline_8h-source.html">outline.h</a>.
<p>
References <a class="el" href="ttypes_8h-source.html#l00030">Boolean</a>, and <a class="el" href="util_8h.html#a15">newStr()</a>.    </td>
  </tr>
</table>
<a name="a2" doxytag="TNode::~TNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> TNode::~TNode </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inline, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Disposes of an outline node. 
<p>
Definition at line <a class="el" href="outline_8h-source.html#l00085">85</a> of file <a class="el" href="outline_8h-source.html">outline.h</a>.
<p>
References <a class="el" href="outline_8h-source.html#l00060">text</a>.    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="m2" doxytag="TNode::childList"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> TNode* TNode::childList
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Field childList points to the first in a list of subordinate nodes, or holds 0 if there are no items subordinate to the node. 
<p>
Definition at line <a class="el" href="outline_8h-source.html#l00065">65</a> of file <a class="el" href="outline_8h-source.html">outline.h</a>.    </td>
  </tr>
</table>
<a name="m3" doxytag="TNode::expanded"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="ttypes_8h.html#a13">Boolean</a> TNode::expanded
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Field expanded is True if the outline view shows the subordinate views listed in <a class="el" href="classTNode.html#m2">childList</a> or False if the subordinate nodes are hidden. 
<p>
Definition at line <a class="el" href="outline_8h-source.html#l00070">70</a> of file <a class="el" href="outline_8h-source.html">outline.h</a>.    </td>
  </tr>
</table>
<a name="m0" doxytag="TNode::next"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> TNode* TNode::next
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Field next points to the next node at the same outline level as the current node. 
<p>
Definition at line <a class="el" href="outline_8h-source.html#l00055">55</a> of file <a class="el" href="outline_8h-source.html">outline.h</a>.    </td>
  </tr>
</table>
<a name="m1" doxytag="TNode::text"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> char* TNode::text
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Each node record holds the text for that item in the outline in its text field. 
<p>
Definition at line <a class="el" href="outline_8h-source.html#l00060">60</a> of file <a class="el" href="outline_8h-source.html">outline.h</a>.
<p>
Referenced by <a class="el" href="outline_8h-source.html#l00085">~TNode()</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="outline_8h-source.html">outline.h</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Apr 2 22:13:15 2003 for TVision by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.18 </small></address>
</body>
</html>