docs: cleanup: Rephrase and correct typos
[barectf.git] / barectf / __init__.py
CommitLineData
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
24import barectf.config_parse_common as barectf_config_parse_common
25import barectf.version as barectf_version
26import barectf.config as barectf_config
57071907 27import barectf.config_file as barectf_config_file
728fc4a7 28import barectf.codegen as barectf_codegen
2d55dc7d 29import barectf.typing as barectf_typing
e5aa0be3
PP
30
31
4810b707
PP
32# version API
33__major_version__ = barectf_version.__major_version__
34__minor_version__ = barectf_version.__minor_version__
35__patch_version__ = barectf_version.__patch_version__
1d3b354e 36__pre_version__ = barectf_version.__pre_version__
4810b707
PP
37__version__ = barectf_version.__version__
38
39
2d55dc7d
PP
40# common typing API
41Index = barectf_typing.Index
42Count = barectf_typing.Count
43Id = barectf_typing.Id
44Alignment = barectf_typing.Alignment
45VersionNumber = barectf_typing.VersionNumber
46
47
4810b707
PP
48# configuration API
49_ArrayFieldType = barectf_config._ArrayFieldType
50_BitArrayFieldType = barectf_config._BitArrayFieldType
51_ConfigurationParseError = barectf_config_parse_common._ConfigurationParseError
52_EnumerationFieldType = barectf_config._EnumerationFieldType
53_FieldType = barectf_config._FieldType
54_IntegerFieldType = barectf_config._IntegerFieldType
55ByteOrder = barectf_config.ByteOrder
56ClockType = barectf_config.ClockType
57ClockTypeCTypes = barectf_config.ClockTypeCTypes
58ClockTypeOffset = barectf_config.ClockTypeOffset
59Configuration = barectf_config.Configuration
4810b707
PP
60ConfigurationCodeGenerationHeaderOptions = barectf_config.ConfigurationCodeGenerationHeaderOptions
61ConfigurationCodeGenerationOptions = barectf_config.ConfigurationCodeGenerationOptions
62ConfigurationOptions = barectf_config.ConfigurationOptions
63DEFAULT_FIELD_TYPE = barectf_config.DEFAULT_FIELD_TYPE
64DisplayBase = barectf_config.DisplayBase
be9f12dc 65DynamicArrayFieldType = barectf_config.DynamicArrayFieldType
4810b707
PP
66EnumerationFieldTypeMapping = barectf_config.EnumerationFieldTypeMapping
67EnumerationFieldTypeMappingRange = barectf_config.EnumerationFieldTypeMappingRange
68EnumerationFieldTypeMappings = barectf_config.EnumerationFieldTypeMappings
e8f0d548 69EventRecordType = barectf_config.EventRecordType
2d55dc7d 70LogLevel = barectf_config.LogLevel
4810b707
PP
71RealFieldType = barectf_config.RealFieldType
72SignedEnumerationFieldType = barectf_config.SignedEnumerationFieldType
73SignedIntegerFieldType = barectf_config.SignedIntegerFieldType
74StaticArrayFieldType = barectf_config.StaticArrayFieldType
e8f0d548
PP
75DataStreamType = barectf_config.DataStreamType
76DataStreamTypeEventRecordFeatures = barectf_config.DataStreamTypeEventRecordFeatures
77DataStreamTypeFeatures = barectf_config.DataStreamTypeFeatures
78DataStreamTypePacketFeatures = barectf_config.DataStreamTypePacketFeatures
4810b707
PP
79StringFieldType = barectf_config.StringFieldType
80StructureFieldType = barectf_config.StructureFieldType
81StructureFieldTypeMember = barectf_config.StructureFieldTypeMember
82StructureFieldTypeMembers = barectf_config.StructureFieldTypeMembers
83Trace = barectf_config.Trace
84TraceEnvironment = barectf_config.TraceEnvironment
85TraceType = barectf_config.TraceType
a209cf4d 86TraceTypeWithUnknownNativeByteOrder = barectf_config.TraceTypeWithUnknownNativeByteOrder
4810b707
PP
87TraceTypeFeatures = barectf_config.TraceTypeFeatures
88UnsignedEnumerationFieldType = barectf_config.UnsignedEnumerationFieldType
89UnsignedIntegerFieldType = barectf_config.UnsignedIntegerFieldType
90
91
57071907
PP
92# configuration file API
93configuration_file_major_version = barectf_config_file.configuration_file_major_version
94configuration_from_file = barectf_config_file.configuration_from_file
95effective_configuration_file = barectf_config_file.effective_configuration_file
96
97
4810b707 98# code generation API
728fc4a7 99CodeGenerator = barectf_codegen.CodeGenerator
4810b707
PP
100
101
f7d0c1b5 102# remove local names
4810b707
PP
103del barectf_config_parse_common
104del barectf_version
105del barectf_config
f7d0c1b5 106del barectf_config_file
728fc4a7 107del barectf_codegen
2d55dc7d 108del barectf_typing
This page took 0.028621 seconds and 4 git commands to generate.