1 # The MIT License (MIT)
3 # Copyright (c) 2014-2020 Philippe Proulx <pproulx@efficios.com>
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:
13 # The above copyright notice and this permission notice shall be
14 # included in all copies or substantial portions of the Software.
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.
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
27 import barectf
.config_file
as barectf_config_file
28 import barectf
.gen
as barectf_gen
29 import barectf
.typing
as barectf_typing
33 __major_version__
= barectf_version
.__major
_version
__
34 __minor_version__
= barectf_version
.__minor
_version
__
35 __patch_version__
= barectf_version
.__patch
_version
__
36 __version__
= barectf_version
.__version
__
40 Index
= barectf_typing
.Index
41 Count
= barectf_typing
.Count
42 Id
= barectf_typing
.Id
43 Alignment
= barectf_typing
.Alignment
44 VersionNumber
= barectf_typing
.VersionNumber
48 _ArrayFieldType
= barectf_config
._ArrayFieldType
49 _BitArrayFieldType
= barectf_config
._BitArrayFieldType
50 _ConfigurationParseError
= barectf_config_parse_common
._ConfigurationParseError
51 _EnumerationFieldType
= barectf_config
._EnumerationFieldType
52 _FieldType
= barectf_config
._FieldType
53 _IntegerFieldType
= barectf_config
._IntegerFieldType
54 ByteOrder
= barectf_config
.ByteOrder
55 ClockType
= barectf_config
.ClockType
56 ClockTypeCTypes
= barectf_config
.ClockTypeCTypes
57 ClockTypeOffset
= barectf_config
.ClockTypeOffset
58 Configuration
= barectf_config
.Configuration
59 ConfigurationCodeGenerationHeaderOptions
= barectf_config
.ConfigurationCodeGenerationHeaderOptions
60 ConfigurationCodeGenerationOptions
= barectf_config
.ConfigurationCodeGenerationOptions
61 ConfigurationOptions
= barectf_config
.ConfigurationOptions
62 DEFAULT_FIELD_TYPE
= barectf_config
.DEFAULT_FIELD_TYPE
63 DisplayBase
= barectf_config
.DisplayBase
64 EnumerationFieldTypeMapping
= barectf_config
.EnumerationFieldTypeMapping
65 EnumerationFieldTypeMappingRange
= barectf_config
.EnumerationFieldTypeMappingRange
66 EnumerationFieldTypeMappings
= barectf_config
.EnumerationFieldTypeMappings
67 EventType
= barectf_config
.EventType
68 LogLevel
= barectf_config
.LogLevel
69 RealFieldType
= barectf_config
.RealFieldType
70 SignedEnumerationFieldType
= barectf_config
.SignedEnumerationFieldType
71 SignedIntegerFieldType
= barectf_config
.SignedIntegerFieldType
72 StaticArrayFieldType
= barectf_config
.StaticArrayFieldType
73 StreamType
= barectf_config
.StreamType
74 StreamTypeEventFeatures
= barectf_config
.StreamTypeEventFeatures
75 StreamTypeFeatures
= barectf_config
.StreamTypeFeatures
76 StreamTypePacketFeatures
= barectf_config
.StreamTypePacketFeatures
77 StringFieldType
= barectf_config
.StringFieldType
78 StructureFieldType
= barectf_config
.StructureFieldType
79 StructureFieldTypeMember
= barectf_config
.StructureFieldTypeMember
80 StructureFieldTypeMembers
= barectf_config
.StructureFieldTypeMembers
81 Trace
= barectf_config
.Trace
82 TraceEnvironment
= barectf_config
.TraceEnvironment
83 TraceType
= barectf_config
.TraceType
84 TraceTypeFeatures
= barectf_config
.TraceTypeFeatures
85 UnsignedEnumerationFieldType
= barectf_config
.UnsignedEnumerationFieldType
86 UnsignedIntegerFieldType
= barectf_config
.UnsignedIntegerFieldType
89 # configuration file API
90 configuration_file_major_version
= barectf_config_file
.configuration_file_major_version
91 configuration_from_file
= barectf_config_file
.configuration_from_file
92 effective_configuration_file
= barectf_config_file
.effective_configuration_file
96 CodeGenerator
= barectf_gen
.CodeGenerator
100 del barectf_config_parse_common
103 del barectf_config_file