Public Member Functions | Protected Member Functions | Protected Attributes
Reporter Class Reference

#include <Reporter.h>

Inheritance diagram for Reporter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void tagValuePair (const QString &tag, const QString &value)=0
virtual void tagValuePair (const QString &tag, int value)
virtual void writeBlock (const Block &value, const QString &tag="")
virtual QByteArray toQByteArray () const =0
 return the qbytearray that contains the report, ready for being written to a file.
virtual void setTitle (const QString &newtitle)
virtual bool allowSvg () const =0
void flush ()
 Reporter ()
template<typename Arraytype >
void writeArray (const Arraytype &ray, const QString &title="", bool defaultShown=true)

Protected Member Functions

virtual void subBlock (const Block &value, const QString &tag)=0
virtual void arrayStart (int count, const QString &title, bool defaultShown)
virtual void arrayEnd (int count)

Protected Attributes

int nestLevel
QByteArray collected
QTextStream collector
QString title

Constructor & Destructor Documentation

Reporter::Reporter ( )

References collector.


Member Function Documentation

virtual bool Reporter::allowSvg ( ) const [pure virtual]
virtual void Reporter::arrayEnd ( int  count) [inline, protected, virtual]

Reimplemented in HtmlReporter.

Referenced by writeArray().

virtual void Reporter::arrayStart ( int  count,
const QString &  title,
bool  defaultShown 
) [inline, protected, virtual]

Reimplemented in HtmlReporter.

Referenced by writeArray().

void Reporter::flush ( )
void Reporter::setTitle ( const QString &  newtitle) [virtual]

References title.

Referenced by operator<<().

virtual void Reporter::subBlock ( const Block value,
const QString &  tag 
) [protected, pure virtual]

Implemented in HtmlReporter.

Referenced by writeBlock().

virtual void Reporter::tagValuePair ( const QString &  tag,
const QString &  value 
) [pure virtual]

Implemented in HtmlReporter.

Referenced by operator<<(), VuTechnical::printOn(), VuEventsFaults::printOn(), VuDetailedSpeedData::printOn(), VuActivities::printOn(), RawVuOverview::printOn(), RawVuActivities::printOn(), Block13::printOn(), Block11::printOn(), TopLevelBlock::printOn(), VuTimeAdjustmentRecord::printOn(), VuOverspeedingEventRecord::printOn(), VuFaultRecord::printOn(), VuEventRecord::printOn(), VuDetailedSpeedBlock::printOn(), VuControlActivityRecord::printOn(), VuCompanyLocksRecord::printOn(), VuCalibrationRecord::printOn(), VehicleRegistration::printOn(), SpecificConditionRecord::printOn(), RawVuCardIWRecord::printOn(), RawRsaPublicKey::printOn(), RawKeyIdentifier::printOn(), RawFullCardNumber::printOn(), RawEncryptedCertificate::printOn(), RawData::printOn(), RawCardActivityDailyRecord::printOn(), PlaceRecord::printOn(), Name::printOn(), ExtendedSerialNumber::printOn(), DecryptedCertificate::printOn(), CertificateHolderAuthorization::printOn(), CertificateAuthority::printOn(), CardVehicleRecord::printOn(), CardSlots::printOn(), CardEventRecord::printOn(), CardActivityDailyRecord::printOn(), Block11Record::printOn(), BcdMonthYear::printOn(), BcdDate::printOn(), ActivityChangeInfoArray::printOn(), ActivityChangeInfo::printOn(), RawCardDriverActivity::printOn(), LastCardDownload::printOn(), Identification::printOn(), DriverCardApplicationIdentification::printOn(), CardVehiclesUsed::printOn(), CardPlaceDailyWorkPeriod::printOn(), CardIccIdentification::printOn(), CardDrivingLicenseInformation::printOn(), CardDriverActivity::printOn(), CardCurrentUse::printOn(), CardControlActivityDataRecord::printOn(), CardChipIdentification::printOn(), and tagValuePair().

void Reporter::tagValuePair ( const QString &  tag,
int  value 
) [virtual]

References tagValuePair().

virtual QByteArray Reporter::toQByteArray ( ) const [pure virtual]

return the qbytearray that contains the report, ready for being written to a file.

Implemented in HtmlReporter.

template<typename Arraytype >
void Reporter::writeArray ( const Arraytype &  ray,
const QString &  title = "",
bool  defaultShown = true 
) [inline]
void Reporter::writeBlock ( const Block value,
const QString &  tag = "" 
) [virtual]

Member Data Documentation

QByteArray Reporter::collected [protected]
QTextStream Reporter::collector [mutable, protected]
int Reporter::nestLevel [protected]
QString Reporter::title [protected]

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