cli.py: fix Pylint errors
[deliverable/barectf.git] / barectf / __init__.py
1 # The MIT License (MIT)
2 #
3 # Copyright (c) 2014-2020 Philippe Proulx <pproulx@efficios.com>
4 #
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:
12 #
13 # The above copyright notice and this permission notice shall be
14 # included in all copies or substantial portions of the Software.
15 #
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.
23
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
30
31
32 # version API
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__
37
38
39 # common typing API
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
45
46
47 # configuration API
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
87
88
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
93
94
95 # code generation API
96 CodeGenerator = barectf_gen.CodeGenerator
97
98
99 # remove local names
100 del barectf_config_parse_common
101 del barectf_version
102 del barectf_config
103 del barectf_config_file
104 del barectf_gen
105 del barectf_typing
This page took 0.031268 seconds and 4 git commands to generate.