a38c6d4c |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Copyright (c) 2000-2015 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 | |
9 | // This module contains 'record of' and 'set of' type declarations for certain base types. |
10 | // It is used for pre-generating the C++ classes that represent these types, |
11 | // so they are not re-generated every time they are declared in TTCN-3 or ASN.1 |
12 | // modules. |
13 | module PreGenRecordOf { |
14 | |
15 | // 'record of' declarations (regular): |
16 | type record of boolean PREGEN_RECORD_OF_BOOLEAN; |
17 | |
18 | type record of integer PREGEN_RECORD_OF_INTEGER; |
19 | |
20 | type record of float PREGEN_RECORD_OF_FLOAT; |
21 | |
22 | type record of bitstring PREGEN_RECORD_OF_BITSTRING; |
23 | |
24 | type record of hexstring PREGEN_RECORD_OF_HEXSTRING; |
25 | |
26 | type record of octetstring PREGEN_RECORD_OF_OCTETSTRING; |
27 | |
28 | type record of charstring PREGEN_RECORD_OF_CHARSTRING; |
29 | |
30 | type record of universal charstring PREGEN_RECORD_OF_UNIVERSAL_CHARSTRING; |
31 | |
32 | // 'record of' declarations (with optimized memory allocation): |
33 | type record of boolean PREGEN_RECORD_OF_BOOLEAN_OPTIMIZED with { extension "optimize:memalloc" }; |
34 | |
35 | type record of integer PREGEN_RECORD_OF_INTEGER_OPTIMIZED with { extension "optimize:memalloc" }; |
36 | |
37 | type record of float PREGEN_RECORD_OF_FLOAT_OPTIMIZED with { extension "optimize:memalloc" }; |
38 | |
39 | type record of bitstring PREGEN_RECORD_OF_BITSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
40 | |
41 | type record of hexstring PREGEN_RECORD_OF_HEXSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
42 | |
43 | type record of octetstring PREGEN_RECORD_OF_OCTETSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
44 | |
45 | type record of charstring PREGEN_RECORD_OF_CHARSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
46 | |
47 | type record of universal charstring PREGEN_RECORD_OF_UNIVERSAL_CHARSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
48 | |
49 | // 'set of' declarations (regular): |
50 | type set of boolean PREGEN_SET_OF_BOOLEAN; |
51 | |
52 | type set of integer PREGEN_SET_OF_INTEGER; |
53 | |
54 | type set of float PREGEN_SET_OF_FLOAT; |
55 | |
56 | type set of bitstring PREGEN_SET_OF_BITSTRING; |
57 | |
58 | type set of hexstring PREGEN_SET_OF_HEXSTRING; |
59 | |
60 | type set of octetstring PREGEN_SET_OF_OCTETSTRING; |
61 | |
62 | type set of charstring PREGEN_SET_OF_CHARSTRING; |
63 | |
64 | type set of universal charstring PREGEN_SET_OF_UNIVERSAL_CHARSTRING; |
65 | |
66 | // 'set of' declarations (with optimized memory allocation): |
67 | type set of boolean PREGEN_SET_OF_BOOLEAN_OPTIMIZED with { extension "optimize:memalloc" }; |
68 | |
69 | type set of integer PREGEN_SET_OF_INTEGER_OPTIMIZED with { extension "optimize:memalloc" }; |
70 | |
71 | type set of float PREGEN_SET_OF_FLOAT_OPTIMIZED with { extension "optimize:memalloc" }; |
72 | |
73 | type set of bitstring PREGEN_SET_OF_BITSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
74 | |
75 | type set of hexstring PREGEN_SET_OF_HEXSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
76 | |
77 | type set of octetstring PREGEN_SET_OF_OCTETSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
78 | |
79 | type set of charstring PREGEN_SET_OF_CHARSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
80 | |
81 | type set of universal charstring PREGEN_SET_OF_UNIVERSAL_CHARSTRING_OPTIMIZED with { extension "optimize:memalloc" }; |
82 | |
83 | } |