Commit | Line | Data |
---|---|---|
0f5c653b PP |
1 | # The MIT License (MIT) |
2 | # | |
5262b543 | 3 | # Copyright (c) 2014-2020 Philippe Proulx <pproulx@efficios.com> |
0f5c653b | 4 | # |
1378f213 PP |
5 | # Permission is hereby granted, free of charge, to any person obtaining |
6 | # a copy of this software and associated documentation files (the | |
7 | # "Software"), to deal in the Software without restriction, including | |
8 | # without limitation the rights to use, copy, modify, merge, publish, | |
9 | # distribute, sublicense, and/or sell copies of the Software, and to | |
10 | # permit persons to whom the Software is furnished to do so, subject to | |
11 | # the following conditions: | |
0f5c653b | 12 | # |
1378f213 PP |
13 | # The above copyright notice and this permission notice shall be |
14 | # included in all copies or substantial portions of the Software. | |
0f5c653b | 15 | # |
1378f213 PP |
16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
17 | # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
18 | # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
19 | # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | |
20 | # CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | |
21 | # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | |
22 | # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
0f5c653b | 23 | |
4810b707 PP |
24 | import barectf.config_parse_common as barectf_config_parse_common |
25 | import barectf.version as barectf_version | |
26 | import barectf.config as barectf_config | |
57071907 | 27 | import barectf.config_file as barectf_config_file |
4810b707 | 28 | import barectf.gen as barectf_gen |
e5aa0be3 PP |
29 | |
30 | ||
4810b707 PP |
31 | # version API |
32 | __major_version__ = barectf_version.__major_version__ | |
33 | __minor_version__ = barectf_version.__minor_version__ | |
34 | __patch_version__ = barectf_version.__patch_version__ | |
35 | __version__ = barectf_version.__version__ | |
36 | ||
37 | ||
38 | # configuration API | |
39 | _ArrayFieldType = barectf_config._ArrayFieldType | |
40 | _BitArrayFieldType = barectf_config._BitArrayFieldType | |
41 | _ConfigurationParseError = barectf_config_parse_common._ConfigurationParseError | |
42 | _EnumerationFieldType = barectf_config._EnumerationFieldType | |
43 | _FieldType = barectf_config._FieldType | |
44 | _IntegerFieldType = barectf_config._IntegerFieldType | |
45 | ByteOrder = barectf_config.ByteOrder | |
46 | ClockType = barectf_config.ClockType | |
47 | ClockTypeCTypes = barectf_config.ClockTypeCTypes | |
48 | ClockTypeOffset = barectf_config.ClockTypeOffset | |
49 | Configuration = barectf_config.Configuration | |
4810b707 PP |
50 | ConfigurationCodeGenerationHeaderOptions = barectf_config.ConfigurationCodeGenerationHeaderOptions |
51 | ConfigurationCodeGenerationOptions = barectf_config.ConfigurationCodeGenerationOptions | |
52 | ConfigurationOptions = barectf_config.ConfigurationOptions | |
53 | DEFAULT_FIELD_TYPE = barectf_config.DEFAULT_FIELD_TYPE | |
54 | DisplayBase = barectf_config.DisplayBase | |
4810b707 PP |
55 | EnumerationFieldTypeMapping = barectf_config.EnumerationFieldTypeMapping |
56 | EnumerationFieldTypeMappingRange = barectf_config.EnumerationFieldTypeMappingRange | |
57 | EnumerationFieldTypeMappings = barectf_config.EnumerationFieldTypeMappings | |
58 | EventType = barectf_config.EventType | |
59 | RealFieldType = barectf_config.RealFieldType | |
60 | SignedEnumerationFieldType = barectf_config.SignedEnumerationFieldType | |
61 | SignedIntegerFieldType = barectf_config.SignedIntegerFieldType | |
62 | StaticArrayFieldType = barectf_config.StaticArrayFieldType | |
63 | StreamType = barectf_config.StreamType | |
64 | StreamTypeEventFeatures = barectf_config.StreamTypeEventFeatures | |
65 | StreamTypeFeatures = barectf_config.StreamTypeFeatures | |
66 | StreamTypePacketFeatures = barectf_config.StreamTypePacketFeatures | |
67 | StringFieldType = barectf_config.StringFieldType | |
68 | StructureFieldType = barectf_config.StructureFieldType | |
69 | StructureFieldTypeMember = barectf_config.StructureFieldTypeMember | |
70 | StructureFieldTypeMembers = barectf_config.StructureFieldTypeMembers | |
71 | Trace = barectf_config.Trace | |
72 | TraceEnvironment = barectf_config.TraceEnvironment | |
73 | TraceType = barectf_config.TraceType | |
74 | TraceTypeFeatures = barectf_config.TraceTypeFeatures | |
75 | UnsignedEnumerationFieldType = barectf_config.UnsignedEnumerationFieldType | |
76 | UnsignedIntegerFieldType = barectf_config.UnsignedIntegerFieldType | |
77 | ||
78 | ||
57071907 PP |
79 | # configuration file API |
80 | configuration_file_major_version = barectf_config_file.configuration_file_major_version | |
81 | configuration_from_file = barectf_config_file.configuration_from_file | |
82 | effective_configuration_file = barectf_config_file.effective_configuration_file | |
83 | ||
84 | ||
4810b707 PP |
85 | # code generation API |
86 | CodeGenerator = barectf_gen.CodeGenerator | |
87 | ||
88 | ||
f7d0c1b5 | 89 | # remove local names |
4810b707 PP |
90 | del barectf_config_parse_common |
91 | del barectf_version | |
92 | del barectf_config | |
f7d0c1b5 | 93 | del barectf_config_file |
4810b707 | 94 | del barectf_gen |