GenericEPSFilter Class Reference

A filter for all EPS files, regardless of the flavour. More...

#include <filters.h>

Inheritance diagram for GenericEPSFilter:

FilterFamily Filter ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 GenericEPSFilter ()
 Sets up the generic EPS filter object to interface to all the installed EPS filters.
BOOL Init ()
 Set up a generic EPS filter object. This creates the associated OILFilter object, and sets up the filter ID number and strings.

Private Member Functions

 CC_DECLARE_DYNAMIC (GenericEPSFilter)

Detailed Description

A filter for all EPS files, regardless of the flavour.

Author:
Tim_Browse (Xara Group Ltd) <camelotdev@xara.com>
Date:
28/07/94
See also:
FilterFamily; EPSFilter

Definition at line 1149 of file filters.h.


Constructor & Destructor Documentation

GenericEPSFilter::GenericEPSFilter  ) 
 

Sets up the generic EPS filter object to interface to all the installed EPS filters.

Author:
Tim_Browse (Xara Group Ltd) <camelotdev@xara.com>
Date:
28/07/94

Definition at line 5375 of file filters.cpp.

05376 {
05377     // This is the generic EPS filter, so we want all EPS filters in it.
05378     pFilterType = CC_RUNTIME_CLASS(EPSFilter);
05379 }


Member Function Documentation

GenericEPSFilter::CC_DECLARE_DYNAMIC GenericEPSFilter   )  [private]
 

BOOL GenericEPSFilter::Init void   )  [virtual]
 

Set up a generic EPS filter object. This creates the associated OILFilter object, and sets up the filter ID number and strings.

Author:
Tim_Browse (Xara Group Ltd) <camelotdev@xara.com>
Date:
28/03/94
Returns:
TRUE if initalised ok; FALSE if error occurred.

Errors: Out of memory.

See also:
FilterFamily; OILFilter; EPSFilter

Implements Filter.

Definition at line 5395 of file filters.cpp.

05396 {
05397     // Get the OILFilter object
05398     pOILFilter = new OILFilterFamily(this, _R(IDT_FILTERNAME_EPS));
05399     if (pOILFilter == NULL)
05400         return FALSE;
05401 
05402     // Load the description strings
05403     FilterName.Load(_R(IDT_EPS_FILTERNAME));
05404     FilterInfo.Load(_R(IDT_EPS_FILTERINFO));
05405     FilterID = FILTERID_EPS;
05406 
05407     // All ok
05408     return TRUE;
05409 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:54:46 2007 for Camelot by  doxygen 1.4.4