All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

PrintBase Class CATPrintFileGenerator

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---PrintBase.CATPrintGenerator
        |
        +---CATPrintFileGenerator
 

Usage: you can derive this class.


public class CATPrintFileGenerator

Class to create generators with driver dynamic-loading.


Constructor and Destructor Index


o CATPrintFileGenerator(CATString&)
Constructs a CATPrintFileGenerator of a given language.
o ~CATPrintFileGenerator()

Method Index


o Attach(CATPrintStream&)
Attaches the generator to the specified stream.
o Begin(CATPrintParameters&)
o Begin(CATPrintParameters&,CATUnicodeString&)
o End()

Data Member Index


o _out
Stream attachs to the generator.

Constructor and Destructor


o CATPrintFileGenerator
public CATPrintFileGenerator( const CATString& iLanguage)
Constructs a CATPrintFileGenerator of a given language.
Parameters:
iLanguage
The language of the file.
The available languages used in CATIA are:
  • For Windows:
    • "CGM",
    • "RASTER",
    • "EMF" (Windows Metafile),
    • "EPS" (Generic PostScript).
  • For UNIX:
    • "CGM",
    • "RASTER",
    • "EPS" (Generic PostScript),
    • "HPGL2" (Generic HP-GL/2 RTL),
    • "HP1000GL2" (HP DesignJet 1000 Series),
    • "OCE",
    • "GBR" (Gerber).
o ~CATPrintFileGenerator
public virtual ~CATPrintFileGenerator()

Methods


o Attach
public virtual void Attach(CATPrintStream& iStream)
Attaches the generator to the specified stream.
Parameters:
iStream
The stream attached to the generator.
_out = iStream
o Begin
public void Begin( const CATPrintParameters& iParameters)
o Begin
public void Begin( const CATPrintParameters& iParameters,
const CATUnicodeString& iPageTitle)
o End
public void End()

Data Members


o _out
  protected ostream_withassign& _out
Stream attachs to the generator. This variable is set in the Attach method

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

Copyright © 2003, Dassault Systèmes. All rights reserved.