d44e3c4f |
1 | /****************************************************************************** |
2 | * Copyright (c) 2000-2016 Ericsson Telecom AB |
3 | * All rights reserved. This program and the accompanying materials |
4 | * are made available under the terms of the Eclipse Public License v1.0 |
5 | * which accompanies this distribution, and is available at |
6 | * http://www.eclipse.org/legal/epl-v10.html |
7 | * |
8 | * Contributors: |
9 | * Balasko, Jeno |
10 | * Baranyi, Botond |
11 | * |
12 | ******************************************************************************/ |
a38c6d4c |
13 | |
14 | // This module contains 'record of' and 'set of' type declarations for certain base types. |
15 | // It is used for pre-generating the C++ classes that represent these types, |
16 | // so they are not re-generated every time they are declared in TTCN-3 or ASN.1 |
17 | // modules. |
18 | module PreGenRecordOf { |
19 | |
20 | // 'record of' declarations (regular): |
21 | type record of boolean PREGEN_RECORD_OF_BOOLEAN; |
22 | |
23 | type record of integer PREGEN_RECORD_OF_INTEGER; |
24 | |
25 | type record of float PREGEN_RECORD_OF_FLOAT; |
26 | |
27 | type record of bitstring PREGEN_RECORD_OF_BITSTRING; |
28 | |
29 | type record of hexstring PREGEN_RECORD_OF_HEXSTRING; |
30 | |
31 | type record of octetstring PREGEN_RECORD_OF_OCTETSTRING; |
32 | |
33 | type record of charstring PREGEN_RECORD_OF_CHARSTRING; |
34 | |
35 | type record of universal charstring PREGEN_RECORD_OF_UNIVERSAL_CHARSTRING; |
36 | |
37 | // 'record of' declarations (with optimized memory allocation): |
38 | type record of boolean PREGEN_RECORD_OF_BOOLEAN_OPTIMIZED with { extension "optimize:memalloc" }; |
39 | |
40 | type record of integer PREGEN_RECORD_OF_INTEGER_OPTIMIZED with { extension "optimize:memalloc" }; |
41 | |
42 | type record of float PREGEN_RECORD_OF_FLOAT_OPTIMIZED with { extension "optimize:memalloc" }; |
43 | |
44 | type record of bitstring PREGEN_RECORD_OF_BITSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
45 | |
46 | type record of hexstring PREGEN_RECORD_OF_HEXSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
47 | |
48 | type record of octetstring PREGEN_RECORD_OF_OCTETSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
49 | |
50 | type record of charstring PREGEN_RECORD_OF_CHARSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
51 | |
52 | type record of universal charstring PREGEN_RECORD_OF_UNIVERSAL_CHARSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
53 | |
54 | // 'set of' declarations (regular): |
55 | type set of boolean PREGEN_SET_OF_BOOLEAN; |
56 | |
57 | type set of integer PREGEN_SET_OF_INTEGER; |
58 | |
59 | type set of float PREGEN_SET_OF_FLOAT; |
60 | |
61 | type set of bitstring PREGEN_SET_OF_BITSTRING; |
62 | |
63 | type set of hexstring PREGEN_SET_OF_HEXSTRING; |
64 | |
65 | type set of octetstring PREGEN_SET_OF_OCTETSTRING; |
66 | |
67 | type set of charstring PREGEN_SET_OF_CHARSTRING; |
68 | |
69 | type set of universal charstring PREGEN_SET_OF_UNIVERSAL_CHARSTRING; |
70 | |
71 | // 'set of' declarations (with optimized memory allocation): |
72 | type set of boolean PREGEN_SET_OF_BOOLEAN_OPTIMIZED with { extension "optimize:memalloc" }; |
73 | |
74 | type set of integer PREGEN_SET_OF_INTEGER_OPTIMIZED with { extension "optimize:memalloc" }; |
75 | |
76 | type set of float PREGEN_SET_OF_FLOAT_OPTIMIZED with { extension "optimize:memalloc" }; |
77 | |
78 | type set of bitstring PREGEN_SET_OF_BITSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
79 | |
80 | type set of hexstring PREGEN_SET_OF_HEXSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
81 | |
82 | type set of octetstring PREGEN_SET_OF_OCTETSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
83 | |
84 | type set of charstring PREGEN_SET_OF_CHARSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
85 | |
86 | type set of universal charstring PREGEN_SET_OF_UNIVERSAL_CHARSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
87 | |
88 | } |