VectorFilterFamily Class Reference

A filter for all vector file types. e.g. EPS, WMF, Draw, etc. More...

#include <filters.h>

Inheritance diagram for VectorFilterFamily:

FilterFamily Filter ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 VectorFilterFamily ()
 Sets up the vector filter object to interface to all the installed filters that decode vector file formats.
BOOL Init ()
 Set up a vector file filter object. This creates the associated OILFilter object, and sets up the filter ID number and strings.

Private Member Functions

 CC_DECLARE_DYNAMIC (VectorFilterFamily)

Detailed Description

A filter for all vector file types. e.g. EPS, WMF, Draw, etc.

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

Definition at line 1071 of file filters.h.


Constructor & Destructor Documentation

VectorFilterFamily::VectorFilterFamily  ) 
 

Sets up the vector filter object to interface to all the installed filters that decode vector file formats.

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

Definition at line 5235 of file filters.cpp.

05236 {
05237     // This is the vector files filter, so we want *all* vector filters in it.
05238     pFilterType = CC_RUNTIME_CLASS(VectorFilter);
05239 }


Member Function Documentation

VectorFilterFamily::CC_DECLARE_DYNAMIC VectorFilterFamily   )  [private]
 

BOOL VectorFilterFamily::Init void   )  [virtual]
 

Set up a vector file 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

Implements Filter.

Definition at line 5255 of file filters.cpp.

05256 {
05257     // Get the OILFilter object
05258     pOILFilter = new OILFilterFamily(this, _R(IDT_FILTERNAME_VECTOR));
05259     if (pOILFilter == NULL)
05260         return FALSE;
05261 
05262     // Load the description strings
05263     FilterName.Load(_R(IDT_VECTOR_FILTERNAME));
05264     FilterInfo.Load(_R(IDT_VECTOR_FILTERINFO));
05265     FilterID = FILTERID_VECTOR;
05266 
05267     // All ok
05268     return TRUE;
05269 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 04:02:56 2007 for Camelot by  doxygen 1.4.4