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 PARAM_OPS_H_INCLUDED
35
#ifndef PARAM_OPS_H_INCLUDED
36
#define PARAM_OPS_H_INCLUDED
36
#define PARAM_OPS_H_INCLUDED
37
 
37
 
38
/* Operations for union PARAM */
38
/* Operations for union PARAM */
39
 
39
 
40
#pragma token PROC ( EXP : PARAM : ) EXP : unsigned : TAG_param #
40
#pragma token PROC(EXP : PARAM :) EXP : unsigned : TAG_param #
41
#pragma interface TAG_param
41
#pragma interface TAG_param
42
 
42
 
43
 
43
 
44
/* Operations for component type of union PARAM */
44
/* Operations for component type of union PARAM */
45
 
45
 
46
#pragma token PROC ( EXP : PARAM : )\
46
#pragma token PROC(EXP : PARAM :)\
47
    EXP : PTR ( TYPE ) : param_type #
47
    EXP : PTR(TYPE) : param_type #
48
#pragma interface param_type
48
#pragma interface param_type
49
 
49
 
50
/* Operations for component name of union PARAM */
50
/* Operations for component name of union PARAM */
51
 
51
 
52
#pragma token PROC ( EXP : PARAM : )\
52
#pragma token PROC(EXP : PARAM :)\
53
    EXP : PTR ( string ) : param_name #
53
    EXP : PTR(string) : param_name #
54
#pragma interface param_name
54
#pragma interface param_name
55
 
55
 
56
/* Operations for component number of union PARAM */
56
/* Operations for component number of union PARAM */
57
 
57
 
58
#pragma token PROC ( EXP : PARAM : )\
58
#pragma token PROC(EXP : PARAM :)\
59
    EXP : PTR ( int ) : param_number #
59
    EXP : PTR(int) : param_number #
60
#pragma interface param_number
60
#pragma interface param_number
61
 
61
 
62
/* Operations for field basic of union PARAM */
62
/* Operations for field basic of union PARAM */
63
 
63
 
64
#pragma token EXP const : unsigned : param_basic_tag #
64
#pragma token EXP const : unsigned : param_basic_tag #
65
#pragma token PROC ( EXP : PARAM : ) EXP : int : IS_param_basic #
65
#pragma token PROC(EXP : PARAM :) EXP : int : IS_param_basic #
66
#pragma interface param_basic_tag IS_param_basic
66
#pragma interface param_basic_tag IS_param_basic
67
 
67
 
68
#pragma token PROC (\
68
#pragma token PROC(\
69
	EXP : TYPE :,\
69
	EXP : TYPE :,\
70
	EXP : string :,\
70
	EXP : string :,\
71
	EXP : int :,\
71
	EXP : int :,\
72
	EXP lvalue : PARAM :\
72
	EXP lvalue : PARAM :\
73
    ) STATEMENT MAKE_param_basic #
73
    ) STATEMENT MAKE_param_basic #
74
#pragma interface MAKE_param_basic
74
#pragma interface MAKE_param_basic
75
 
75
 
76
#pragma token PROC (\
76
#pragma token PROC(\
77
	EXP lvalue : TYPE :,\
77
	EXP lvalue : TYPE :,\
78
	EXP lvalue : string :,\
78
	EXP lvalue : string :,\
79
	EXP lvalue : int :,\
79
	EXP lvalue : int :,\
80
	EXP : PARAM :\
80
	EXP : PARAM :\
81
    ) STATEMENT DECONS_param_basic #
81
    ) STATEMENT DECONS_param_basic #
82
#pragma interface DECONS_param_basic
82
#pragma interface DECONS_param_basic
83
 
83
 
84
#pragma token PROC (\
84
#pragma token PROC(\
85
	EXP : DESTROYER :,\
85
	EXP : DESTROYER :,\
86
	EXP lvalue : TYPE :,\
86
	EXP lvalue : TYPE :,\
87
	EXP lvalue : string :,\
87
	EXP lvalue : string :,\
88
	EXP lvalue : int :,\
88
	EXP lvalue : int :,\
89
	EXP : PARAM :\
89
	EXP : PARAM :\