comparison anagram/guisupport/anom.h @ 0:13d2b8934445

Import AnaGram (near-)release tree into Mercurial.
author David A. Holland
date Sat, 22 Dec 2007 17:52:45 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:13d2b8934445
1 /*
2 * AnaGram, A System for Syntax Directed Programming
3 * Copyright 1993-1999 Parsifal Software. All Rights Reserved.
4 * See the file COPYING for license and usage terms.
5 *
6 * anom.h - Anomaly diagnosis module
7 */
8
9 #ifndef ANOM_H
10 #define ANOM_H
11
12 #include "dc.h"
13
14 class anomaly_table_dc : public dc {
15 private:
16 // No data specific to the display
17
18 public:
19
20 // function definitions are in Anom.cpp
21
22 // Menu options
23 static MenuOption *auxTable[];
24 virtual MenuOption **getAuxWinMenu(void) { return auxTable; }
25
26 // Constructor
27 anomaly_table_dc(void);
28
29 // Copy constructor
30 anomaly_table_dc(anomaly_table_dc &x) : dc(x) {}
31
32 // Display support
33 virtual void getLine(unsigned) const;
34 virtual void synchCursor(unsigned) const;
35
36
37 // Auxiliary information
38 dc_ref anomaly_trace(unsigned);
39 dc_ref reduction_states(unsigned);
40 dc_ref reduction_trace(unsigned);
41 dc_ref derive_rule(unsigned);
42 dc_ref state_definition(unsigned);
43
44 int reduction_states_ok(unsigned);
45 };
46
47
48 #endif /* ANOM_H */