90 QDataStream ds(&hex, QIODevice::WriteOnly);
LongPositionVector & operator=(const LongPositionVector &other)
operator = Overload of = operator
quint16 speed() const
speed Speed field getter (15 bits)
quint64 get_UINT32(u_char *field, quint32 *uint32)
get_UINT32 Extract an unsigned integer encoded in 32 bits from a byte array.
quint32 timestamp() const
timestamp Timestamp field getter
quint64 get_INT32(u_char *field, qint32 *int32)
get_INT32 Extract an integer encoded in 32 bits from a byte array.
GnAddr gnAddr() const
gnAddr GnAddr field getter
quint16 heading() const
heading Heading field getter
quint64 extract(uchar *packet)
extract Fill the LongPositionVector with values contained in the packet
LongPositionVector()
LongPositionVector Default constructor.
quint64 extractUInt(char *data, int l, int *offset)
extractUInt Extract an unsigned integer from byte array.
quint64 extract(uchar *packet)
extract Fill the GnAddr with values contained in the packet.
quint16 pai_Speed() const
pai_Speed Pai_Speed field getter (16 bits)
qint32 latitude() const
latitude Latitude field getter
qint32 latitude() const
latitude Latitude field getter
quint32 timestamp() const
timestamp Timestamp field getter
qint64 extractInt(char *data, int l, int *offset)
extractInt Extract an signed integer from byte array.
QByteArray toHex()
toHex Create a QByteArray containing the hexadecimal format of the GnAddr.
quint64 get_UINT16(u_char *field, quint16 *uint16)
get_INT64 Extract an integer encoded in 64 bits from a byte array.
QByteArray toHex()
toHex Create a QByteArray containing the hexadecimal format of the LongPositionVector.
quint8 pai() const
pai Pai field getter (1 bit)
qint32 longitude() const
longitude Longitude field getter
qint32 longitude() const
longitude Longitude field getter
GnAddr gnAddr() const
gnAddr GnAddr field getter
API used for C++ style data.