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 ERR_OPS_H_INCLUDED
|
|
|
36 |
#define ERR_OPS_H_INCLUDED
|
|
|
37 |
|
|
|
38 |
/* Operations for union ERROR */
|
|
|
39 |
|
|
|
40 |
#pragma token PROC ( EXP : ERROR : ) EXP : unsigned : TAG_err #
|
|
|
41 |
#pragma interface TAG_err
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
/* Operations for component severity of union ERROR */
|
|
|
45 |
|
|
|
46 |
#pragma token PROC ( EXP : ERROR : )\
|
|
|
47 |
EXP : PTR ( int ) : err_severity #
|
|
|
48 |
#pragma interface err_severity
|
|
|
49 |
|
|
|
50 |
/* Operations for field simple of union ERROR */
|
|
|
51 |
|
|
|
52 |
#pragma token EXP const : unsigned : err_simple_tag #
|
|
|
53 |
#pragma token PROC ( EXP : ERROR : ) EXP : int : IS_err_simple #
|
|
|
54 |
#pragma interface err_simple_tag IS_err_simple
|
|
|
55 |
|
|
|
56 |
#pragma token PROC ( EXP : ERROR : )\
|
|
|
57 |
EXP : PTR ( int ) : err_simple_number #
|
|
|
58 |
#pragma interface err_simple_number
|
|
|
59 |
|
|
|
60 |
#pragma token PROC ( EXP : ERROR : )\
|
|
|
61 |
EXP : PTR ( unsigned ) : err_simple_size #
|
|
|
62 |
#pragma interface err_simple_size
|
|
|
63 |
|
|
|
64 |
#pragma token PROC (\
|
|
|
65 |
EXP : int :,\
|
|
|
66 |
EXP : int :,\
|
|
|
67 |
EXP lvalue : ERROR :\
|
|
|
68 |
) STATEMENT MAKE_err_simple #
|
|
|
69 |
#pragma interface MAKE_err_simple
|
|
|
70 |
|
|
|
71 |
#pragma token PROC (\
|
|
|
72 |
EXP lvalue : int :,\
|
|
|
73 |
EXP lvalue : int :,\
|
|
|
74 |
EXP lvalue : unsigned :,\
|
|
|
75 |
EXP : ERROR :\
|
|
|
76 |
) STATEMENT DECONS_err_simple #
|
|
|
77 |
#pragma interface DECONS_err_simple
|
|
|
78 |
|
|
|
79 |
#pragma token PROC (\
|
|
|
80 |
EXP : DESTROYER :,\
|
|
|
81 |
EXP lvalue : int :,\
|
|
|
82 |
EXP lvalue : int :,\
|
|
|
83 |
EXP lvalue : unsigned :,\
|
|
|
84 |
EXP : ERROR :\
|
|
|
85 |
) STATEMENT DESTROY_err_simple #
|
|
|
86 |
#pragma interface DESTROY_err_simple
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
/* Operations for field compound of union ERROR */
|
|
|
90 |
|
|
|
91 |
#pragma token EXP const : unsigned : err_compound_tag #
|
|
|
92 |
#pragma token PROC ( EXP : ERROR : ) EXP : int : IS_err_compound #
|
|
|
93 |
#pragma interface err_compound_tag IS_err_compound
|
|
|
94 |
|
|
|
95 |
#pragma token PROC ( EXP : ERROR : )\
|
|
|
96 |
EXP : PTR ( ERROR ) : err_compound_head #
|
|
|
97 |
#pragma interface err_compound_head
|
|
|
98 |
|
|
|
99 |
#pragma token PROC ( EXP : ERROR : )\
|
|
|
100 |
EXP : PTR ( ERROR ) : err_compound_tail #
|
|
|
101 |
#pragma interface err_compound_tail
|
|
|
102 |
|
|
|
103 |
#pragma token PROC (\
|
|
|
104 |
EXP : int :,\
|
|
|
105 |
EXP : ERROR :,\
|
|
|
106 |
EXP : ERROR :,\
|
|
|
107 |
EXP lvalue : ERROR :\
|
|
|
108 |
) STATEMENT MAKE_err_compound #
|
|
|
109 |
#pragma interface MAKE_err_compound
|
|
|
110 |
|
|
|
111 |
#pragma token PROC (\
|
|
|
112 |
EXP lvalue : int :,\
|
|
|
113 |
EXP lvalue : ERROR :,\
|
|
|
114 |
EXP lvalue : ERROR :,\
|
|
|
115 |
EXP : ERROR :\
|
|
|
116 |
) STATEMENT DECONS_err_compound #
|
|
|
117 |
#pragma interface DECONS_err_compound
|
|
|
118 |
|
|
|
119 |
#pragma token PROC (\
|
|
|
120 |
EXP : DESTROYER :,\
|
|
|
121 |
EXP lvalue : int :,\
|
|
|
122 |
EXP lvalue : ERROR :,\
|
|
|
123 |
EXP lvalue : ERROR :,\
|
|
|
124 |
EXP : ERROR :\
|
|
|
125 |
) STATEMENT DESTROY_err_compound #
|
|
|
126 |
#pragma interface DESTROY_err_compound
|
|
|
127 |
|
|
|
128 |
|
|
|
129 |
#endif
|