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 NAME_OPS_H_INCLUDED
35
#ifndef NAME_OPS_H_INCLUDED
36
#define NAME_OPS_H_INCLUDED
36
#define NAME_OPS_H_INCLUDED
37
 
37
 
38
/* Operations for union NAME */
38
/* Operations for union NAME */
39
 
39
 
40
#pragma token PROC ( EXP : NAME : ) EXP : unsigned : TAG_name #
40
#pragma token PROC(EXP : NAME :) EXP : unsigned : TAG_name #
41
#pragma interface TAG_name
41
#pragma interface TAG_name
42
 
42
 
43
 
43
 
44
/* Operations for component id of union NAME */
44
/* Operations for component id of union NAME */
45
 
45
 
46
#pragma token PROC ( EXP : NAME : )\
46
#pragma token PROC(EXP : NAME :)\
47
    EXP : PTR ( string ) : name_id #
47
    EXP : PTR(string) : name_id #
48
#pragma interface name_id
48
#pragma interface name_id
49
 
49
 
50
/* Operations for component number of union NAME */
50
/* Operations for component number of union NAME */
51
 
51
 
52
#pragma token PROC ( EXP : NAME : )\
52
#pragma token PROC(EXP : NAME :)\
53
    EXP : PTR ( int ) : name_number #
53
    EXP : PTR(int) : name_number #
54
#pragma interface name_number
54
#pragma interface name_number
55
 
55
 
56
/* Operations for field basic of union NAME */
56
/* Operations for field basic of union NAME */
57
 
57
 
58
#pragma token EXP const : unsigned : name_basic_tag #
58
#pragma token EXP const : unsigned : name_basic_tag #
59
#pragma token PROC ( EXP : NAME : ) EXP : int : IS_name_basic #
59
#pragma token PROC(EXP : NAME :) EXP : int : IS_name_basic #
60
#pragma interface name_basic_tag IS_name_basic
60
#pragma interface name_basic_tag IS_name_basic
61
 
61
 
62
#pragma token PROC (\
62
#pragma token PROC(\
63
	EXP : string :,\
63
	EXP : string :,\
64
	EXP : int :,\
64
	EXP : int :,\
65
	EXP lvalue : NAME :\
65
	EXP lvalue : NAME :\
66
    ) STATEMENT MAKE_name_basic #
66
    ) STATEMENT MAKE_name_basic #
67
#pragma interface MAKE_name_basic
67
#pragma interface MAKE_name_basic
68
 
68
 
69
#pragma token PROC (\
69
#pragma token PROC(\
70
	EXP lvalue : string :,\
70
	EXP lvalue : string :,\
71
	EXP lvalue : int :,\
71
	EXP lvalue : int :,\
72
	EXP : NAME :\
72
	EXP : NAME :\
73
    ) STATEMENT DECONS_name_basic #
73
    ) STATEMENT DECONS_name_basic #
74
#pragma interface DECONS_name_basic
74
#pragma interface DECONS_name_basic
75
 
75
 
76
#pragma token PROC (\
76
#pragma token PROC(\
77
	EXP : DESTROYER :,\
77
	EXP : DESTROYER :,\
78
	EXP lvalue : string :,\
78
	EXP lvalue : string :,\
79
	EXP lvalue : int :,\
79
	EXP lvalue : int :,\
80
	EXP : NAME :\
80
	EXP : NAME :\
81
    ) STATEMENT DESTROY_name_basic #
81
    ) STATEMENT DESTROY_name_basic #