PreGenRecordOf.ttcn 3.39 KB
Newer Older
Elemer Lelik's avatar
Elemer Lelik committed
1
/******************************************************************************
Lenard Nagy's avatar
Lenard Nagy committed
2
 * Copyright (c) 2000-2017 Ericsson Telecom AB
Elemer Lelik's avatar
Elemer Lelik committed
3
4
5
6
7
8
9
10
11
12
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *   Balasko, Jeno
 *   Baranyi, Botond
 *
 ******************************************************************************/
Elemer Lelik's avatar
Elemer Lelik committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88

// This module contains 'record of' and 'set of' type declarations for certain base types.
// It is used for pre-generating the C++ classes that represent these types,
// so they are not re-generated every time they are declared in TTCN-3 or ASN.1
// modules.
module PreGenRecordOf {

// 'record of' declarations (regular):
type record of boolean PREGEN_RECORD_OF_BOOLEAN;

type record of integer PREGEN_RECORD_OF_INTEGER;

type record of float PREGEN_RECORD_OF_FLOAT;

type record of bitstring PREGEN_RECORD_OF_BITSTRING;

type record of hexstring PREGEN_RECORD_OF_HEXSTRING;

type record of octetstring PREGEN_RECORD_OF_OCTETSTRING;

type record of charstring PREGEN_RECORD_OF_CHARSTRING;

type record of universal charstring PREGEN_RECORD_OF_UNIVERSAL_CHARSTRING;

// 'record of' declarations (with optimized memory allocation):
type record of boolean PREGEN_RECORD_OF_BOOLEAN_OPTIMIZED with { extension "optimize:memalloc" };

type record of integer PREGEN_RECORD_OF_INTEGER_OPTIMIZED with { extension "optimize:memalloc" };

type record of float PREGEN_RECORD_OF_FLOAT_OPTIMIZED with { extension "optimize:memalloc" };

type record of bitstring PREGEN_RECORD_OF_BITSTRING_OPTIMIZED with { extension "optimize:memalloc" };

type record of hexstring PREGEN_RECORD_OF_HEXSTRING_OPTIMIZED with { extension "optimize:memalloc" };

type record of octetstring PREGEN_RECORD_OF_OCTETSTRING_OPTIMIZED with { extension "optimize:memalloc" };

type record of charstring PREGEN_RECORD_OF_CHARSTRING_OPTIMIZED with { extension "optimize:memalloc" };

type record of universal charstring PREGEN_RECORD_OF_UNIVERSAL_CHARSTRING_OPTIMIZED with { extension "optimize:memalloc" };

// 'set of' declarations (regular):
type set of boolean PREGEN_SET_OF_BOOLEAN;

type set of integer PREGEN_SET_OF_INTEGER;

type set of float PREGEN_SET_OF_FLOAT;

type set of bitstring PREGEN_SET_OF_BITSTRING;

type set of hexstring PREGEN_SET_OF_HEXSTRING;

type set of octetstring PREGEN_SET_OF_OCTETSTRING;

type set of charstring PREGEN_SET_OF_CHARSTRING;

type set of universal charstring PREGEN_SET_OF_UNIVERSAL_CHARSTRING;

// 'set of' declarations (with optimized memory allocation):
type set of boolean PREGEN_SET_OF_BOOLEAN_OPTIMIZED with { extension "optimize:memalloc" };

type set of integer PREGEN_SET_OF_INTEGER_OPTIMIZED with { extension "optimize:memalloc" };

type set of float PREGEN_SET_OF_FLOAT_OPTIMIZED with { extension "optimize:memalloc" };

type set of bitstring PREGEN_SET_OF_BITSTRING_OPTIMIZED with { extension "optimize:memalloc" };

type set of hexstring PREGEN_SET_OF_HEXSTRING_OPTIMIZED with { extension "optimize:memalloc" };

type set of octetstring PREGEN_SET_OF_OCTETSTRING_OPTIMIZED with { extension "optimize:memalloc" };

type set of charstring PREGEN_SET_OF_CHARSTRING_OPTIMIZED with { extension "optimize:memalloc" };

type set of universal charstring PREGEN_SET_OF_UNIVERSAL_CHARSTRING_OPTIMIZED with { extension "optimize:memalloc" };

}