Public Member Functions | Public Attributes
RawData Class Reference

#include <RawData.h>

Inheritance diagram for RawData:
Inheritance graph
[legend]
Collaboration diagram for RawData:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RawData (const DataPointer &start, int length)
 RawData (const QByteArray &o)
QString toString () const
 Possible short form of the block (empty if unset)
QString className () const
 Name of block element in the specification (or something meaningful if there is no name in the law)
int size () const
 Size of data used in the file.
QByteArray toQByteArray () const
void printOn (Reporter &report) const

Public Attributes

int length_

Constructor & Destructor Documentation

RawData::RawData ( const DataPointer start,
int  length 
)
RawData::RawData ( const QByteArray &  o)

Member Function Documentation

QString RawData::className ( ) const [virtual]

Name of block element in the specification (or something meaningful if there is no name in the law)

This usually matches the name of the c++-class used to read and show the data

Implements Block.

void RawData::printOn ( Reporter report) const [virtual]

Implements DataType.

References Reporter::tagValuePair(), and toString().

int RawData::size ( ) const [virtual]

Size of data used in the file.

If the data element uses 3 bytes in the file, size() will return 3.

Implements DataType.

References length_.

Referenced by CardDriverActivity::readCyclicData(), toQByteArray(), and toString().

QByteArray RawData::toQByteArray ( ) const
QString RawData::toString ( ) const [virtual]

Member Data Documentation

Referenced by size().


The documentation for this class was generated from the following files: