#include <DataPointer.h>

Public Member Functions | |
| DataPointer (const QByteArray &data_, int offset_=0) | |
| DataPointer | operator+ (int j) const |
| DataPointer | operator- (int j) const |
| int | operator- (const DataPointer &other) const |
| DataPointer & | operator+= (int j) |
| unsigned char | operator[] (int j) const |
| const unsigned char * | toUnsignedPointer (int j=0) const |
| const char * | toPointer (int j=0) const |
| int | bytesLeft () const |
| bool | operator< (const DataPointer &other) |
| QByteArray | toQByteArray () const |
Public Attributes | |
| QByteArray | data |
| int | offset |
Private Member Functions | |
| QString | hexByte (unsigned char start) const |
| DataPointer::DataPointer | ( | const QByteArray & | data_, |
| int | offset_ = 0 |
||
| ) | [inline, explicit] |
Referenced by operator+(), and operator-().
| int DataPointer::bytesLeft | ( | ) | const [inline] |
| QString DataPointer::hexByte | ( | unsigned char | start | ) | const [inline, private] |
| DataPointer DataPointer::operator+ | ( | int | j | ) | const [inline] |
References data, DataPointer(), and offset.
| DataPointer& DataPointer::operator+= | ( | int | j | ) | [inline] |
References offset.
| int DataPointer::operator- | ( | const DataPointer & | other | ) | const [inline] |
References offset.
| DataPointer DataPointer::operator- | ( | int | j | ) | const [inline] |
References data, DataPointer(), and offset.
| bool DataPointer::operator< | ( | const DataPointer & | other | ) | [inline] |
References offset.
| const char* DataPointer::toPointer | ( | int | j = 0 | ) | const [inline] |
Referenced by codepageStringCombination(), fixedString(), CardDriverActivity::readCyclicData(), and toUnsignedPointer().
| QByteArray DataPointer::toQByteArray | ( | ) | const |
| const unsigned char* DataPointer::toUnsignedPointer | ( | int | j = 0 | ) | const [inline] |
References toPointer().
| QByteArray DataPointer::data |
Referenced by bytesLeft(), operator+(), operator-(), operator[](), toPointer(), and toQByteArray().
Referenced by bytesLeft(), operator+(), operator+=(), operator-(), operator<(), operator[](), toPointer(), and RawData::toQByteArray().
1.7.4