QtFit  0.1
Internal library development documentation
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
fielddescriptionmessage_p.h
Go to the documentation of this file.
1 /*
2  Copyright 2021 Paul Colby
3 
4  This file is part of QtFit.
5 
6  QtFit is free software: you can redistribute it and/or modify
7  it under the terms of the GNU Lesser General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  QtFit is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public License
17  along with QtFit. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 /*!
21  * \file
22  * \note This file is automatcially generated. Any changes here are likely to be overwritten.
23  */
24 
25 /*!
26  * \file
27  * Declares the FieldDescriptionMessagePrivate class.
28  */
29 #ifndef QTFIT_FIELDDESCRIPTIONMESSAGE_P_H
30 #define QTFIT_FIELDDESCRIPTIONMESSAGE_P_H
31 
32 #include "abstractdatamessage_p.h"
33 
35 
37 
39 
40 public:
41  /*!
42  * The FieldDescriptionMessage FIT message's developerDataIndex field.
43  */
45 
46  /*!
47  * The FieldDescriptionMessage FIT message's fieldDefinitionNumber field.
48  */
50 
51  /*!
52  * The FieldDescriptionMessage FIT message's fitBaseTypeId field.
53  */
55 
56  /*!
57  * The FieldDescriptionMessage FIT message's fieldName field.
58  */
59  QString fieldName;
60 
61  /*!
62  * The FieldDescriptionMessage FIT message's array field.
63  */
64  quint8 array;
65 
66  /*!
67  * The FieldDescriptionMessage FIT message's components field.
68  */
69  QString components;
70 
71  /*!
72  * The FieldDescriptionMessage FIT message's scale field.
73  */
74  quint8 scale;
75 
76  /*!
77  * The FieldDescriptionMessage FIT message's offset field.
78  */
79  qint8 offset;
80 
81  /*!
82  * The FieldDescriptionMessage FIT message's units field.
83  */
84  QString units;
85 
86  /*!
87  * The FieldDescriptionMessage FIT message's bits field.
88  */
89  QString bits;
90 
91  /*!
92  * The FieldDescriptionMessage FIT message's accumulate field.
93  */
94  QString accumulate;
95 
96  /*!
97  * The FieldDescriptionMessage FIT message's fitBaseUnitId field.
98  */
100 
101  /*!
102  * The FieldDescriptionMessage FIT message's nativeMesgNum field.
103  */
105 
106  /*!
107  * The FieldDescriptionMessage FIT message's nativeFieldNum field.
108  */
110 
114 
115 protected:
116  bool setField(const int fieldId, const QByteArray &data,
117  const FitBaseType baseType, const bool bigEndian) override;
118 
119 private:
120  Q_DECLARE_PUBLIC(FieldDescriptionMessage)
121  Q_DISABLE_COPY(FieldDescriptionMessagePrivate)
122 
123 };
124 
126 
127 #endif // QTFIT_FIELDDESCRIPTIONMESSAGE_P_H
#define QTFIT_END_NAMESPACE
Macro for ending the QtFit library's top-most namespace (if one is defined).
Definition: QtFit_global.h:78
#define QTFIT_BEGIN_NAMESPACE
Macro for starting the QtFit library's top-most namespace (if one is defined).
Definition: QtFit_global.h:77
Declares the AbstractDataMessagePrivate class.
quint8 developerDataIndex
The FieldDescriptionMessage FIT message's developerDataIndex field.
QString accumulate
The FieldDescriptionMessage FIT message's accumulate field.
quint8 nativeFieldNum
The FieldDescriptionMessage FIT message's nativeFieldNum field.
FitBaseUnit fitBaseUnitId
The FieldDescriptionMessage FIT message's fitBaseUnitId field.
FitBaseType fitBaseTypeId
The FieldDescriptionMessage FIT message's fitBaseTypeId field.
qint8 offset
The FieldDescriptionMessage FIT message's offset field.
QString units
The FieldDescriptionMessage FIT message's units field.
quint8 fieldDefinitionNumber
The FieldDescriptionMessage FIT message's fieldDefinitionNumber field.
QString fieldName
The FieldDescriptionMessage FIT message's fieldName field.
QString components
The FieldDescriptionMessage FIT message's components field.
MesgNum nativeMesgNum
The FieldDescriptionMessage FIT message's nativeMesgNum field.
QString bits
The FieldDescriptionMessage FIT message's bits field.
quint8 scale
The FieldDescriptionMessage FIT message's scale field.
quint8 array
The FieldDescriptionMessage FIT message's array field.
bool setField(const int fieldId, const QByteArray &data, const FitBaseType baseType, const bool bigEndian) override
The FieldDescriptionMessage class represents a FIT FieldDescriptionMessage data message.
FitBaseType
Garmin FIT FitBaseType type.
Definition: types.h:3388
FitBaseUnit
Garmin FIT FitBaseUnit type.
Definition: types.h:3481
MesgNum
Garmin FIT MesgNum type.
Definition: types.h:91