/[develkit]/DevelopmentKit/Frameworks/DevelopmentKit/ClassTemplate.m
ViewVC logotype

Contents of /DevelopmentKit/Frameworks/DevelopmentKit/ClassTemplate.m

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Jun 9 21:41:52 2003 UTC (20 years, 10 months ago) by stefanu
Branch: MAIN
Changes since 1.3: +16 -0 lines
*** empty log message ***

1 /* [[class.name]]
2
3 Copyright (c)[[date.yearOfCommonEra]] [[project.authorName]]
4
5 Author: [[project.authorName]] [[project.email]]
6 Date: [[date]]
7
8 This file is part of the [[project.name]]
9 */
10
11 #import "[[class.name]].h"
12
13 [[foreach header class.implementationHeaders]]#import <[[header]]>
14 [[end]]
15
16 @implementation [[class.name]]
17 [[foreach method class.instanceMethods]]
18 /**
19 [[method.description]]
20 */
21 - [[method.signature]]
22 {
23 [[method.source]]
24 }
25 [[end]]
26
27 /* Accessor methods */
28
29 [[foreach var class.publicInstanceVariables]]
30 - ([[var.type]])[[var.name]]
31 {
32 return [[var.name]];
33 }
34 [[if not var.isReadOnly]]- (void)set[[var.name.stringWithCapitalisedHead]]:([[var.type]])_value
35 {
36 [[if var.isRetained]]ASSIGN([[var.name]],_value)[[else]][[var.name]] = _value[[end]];
37 }[[end]] [[end]]
38 [[if class.retainedInstanceVariables]]- (void)dealloc
39 {
40 [[foreach var class.retainedInstanceVariables]] RELEASE([[var.name]]);
41 [[end]]}[[end]]
42 @end

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26