TPrinterModelHeader Class Reference

class TPrinterModelHeader

Information about a printer model.

An instance of this class consists of a TPrinterModelEntry and a stream ID, and is passed to CPrinterDevice::SetModel().

CPrinterDevice

Public Member Functions
IMPORT_C voidExternalizeL(RWriteStream &)
IMPORT_C voidInternalizeL(RReadStream &)
Public Attributes
TPrinterModelEntry iEntry
TStreamId iModelDataStreamId

Member Functions Documentation

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalises the printer model header to a write stream.

The presence of this function means that the standard templated stream operator<<(), defined in s32strm.h, is available to externalise objects of this class.

Parameters

RWriteStream & aStreamThe write stream.

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Internalises a printer model header from a read stream.

The presence of this function means that the standard templated stream operator>>(), defined in s32strm.h, is available to internalise objects of this class.

Parameters

RReadStream & aStreamThe read stream.

Member Data Documentation

TPrinterModelEntry iEntry

TPrinterModelEntry iEntry

The printer model.

TStreamId iModelDataStreamId

TStreamId iModelDataStreamId

The stream ID for model data.