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
.gen
as barectf_gen
31 __major_version__
= barectf_version
.__major
_version
__
32 __minor_version__
= barectf_version
.__minor
_version
__
33 __patch_version__
= barectf_version
.__patch
_version
__
34 __version__
= barectf_version
.__version
__
38 _ArrayFieldType
= barectf_config
._ArrayFieldType
39 _BitArrayFieldType
= barectf_config
._BitArrayFieldType
40 _ConfigurationParseError
= barectf_config_parse_common
._ConfigurationParseError
41 _EnumerationFieldType
= barectf_config
._EnumerationFieldType
42 _FieldType
= barectf_config
._FieldType
43 _IntegerFieldType
= barectf_config
._IntegerFieldType
44 ByteOrder
= barectf_config
.ByteOrder
45 ClockType
= barectf_config
.ClockType
46 ClockTypeCTypes
= barectf_config
.ClockTypeCTypes
47 ClockTypeOffset
= barectf_config
.ClockTypeOffset
48 Configuration
= barectf_config
.Configuration
49 configuration_file_major_version
= barectf_config
.configuration_file_major_version
50 configuration_from_file
= barectf_config
.configuration_from_file
51 ConfigurationCodeGenerationHeaderOptions
= barectf_config
.ConfigurationCodeGenerationHeaderOptions
52 ConfigurationCodeGenerationOptions
= barectf_config
.ConfigurationCodeGenerationOptions
53 ConfigurationOptions
= barectf_config
.ConfigurationOptions
54 DEFAULT_FIELD_TYPE
= barectf_config
.DEFAULT_FIELD_TYPE
55 DisplayBase
= barectf_config
.DisplayBase
56 effective_configuration_file
= barectf_config
.effective_configuration_file
57 EnumerationFieldTypeMapping
= barectf_config
.EnumerationFieldTypeMapping
58 EnumerationFieldTypeMappingRange
= barectf_config
.EnumerationFieldTypeMappingRange
59 EnumerationFieldTypeMappings
= barectf_config
.EnumerationFieldTypeMappings
60 EventType
= barectf_config
.EventType
61 RealFieldType
= barectf_config
.RealFieldType
62 SignedEnumerationFieldType
= barectf_config
.SignedEnumerationFieldType
63 SignedIntegerFieldType
= barectf_config
.SignedIntegerFieldType
64 StaticArrayFieldType
= barectf_config
.StaticArrayFieldType
65 StreamType
= barectf_config
.StreamType
66 StreamTypeEventFeatures
= barectf_config
.StreamTypeEventFeatures
67 StreamTypeFeatures
= barectf_config
.StreamTypeFeatures
68 StreamTypePacketFeatures
= barectf_config
.StreamTypePacketFeatures
69 StringFieldType
= barectf_config
.StringFieldType
70 StructureFieldType
= barectf_config
.StructureFieldType
71 StructureFieldTypeMember
= barectf_config
.StructureFieldTypeMember
72 StructureFieldTypeMembers
= barectf_config
.StructureFieldTypeMembers
73 Trace
= barectf_config
.Trace
74 TraceEnvironment
= barectf_config
.TraceEnvironment
75 TraceType
= barectf_config
.TraceType
76 TraceTypeFeatures
= barectf_config
.TraceTypeFeatures
77 UnsignedEnumerationFieldType
= barectf_config
.UnsignedEnumerationFieldType
78 UnsignedIntegerFieldType
= barectf_config
.UnsignedIntegerFieldType
82 CodeGenerator
= barectf_gen
.CodeGenerator
85 del barectf_config_parse_common