2 |
7u83 |
1 |
/*
|
|
|
2 |
Crown Copyright (c) 1997
|
|
|
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 |
#ifndef CLASS_INCLUDED
|
|
|
32 |
#define CLASS_INCLUDED
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
/*
|
|
|
36 |
CLASS AND ENUMERATION TYPE DECLARATIONS
|
|
|
37 |
|
|
|
38 |
The routines in this module are concerned with the construction of class
|
|
|
39 |
and enumeration types.
|
|
|
40 |
*/
|
|
|
41 |
|
|
|
42 |
extern IDENTIFIER begin_class_defn PROTO_S ( ( IDENTIFIER, BASE_TYPE, CLASS_INFO, TYPE ) ) ;
|
|
|
43 |
extern IDENTIFIER end_class_defn PROTO_S ( ( IDENTIFIER ) ) ;
|
|
|
44 |
extern IDENTIFIER find_elaborate_type PROTO_S ( ( IDENTIFIER, BASE_TYPE, TYPE, DECL_SPEC ) ) ;
|
|
|
45 |
extern IDENTIFIER make_class PROTO_S ( ( NAMESPACE, HASHID, BASE_TYPE, DECL_SPEC, TYPE, TYPE ) ) ;
|
|
|
46 |
extern CLASS_TYPE parent_class PROTO_S ( ( IDENTIFIER ) ) ;
|
|
|
47 |
extern CLASS_TYPE namespace_class PROTO_S ( ( NAMESPACE ) ) ;
|
|
|
48 |
extern void copy_members PROTO_S ( ( CLASS_TYPE, CLASS_TYPE, CLASS_INFO, int ) ) ;
|
|
|
49 |
extern TYPE copy_class PROTO_S ( ( TYPE, DECL_SPEC ) ) ;
|
|
|
50 |
extern IDENTIFIER find_copied PROTO_S ( ( IDENTIFIER, IDENTIFIER, int ) ) ;
|
|
|
51 |
extern ERROR class_info PROTO_S ( ( CLASS_TYPE, CLASS_INFO, int ) ) ;
|
|
|
52 |
extern ERROR check_trivial_class PROTO_S ( ( CLASS_TYPE ) ) ;
|
|
|
53 |
extern CLASS_INFO check_member_type PROTO_S ( ( CLASS_TYPE, CLASS_INFO, TYPE, int ) ) ;
|
|
|
54 |
extern CLASS_INFO check_class_info PROTO_S ( ( CLASS_INFO, CLASS_INFO, int, DECL_SPEC ) ) ;
|
|
|
55 |
extern BASE_TYPE find_class_key PROTO_S ( ( CLASS_TYPE ) ) ;
|
|
|
56 |
extern int equal_key PROTO_S ( ( BASE_TYPE, BASE_TYPE ) ) ;
|
|
|
57 |
extern TYPE make_dummy_class PROTO_S ( ( IDENTIFIER, LIST ( TOKEN ), BASE_TYPE ) ) ;
|
|
|
58 |
extern int is_defined PROTO_S ( ( IDENTIFIER, TYPE *, int ) ) ;
|
|
|
59 |
extern int is_local_nspace PROTO_S ( ( NAMESPACE ) ) ;
|
|
|
60 |
extern CLASS_TYPE find_class PROTO_S ( ( IDENTIFIER ) ) ;
|
|
|
61 |
extern TYPE make_class_type PROTO_S ( ( CLASS_TYPE ) ) ;
|
|
|
62 |
extern int is_empty_class PROTO_S ( ( TYPE ) ) ;
|
|
|
63 |
|
|
|
64 |
extern IDENTIFIER begin_enum_defn PROTO_S ( ( IDENTIFIER, TYPE ) ) ;
|
|
|
65 |
extern IDENTIFIER make_enumerator PROTO_S ( ( IDENTIFIER, IDENTIFIER, EXP ) ) ;
|
|
|
66 |
extern IDENTIFIER find_enumerator PROTO_S ( ( ENUM_TYPE, NAT ) ) ;
|
|
|
67 |
extern IDENTIFIER end_enum_defn PROTO_S ( ( IDENTIFIER ) ) ;
|
|
|
68 |
extern IDENTIFIER make_typedef PROTO_S ( ( NAMESPACE, HASHID, TYPE, DECL_SPEC ) ) ;
|
|
|
69 |
extern IDENTIFIER constr_name PROTO_S ( ( NAMESPACE, IDENTIFIER ) ) ;
|
|
|
70 |
extern int defining_class PROTO_S ( ( CLASS_TYPE ) ) ;
|
|
|
71 |
extern void push_class PROTO_S ( ( CLASS_TYPE ) ) ;
|
|
|
72 |
extern void pop_class PROTO_S ( ( void ) ) ;
|
|
|
73 |
extern int found_elaborate_type ;
|
|
|
74 |
extern CLASS_TYPE crt_class ;
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
#endif
|