2 |
7u83 |
1 |
/*
|
|
|
2 |
Crown Copyright (c) 1997, 1998
|
|
|
3 |
|
|
|
4 |
This TenDRA(r) Computer Program is subject to Copyright
|
|
|
5 |
owned by the United Kingdom Secretary of State for Defence
|
|
|
6 |
acting through the Defence Evaluation and Research Agency
|
|
|
7 |
(DERA). It is made available to Recipients with a
|
|
|
8 |
royalty-free licence for its use, reproduction, transfer
|
|
|
9 |
to other parties and amendment for any purpose not excluding
|
|
|
10 |
product development provided that any such use et cetera
|
|
|
11 |
shall be deemed to be acceptance of the following conditions:-
|
|
|
12 |
|
|
|
13 |
(1) Its Recipients shall ensure that this Notice is
|
|
|
14 |
reproduced upon any copies or amended versions of it;
|
|
|
15 |
|
|
|
16 |
(2) Any amended version of it shall be clearly marked to
|
|
|
17 |
show both the nature of and the organisation responsible
|
|
|
18 |
for the relevant amendment or amendments;
|
|
|
19 |
|
|
|
20 |
(3) Its onward transfer from a recipient to another
|
|
|
21 |
party shall be deemed to be that party's acceptance of
|
|
|
22 |
these conditions;
|
|
|
23 |
|
|
|
24 |
(4) DERA gives no warranty or assurance as to its
|
|
|
25 |
quality or suitability for any purpose and DERA accepts
|
|
|
26 |
no liability whatsoever in relation to any use to which
|
|
|
27 |
it may be put.
|
|
|
28 |
*/
|
|
|
29 |
|
|
|
30 |
/*
|
|
|
31 |
AUTOMATICALLY GENERATED FROM ALGEBRA c_class (VERSION 1.1)
|
|
|
32 |
BY calculus (VERSION 1.2)
|
|
|
33 |
*/
|
|
|
34 |
|
|
|
35 |
#ifndef GRAPH_OPS_H_INCLUDED
|
|
|
36 |
#define GRAPH_OPS_H_INCLUDED
|
|
|
37 |
|
|
|
38 |
/* Operations for union GRAPH */
|
|
|
39 |
|
|
|
40 |
#pragma token PROC ( EXP : GRAPH : ) EXP : unsigned : TAG_graph #
|
|
|
41 |
#pragma interface TAG_graph
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
/* Operations for component head of union GRAPH */
|
|
|
45 |
|
|
|
46 |
#pragma token PROC ( EXP : GRAPH : )\
|
|
|
47 |
EXP : PTR ( CLASS_TYPE ) : graph_head #
|
|
|
48 |
#pragma interface graph_head
|
|
|
49 |
|
|
|
50 |
/* Operations for component access of union GRAPH */
|
|
|
51 |
|
|
|
52 |
#pragma token PROC ( EXP : GRAPH : )\
|
|
|
53 |
EXP : PTR ( DECL_SPEC ) : graph_access #
|
|
|
54 |
#pragma interface graph_access
|
|
|
55 |
|
|
|
56 |
/* Operations for component tails of union GRAPH */
|
|
|
57 |
|
|
|
58 |
#pragma token PROC ( EXP : GRAPH : )\
|
|
|
59 |
EXP : PTR ( LIST ( GRAPH ) ) : graph_tails #
|
|
|
60 |
#pragma interface graph_tails
|
|
|
61 |
|
|
|
62 |
/* Operations for component top of union GRAPH */
|
|
|
63 |
|
|
|
64 |
#pragma token PROC ( EXP : GRAPH : )\
|
|
|
65 |
EXP : PTR ( GRAPH ) : graph_top #
|
|
|
66 |
#pragma interface graph_top
|
|
|
67 |
|
|
|
68 |
/* Operations for component equal of union GRAPH */
|
|
|
69 |
|
|
|
70 |
#pragma token PROC ( EXP : GRAPH : )\
|
|
|
71 |
EXP : PTR ( GRAPH ) : graph_equal #
|
|
|
72 |
#pragma interface graph_equal
|
|
|
73 |
|
|
|
74 |
/* Operations for component up of union GRAPH */
|
|
|
75 |
|
|
|
76 |
#pragma token PROC ( EXP : GRAPH : )\
|
|
|
77 |
EXP : PTR ( GRAPH ) : graph_up #
|
|
|
78 |
#pragma interface graph_up
|
|
|
79 |
|
|
|
80 |
/* Operations for component no of union GRAPH */
|
|
|
81 |
|
|
|
82 |
#pragma token PROC ( EXP : GRAPH : )\
|
|
|
83 |
EXP : PTR ( unsigned ) : graph_no #
|
|
|
84 |
#pragma interface graph_no
|
|
|
85 |
|
|
|
86 |
/* Operations for component off of union GRAPH */
|
|
|
87 |
|
|
|
88 |
#pragma token PROC ( EXP : GRAPH : )\
|
|
|
89 |
EXP : PTR ( OFFSET ) : graph_off #
|
|
|
90 |
#pragma interface graph_off
|
|
|
91 |
|
|
|
92 |
/* Operations for component member of union GRAPH */
|
|
|
93 |
|
|
|
94 |
#pragma token PROC ( EXP : GRAPH : )\
|
|
|
95 |
EXP : PTR ( LIST ( IDENTIFIER ) ) : graph_member #
|
|
|
96 |
#pragma interface graph_member
|
|
|
97 |
|
|
|
98 |
/* Operations for component tok1 of union GRAPH */
|
|
|
99 |
|
|
|
100 |
#pragma token PROC ( EXP : GRAPH : )\
|
|
|
101 |
EXP : PTR ( ulong_type ) : graph_tok1 #
|
|
|
102 |
#pragma interface graph_tok1
|
|
|
103 |
|
|
|
104 |
/* Operations for component tok2 of union GRAPH */
|
|
|
105 |
|
|
|
106 |
#pragma token PROC ( EXP : GRAPH : )\
|
|
|
107 |
EXP : PTR ( ulong_type ) : graph_tok2 #
|
|
|
108 |
#pragma interface graph_tok2
|
|
|
109 |
|
|
|
110 |
/* Operations for field basic of union GRAPH */
|
|
|
111 |
|
|
|
112 |
#pragma token EXP const : unsigned : graph_basic_tag #
|
|
|
113 |
#pragma token PROC ( EXP : GRAPH : ) EXP : int : IS_graph_basic #
|
|
|
114 |
#pragma interface graph_basic_tag IS_graph_basic
|
|
|
115 |
|
|
|
116 |
#pragma token PROC (\
|
|
|
117 |
EXP : CLASS_TYPE :,\
|
|
|
118 |
EXP : DECL_SPEC :,\
|
|
|
119 |
EXP lvalue : GRAPH :\
|
|
|
120 |
) STATEMENT MAKE_graph_basic #
|
|
|
121 |
#pragma interface MAKE_graph_basic
|
|
|
122 |
|
|
|
123 |
#pragma token PROC (\
|
|
|
124 |
EXP lvalue : CLASS_TYPE :,\
|
|
|
125 |
EXP lvalue : DECL_SPEC :,\
|
|
|
126 |
EXP lvalue : LIST ( GRAPH ) :,\
|
|
|
127 |
EXP lvalue : GRAPH :,\
|
|
|
128 |
EXP lvalue : GRAPH :,\
|
|
|
129 |
EXP lvalue : GRAPH :,\
|
|
|
130 |
EXP lvalue : unsigned :,\
|
|
|
131 |
EXP lvalue : OFFSET :,\
|
|
|
132 |
EXP lvalue : LIST ( IDENTIFIER ) :,\
|
|
|
133 |
EXP lvalue : ulong_type :,\
|
|
|
134 |
EXP lvalue : ulong_type :,\
|
|
|
135 |
EXP : GRAPH :\
|
|
|
136 |
) STATEMENT DECONS_graph_basic #
|
|
|
137 |
#pragma interface DECONS_graph_basic
|
|
|
138 |
|
|
|
139 |
#pragma token PROC (\
|
|
|
140 |
EXP : DESTROYER :,\
|
|
|
141 |
EXP lvalue : CLASS_TYPE :,\
|
|
|
142 |
EXP lvalue : DECL_SPEC :,\
|
|
|
143 |
EXP lvalue : LIST ( GRAPH ) :,\
|
|
|
144 |
EXP lvalue : GRAPH :,\
|
|
|
145 |
EXP lvalue : GRAPH :,\
|
|
|
146 |
EXP lvalue : GRAPH :,\
|
|
|
147 |
EXP lvalue : unsigned :,\
|
|
|
148 |
EXP lvalue : OFFSET :,\
|
|
|
149 |
EXP lvalue : LIST ( IDENTIFIER ) :,\
|
|
|
150 |
EXP lvalue : ulong_type :,\
|
|
|
151 |
EXP lvalue : ulong_type :,\
|
|
|
152 |
EXP : GRAPH :\
|
|
|
153 |
) STATEMENT DESTROY_graph_basic #
|
|
|
154 |
#pragma interface DESTROY_graph_basic
|
|
|
155 |
|
|
|
156 |
|
|
|
157 |
#endif
|