This is aClass.h in view mode; [Download] [Up]
@interface aClass : Object <aProto>
{
int anint; // This is just an integer.
char *astring; /* docgen will also print comments inside here */
}
/* This comment won't be documented. When you declare your methods
you can put comments to document each type of method
Docgen will use either C++ or standard C comments.
*/
// This is a class method
+initialize;
/* These methods set up a new instance */
-init;
-initWith:zippo also:(int)zappo;
// These methods set the instance variables
-setAnint:(int)num;
-setAstring:(char *)string;
// Return i-vars
-(int)anint;
-(char *)astring;
// Free the object
-freestring;
-free;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.