011_category.m
Go to the documentation of this file.
1 // objective: test the \interface and \category command
2 // check: category_integer_07_arithmetic_08.xml
3 // check: interface_integer.xml
4 # import <objc/Object.h>
5 
6 @interface Integer : Object {
7  /** data member */
8  int integer;
9 }
10 
11 /** getter */
12 - (int) integer;
13 /** setter */
14 - (id) integer: (int) _integer;
15 @end
16 
18 /** add operation */
19 - (id) add: (Integer *) addend;
20 /** subtract operation */
21 - (id) sub: (Integer *) subtrahend;
22 @end
23 
24 /** \interface Integer
25  * An interface
26  */
27 
28 /** \category Integer(Arithmetic)
29  * A category
30  */
int integer
Definition: 011_category.m:8
int integer()
Coord add(Coord c1, Coord c2)
Definition: restypedef.cpp:23
Definition: manual.c:13
std::string sub(const std::string &a, const std::string &b)
Definition: TruthText.cxx:100