Public Member Functions | Protected Attributes
CardBlock Class Reference

#include <CardBlock.h>

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

List of all members.

Public Member Functions

 CardBlock (const DataPointer &filewalker)
int size () const
 Size of data used in the file.
int dataBlockSize () const
 size of Data block (i.e. without signature)
QString className () const
 Name of block element in the specification (or something meaningful if there is no name in the law)
virtual RawData signedBytes () const

Protected Attributes

int datasize

Constructor & Destructor Documentation

CardBlock::CardBlock ( const DataPointer filewalker)

Member Function Documentation

QString CardBlock::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.

Reimplemented in CardCertificate, CardChipIdentification, CardControlActivityDataRecord, CardCurrentUse, CardDrivingLicenseInformation, CardEventData, CardFaultData, CardIccIdentification, CardPlaceDailyWorkPeriod, CardVehiclesUsed, DriverCardApplicationIdentification, Identification, LastCardDownload, MemberStateCertificate, RawCardDriverActivity, and SpecificConditions.

int CardBlock::dataBlockSize ( ) const

size of Data block (i.e. without signature)

References datasize.

Referenced by signedBytes().

RawData CardBlock::signedBytes ( ) const [virtual]

Implements TopLevelBlock.

References dataBlockSize(), and Block::start.

int CardBlock::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 Block.

References datasize, and TopLevelBlock::hasSignature.


Member Data Documentation

int CardBlock::datasize [protected]

Referenced by CardBlock(), dataBlockSize(), and size().


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