Subversion Repositories tendra.SVN

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 7
Line 1... Line 1...
1
/*
1
/*
2
    		 Crown Copyright (c) 1997
2
    		 Crown Copyright (c) 1997
3
    
3
 
4
    This TenDRA(r) Computer Program is subject to Copyright
4
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
5
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
6
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
7
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
8
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
9
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
10
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
11
    shall be deemed to be acceptance of the following conditions:-
12
    
12
 
13
        (1) Its Recipients shall ensure that this Notice is
13
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
14
        reproduced upon any copies or amended versions of it;
15
    
15
 
16
        (2) Any amended version of it shall be clearly marked to
16
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
17
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
18
        for the relevant amendment or amendments;
19
    
19
 
20
        (3) Its onward transfer from a recipient to another
20
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
21
        party shall be deemed to be that party's acceptance of
22
        these conditions;
22
        these conditions;
23
    
23
 
24
        (4) DERA gives no warranty or assurance as to its
24
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
25
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
26
        no liability whatsoever in relation to any use to which
27
        it may be put.
27
        it may be put.
28
*/
28
*/
Line 35... Line 35...
35
#ifndef ENTRY_OPS_H_INCLUDED
35
#ifndef ENTRY_OPS_H_INCLUDED
36
#define ENTRY_OPS_H_INCLUDED
36
#define ENTRY_OPS_H_INCLUDED
37
 
37
 
38
/* Operations for union ENTRY */
38
/* Operations for union ENTRY */
39
 
39
 
40
#pragma token PROC ( EXP : ENTRY : ) EXP : unsigned : TAG_entry #
40
#pragma token PROC(EXP : ENTRY :) EXP : unsigned : TAG_entry #
41
#pragma interface TAG_entry
41
#pragma interface TAG_entry
42
 
42
 
43
 
43
 
44
/* Operations for component name of union ENTRY */
44
/* Operations for component name of union ENTRY */
45
 
45
 
46
#pragma token PROC ( EXP : ENTRY : )\
46
#pragma token PROC(EXP : ENTRY :)\
47
    EXP : PTR ( string ) : entry_name #
47
    EXP : PTR(string) : entry_name #
48
#pragma interface entry_name
48
#pragma interface entry_name
49
 
49
 
50
/* Operations for component alt_name of union ENTRY */
50
/* Operations for component alt_name of union ENTRY */
51
 
51
 
52
#pragma token PROC ( EXP : ENTRY : )\
52
#pragma token PROC(EXP : ENTRY :)\
53
    EXP : PTR ( string ) : entry_alt_name #
53
    EXP : PTR(string) : entry_alt_name #
54
#pragma interface entry_alt_name
54
#pragma interface entry_alt_name
55
 
55
 
56
/* Operations for component signature of union ENTRY */
56
/* Operations for component signature of union ENTRY */
57
 
57
 
58
#pragma token PROC ( EXP : ENTRY : )\
58
#pragma token PROC(EXP : ENTRY :)\
59
    EXP : PTR ( LIST ( PARAM ) ) : entry_signature #
59
    EXP : PTR(LIST(PARAM)) : entry_signature #
60
#pragma interface entry_signature
60
#pragma interface entry_signature
61
 
61
 
62
/* Operations for component use of union ENTRY */
62
/* Operations for component use of union ENTRY */
63
 
63
 
64
#pragma token PROC ( EXP : ENTRY : )\
64
#pragma token PROC(EXP : ENTRY :)\
65
    EXP : PTR ( USAGE ) : entry_use #
65
    EXP : PTR(USAGE) : entry_use #
66
#pragma interface entry_use
66
#pragma interface entry_use
67
 
67
 
68
/* Operations for component alt_use of union ENTRY */
68
/* Operations for component alt_use of union ENTRY */
69
 
69
 
70
#pragma token PROC ( EXP : ENTRY : )\
70
#pragma token PROC(EXP : ENTRY :)\
71
    EXP : PTR ( USAGE ) : entry_alt_use #
71
    EXP : PTR(USAGE) : entry_alt_use #
72
#pragma interface entry_alt_use
72
#pragma interface entry_alt_use
73
 
73
 
74
/* Operations for component props of union ENTRY */
74
/* Operations for component props of union ENTRY */
75
 
75
 
76
#pragma token PROC ( EXP : ENTRY : )\
76
#pragma token PROC(EXP : ENTRY :)\
77
    EXP : PTR ( LIST ( PROPERTY ) ) : entry_props #
77
    EXP : PTR(LIST(PROPERTY)) : entry_props #
