QtFit
0.1
Internal library development documentation
|
Defines the AbstractDataMessage, and AbstractDataMessagePrivate classes. More...
Go to the source code of this file.
Functions | |
bool | verifyBaseType (const FitBaseType actual, const FitBaseType expected, const char *name) |
bool | verifyDataSize (const QByteArray &data, const int expectedSize, const char *name) |
Defines the AbstractDataMessage, and AbstractDataMessagePrivate classes.
Definition in file abstractdatamessage.cpp.
|
inline |
Verifies that actual matches expected, and reports a warning if not.
actual | Actual base type. |
expected | Expected base type. |
name | Name of the field being verfied. |
true
if actual and expected match, false
otherwise. Definition at line 161 of file abstractdatamessage.cpp.
Referenced by AbstractDataMessagePrivate::verify().
|
inline |
Verifies that the size of data matches expectedSize, and reports a warning if not.
data | Data to verify the size of. |
expectedSize | Exepcted size of data. |
name | Name of the field being verified. |
true
if data has expectedSize bytes, false
otherwise. Definition at line 179 of file abstractdatamessage.cpp.
Referenced by AbstractDataMessagePrivate::verify().