]>
Commit | Line | Data |
---|---|---|
c90f71dd RD |
1 | /******************************************************************************* |
2 | * Simplified Wrapper and Interface Generator (SWIG) | |
3 | * | |
4 | * Author : David Beazley | |
5 | * | |
6 | * Department of Computer Science | |
7 | * University of Chicago | |
8 | * 1100 E 58th Street | |
9 | * Chicago, IL 60637 | |
10 | * beazley@cs.uchicago.edu | |
11 | * | |
12 | * Please read the file LICENSE for the copyright and terms by which SWIG | |
13 | * can be used and distributed. | |
14 | *******************************************************************************/ | |
15 | /*********************************************************************** | |
16 | * $Header$ | |
17 | * | |
18 | * ascii.h | |
19 | * | |
20 | * ASCII specific functions for producing documentation. Basically | |
21 | * prints things out as 80 column ASCII. | |
22 | ***********************************************************************/ | |
23 | ||
24 | class ASCII : public Documentation { | |
25 | private: | |
26 | FILE *f_doc; | |
27 | char fn[256]; | |
28 | void print_string(char *s,int indent,int mode); | |
29 | int indent; // Indentation (for formatting) | |
30 | int columns; // Number of columns (for formatting) | |
31 | int sect_count; // Section counter | |
32 | int sect_num[20]; // Section numbers | |
33 | // Style parameters | |
34 | public: | |
35 | ASCII(); | |
36 | void parse_args(int argc, char **argv); | |
37 | void title(DocEntry *de); | |
38 | void newsection(DocEntry *de, int sectnum); | |
39 | void endsection(); | |
40 | void print_decl(DocEntry *de); | |
41 | void print_text(DocEntry *de); | |
42 | void separator(); | |
43 | void init(char *filename); | |
44 | void close(void); | |
45 | void style(char *name, char *value); | |
46 | }; | |
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 |