78
#pragma interface entry_props
78
#pragma interface entry_props
79
 
79
 
80
/* Operations for component maps of union ENTRY */
80
/* Operations for component maps of union ENTRY */
81
 
81
 
82
#pragma token PROC ( EXP : ENTRY : )\
82
#pragma token PROC(EXP : ENTRY :)\
83
    EXP : PTR ( LIST ( MAP ) ) : entry_maps #
83
    EXP : PTR(LIST(MAP)) : entry_maps #
84
#pragma interface entry_maps
84
#pragma interface entry_maps
85
 
85
 
86
/* Operations for field basic of union ENTRY */
86
/* Operations for field basic of union ENTRY */
87
 
87
 
88
#pragma token EXP const : unsigned : entry_basic_tag #
88
#pragma token EXP const : unsigned : entry_basic_tag #
89
#pragma token PROC ( EXP : ENTRY : ) EXP : int : IS_entry_basic #
89
#pragma token PROC(EXP : ENTRY :) EXP : int : IS_entry_basic #
90
#pragma interface entry_basic_tag IS_entry_basic
90
#pragma interface entry_basic_tag IS_entry_basic
91
 
91
 
92
#pragma token PROC (\
92
#pragma token PROC(\
93
	EXP : string :,\
93
	EXP : string :,\
94
	EXP : string :,\
94
	EXP : string :,\
95
	EXP : LIST ( PARAM ) :,\
95
	EXP : LIST(PARAM) :,\
96
	EXP : USAGE :,\
96
	EXP : USAGE :,\
97
	EXP : USAGE :,\
97
	EXP : USAGE :,\
98
	EXP : LIST ( PROPERTY ) :,\
98
	EXP : LIST(PROPERTY) :,\
99
	EXP : LIST ( MAP ) :,\
99
	EXP : LIST(MAP) :,\
100
	EXP lvalue : ENTRY :\
100
	EXP lvalue : ENTRY :\
101
    ) STATEMENT MAKE_entry_basic #
101
    ) STATEMENT MAKE_entry_basic #
102
#pragma interface MAKE_entry_basic
102
#pragma interface MAKE_entry_basic
103
 
103
 
104
#pragma token PROC (\
104
#pragma token PROC(\
105
	EXP lvalue : string :,\
105
	EXP lvalue : string :,\
106
	EXP lvalue : string :,\
106
	EXP lvalue : string :,\
107
	EXP lvalue : LIST ( PARAM ) :,\
107
	EXP lvalue : LIST(PARAM) :,\
108
	EXP lvalue : USAGE :,\
108
	EXP lvalue : USAGE :,\
109
	EXP lvalue : USAGE :,\
109
	EXP lvalue : USAGE :,\
110
	EXP lvalue : LIST ( PROPERTY ) :,\
110
	EXP lvalue : LIST(PROPERTY) :,\
111
	EXP lvalue : LIST ( MAP ) :,\
111
	EXP lvalue : LIST(MAP) :,\
112
	EXP : ENTRY :\
112
	EXP : ENTRY :\
113
    ) STATEMENT DECONS_entry_basic #
113
    ) STATEMENT DECONS_entry_basic #
114
#pragma interface DECONS_entry_basic
114
#pragma interface DECONS_entry_basic
115
 
115
 
116
#pragma token PROC (\
116
#pragma token PROC(\
117
	EXP : DESTROYER :,\
117
	EXP : DESTROYER :,\
118
	EXP lvalue : string :,\
118
	EXP lvalue : string :,\
119
	EXP lvalue : string :,\
119
	EXP lvalue : string :,\
120
	EXP lvalue : LIST ( PARAM ) :,\
120
	EXP lvalue : LIST(PARAM) :,\
121
	EXP lvalue : USAGE :,\
121
	EXP lvalue : USAGE :,\
122
	EXP lvalue : USAGE :,\
122
	EXP lvalue : USAGE :,\
123
	EXP lvalue : LIST ( PROPERTY ) :,\
123
	EXP lvalue : LIST(PROPERTY) :,\
124
	EXP lvalue : LIST ( MAP ) :,\
124
	EXP lvalue : LIST(MAP) :,\
125
	EXP : ENTRY :\
125
	EXP : ENTRY :\
126
    ) STATEMENT DESTROY_entry_basic #
126
    ) STATEMENT DESTROY_entry_basic #
127
#pragma interface DESTROY_entry_basic
127
#pragma interface DESTROY_entry_basic
128
 
128
 
129
 
129