TPrinterModelHeader Class Reference

#include <gdi.h>

Link against: gdi.lib

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

Detailed Description

Information about a printer model.

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

See also: CPrinterDevice

Member Attribute Documentation

iEntry

The printer model.

iModelDataStreamId

TStreamId iModelDataStreamId

The stream ID for model data.

Member Function 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.

ParameterDescription
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.

ParameterDescription
aStreamThe read stream.