Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: gdi.h
Link against: gdi.lib

Class TPrinterModelHeader

TPrinterModelHeader

Support

Supported from 5.0

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(), and is returned from CPrinterDevice::Model().

Defined in TPrinterModelHeader:
ExternalizeL(), InternalizeL(), iEntry, iModelDataStreamId

See also:


Streaming


ExternalizeL()

void ExternalizeL(RWriteStream& aStream) const;

Description

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& aStream

The write stream.


InternalizeL()

void InternalizeL(RReadStream& aStream);

Description

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& aStream

The read stream.

[Top]


Public data members


iEntry

TPrinterModelEntry iEntry;

Description

The printer model.


iModelDataStreamId

TStreamId iModelDataStreamId;

Description

The stream ID for model data.