1
<?xml version="1.0" encoding='ISO-8859-1'?>
2
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 0.6.6//EN" "[[infoDictionary.dtd-ref]]">
4
[[if mainInterface.interfaceTitle == Class]]
5
base="[[mainInterface.className]]"
7
[[if mainInterface.interfaceTitle == Category]]
8
base="[[mainInterface.className]]+[[mainInterface.categoryName]]"
10
[[if mainInterface.interfaceTitle == Protocol]]
11
base="[[mainInterface.protocolName]]Protocol"
17
prev="[[infoDictionary.prev]]"
18
next="[[infoDictionary.next]]"
19
up="[[infoDictionary.up]]"
20
stylesheeturl="[[infoDictionary.stylesheeturl]]">
22
<title>[[infoDictionary.basetitle]] [[mainTitle]]</title>
23
<author name="[[infoDictionary.author-name]]">
24
<email address="[[infoDictionary.author-email]]"/>
25
<url url="[[infoDictionary.author-url]]"/>
26
<desc>[[infoDictionary.author-desc]]</desc>
28
<version>[[version]]</version>
29
<date>[[timestampString]]</date>
31
[[if mainInterface.interfaceTitle == Class]]
32
[<uref url="[[mainInterface.className]].gsdoc">Source : [[mainInterface.className]].gsdoc</uref>]
34
[[if mainInterface.interfaceTitle == Category]]
35
[<uref url="[[mainInterface.className]]+[[mainInterface.categoryName]].gsdoc">Source : [[mainInterface.className]]+[[mainInterface.categoryName]].gsdoc</uref>]
37
[[if mainInterface.interfaceTitle == Protocol]]
38
[<uref url="[[mainInterface.protocolName]]Protocol.gsdoc">Source : [[mainInterface.protocolName]]Protocol.gsdoc</uref>]
42
<uref url="[[infoDictionary.dtd-url]]">DTD</uref>] </abstract>
43
<copy>[[copyrightYear]][[if copyrightOwner.length > 0]] by [[copyrightOwner]][[endif]]</copy>
51
[[if hasMainInterface == 1]]
53
[[endif hasMainInterface == 1]]
55
[[if hasMainInterface == 1]]
56
<heading>[[mainTitle]]</heading>
57
[[if mainInterface.interfaceTitle == Class]]
58
<class name="[[mainInterface.className]]" [[if mainInterface.inheritsString.length > 0]] super="[[mainInterface.inheritsString]]"[[endif]]>
60
[[if mainInterface.interfaceTitle == Category]]
61
<category name="[[mainInterface.categoryName]]" class="[[mainInterface.className]]">
63
[[if mainInterface.interfaceTitle == Protocol]]
64
<protocol name="[[mainInterface.protocolName]]">
69
<declared>[[importString]]</declared>
71
[[if mainInterface.conformedProtocols.count > 0]]
72
[[foreach protocolName mainInterface.conformedProtocols prot1]]
73
<conform>[[protocolName]]</conform>
75
[[endif conformedProtocols]]
76
[[endif hasMainInterface == 1]]
81
[[if hasMainInterface == 1]]
83
[[mainInterface.interfaceTitle]] Description -
84
[[mainInterface.entityDescription.formattedCommentString]]
86
[[endif hasMainInterface == 1]]
88
[[if hasMainInterface != 0]][[comment - Everything else is only done if we have an interface]]
93
[[if mainInterface.interfaceTitle == Class]]
94
[[if mainInterface.ivarArray.count > 0]]
95
[[comment Instance Variables]]
96
[[foreach ivar mainInterface.ivarArray ivar1]]
97
<ivariable name="[[ivar.fullName]]" type="[[ivar.formattedType]]" posttype="[[ivar.posttype]]">
98
<desc>[[ivar.entityDescription.formattedCommentString]]</desc>
101
[[endif ivarArray]][[endif Class]]
107
[[if mainInterface.classMethods.count > 0]]
108
[[comment Class Methods]]
109
[[foreach method mainInterface.classMethods method1]]
110
[[if methodIndex > 0]] [[comment Start]] [[endif]]
111
[[comment <uref url="//apple_ref/occ/[[if mainInterface.interfaceTitle == Protocol]]intfm[[else]]clm[[endif]]/[[mainTitle]]/[[method.selectorName]]"></uref>
112
<uref url="[[method.methodName]]">[[method.selectorName]]</uref>]]
113
[[comment +]]<method type="[[method.formattedReturnType]]" factory="yes">
114
[[if method.argumentCount == 0]]
115
<sel>[[method.selectorName]]</sel>
117
[[foreach arg method.arguments arg1]]
118
[[if argIndex > 0]] [[endif]]
119
<sel>[[arg.argName]]:</sel>
120
<arg type="[[arg.argType]]">[[arg.varName]]</arg>
123
<desc>[[method.entityDescription.formattedCommentString]]</desc>
125
[[if methodIndex > 0]] [[comment Stop]] [[endif]]
126
[[endforeach method1]]
127
[[endif classMethods]]
130
[[if mainInterface.instanceMethods.count > 0]]
131
[[comment Instance Methods]]
132
[[foreach method mainInterface.instanceMethods method1]]
133
[[if methodIndex > 0]] [[comment Start]] [[endif]]
134
[[comment <uref url="//apple_ref/occ/[[if mainInterface.interfaceTitle == Protocol]]intfm[[else]]instm[[endif]]/[[mainTitle]]/[[method.selectorName]]"></uref>
135
<uref url="[[method.methodName]]">[[method.selectorName]]</uref>]]
136
[[comment -]] <method type="[[method.formattedReturnType]]">
137
[[if method.argumentCount == 0]]
138
<sel>[[method.selectorName]]</sel>
140
[[foreach arg method.arguments arg1]]
141
[[if argIndex > 0]] [[endif]]
142
<sel>[[arg.argName]]:</sel>
143
<arg type="[[arg.argType]]">[[arg.varName]]</arg>
146
<desc>[[method.entityDescription.formattedCommentString]]</desc>
148
[[if methodIndex > 0]] [[comment Stop]] [[endif]]
149
[[endforeach method1]]
150
[[endif instanceMethods]]
152
[[if mainInterface.interfaceTitle == Class]]
155
[[if mainInterface.interfaceTitle == Category]]
158
[[if mainInterface.interfaceTitle == Protocol]]
163
[[endif hasMainInterface]]
165
[[if hasMainInterface == 1]]
167
[[endif hasMainInterface == 1]]
172
[[if typedefArray.count > 0]]
174
<heading>Defined Types</heading>
176
[[foreach group typedefGroupArray group4]]
177
[[foreach typedef group.itemArray typedef1]]
178
[[comment <uref url="//apple_ref/c/tdef/[[typedef.name]]">[[typedef.name]]</uref>]]
179
<type name="[[typedef.name]]">
180
<typespec>[[typedef.formattedValue]][[typedef.suffixValue]]</typespec>
181
[[if group.comment.commentString.length > 0]]
183
[[group.comment.formattedCommentString]]
185
[[endif commentLength]]
187
[[endforeach typedef1]]
188
[[endforeach group4]]
190
[[endif typedefArray]]
193
[[if constantArray.count > 0]]
195
<heading>Symbolic Constants</heading>
196
[[foreach group constantGroupArray group5]]
197
[[foreach constant group.itemArray constant1]]
198
[[comment <uref url="//apple_ref/c/econst/[[constant.name]]">[[constant.name]]</uref>]]
199
<constant name="[[constant.name]]" value="[[constant.formattedValue]]">
200
[[if group.comment.commentString.length > 0]]
201
<desc>[[group.comment.formattedCommentString]]</desc>
202
[[endif commentLength]]
204
[[endforeach constant1]]
205
[[endforeach group5]]
207
[[endif constantArray]]
210
[[if macroArray.count > 0]]
212
<heading>Macro Definitions</heading>
213
[[foreach group macroGroupArray group2]]
214
[[foreach macro group.itemArray macro1]]
215
<macro name="[[macro.name]]">
216
<arg>[[macro.parameterString]]</arg>
217
[[if group.comment.commentString.length > 0]]
218
<desc>[[group.comment.formattedCommentString]]</desc>
219
[[endif commentLength]]
221
[[endforeach macro1]]
222
[[endforeach group2]]
227
[[if functionArray.count > 0]]
229
<heading>Functions</heading>
230
[[foreach group functionGroupArray group3]]
231
[[foreach function group.itemArray function1]]
232
[[comment <uref url="//apple_ref/c/func/[[function.name]]">[[function.name]]</uref>]]
233
<function name="[[function.name]]" type="[[function.formattedType]]">
234
<desc><p>[[function.formattedParameterString]]</p>
235
[[if group.comment.commentString.length > 0]]
236
<p>[[group.comment.formattedCommentString]]</p>
237
[[endif commentLength]]</desc></function>
238
[[endforeach function1]]
239
[[endforeach group3]]
241
[[endif functionArray]]
244
[[if inlineFunctionArray.count > 0]]
246
<heading>Static Inline Functions</heading>
247
[[foreach group inlineFunctionGroupArray group3]]
248
[[foreach function group.itemArray function1]]
249
[[comment <uref url="//apple_ref/c/func/[[function.name]]">[[function.name]]</uref>]]
250
<function name="[[function.name]]" type="[[function.formattedType]]">
251
<desc><p>[[function.formattedParameterString]]<</p>
252
[[if group.comment.commentString.length > 0]]
253
<p>[[group.comment.formattedCommentString]]</p>
254
[[endif commentLength]]</desc></function>
255
[[endforeach function1]]
256
[[endforeach group3]]
258
[[endif inlineFunctionArray]]
261
[[if variableArray.count > 0]]
263
<heading>Global Variables</heading>
264
[[foreach group variableGroupArray group6]]
265
[[foreach global group.itemArray global1]]
266
[[comment <uref url="//apple_ref/c/data/[[global.name]]">[[global.name]]</uref>]]
267
<variable name="[[global.name]]" type="[[global.formattedType]]" posttype="[[global.posttype]]">
268
[[if group.comment.commentString.length > 0]]
269
<desc>[[group.comment.formattedCommentString]]</desc>
270
[[endif commentLength]]
272
[[endforeach global1]]
273
[[endforeach group6]]
275
[[endif variableArray]]