PrintBase CATPrintFileDevice

Usage: you can derive this class.


public class CATPrintFileDevice

Class to create file devices.


Constructor and Destructor Index


o CATPrintFileDevice()
Constructs a CATPrintFileDevice.
o CATPrintFileDevice(CATUnicodeString&,CATPrintFileGenerator*)
o ~CATPrintFileDevice()

Method Index


o Begin(CATPrintParameters&)
Initializes the file device.
o End(void)
Ends the device.
o SetFile(CATPrintStream*)
Defines the stream associated to the file device.

Constructor and Destructor


o CATPrintFileDevice
protected CATPrintFileDevice()
Constructs a CATPrintFileDevice.
o CATPrintFileDevice
public CATPrintFileDevice( const iPath,
ipGenerator)
o ~CATPrintFileDevice
public virtual ~CATPrintFileDevice()

Methods


o Begin
public Begin( const iParameters)
Initializes the file device.
Parameters:
iParameters
The parameters of the generator.
Returns:
The status of the method.
Legal values: 0 if file device initialization failed, 1 otherwise.
o End
public End( )
Ends the device.
o SetFile
protected SetFile( iStream)
Defines the stream associated to the file device.
Parameters:
iStream
The stream of the file device.

This object is included in the file: CATPrintFileDevice.h
If needed, your Imakefile.mk should include the module: CATPrintBase

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.