BitmapFilterFamily Class Reference

A filter for all bitmap file types. e.g. BMP, JPEG, PCX etc. More...

#include <filters.h>

Inheritance diagram for BitmapFilterFamily:

FilterFamily Filter ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

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

Private Member Functions

 CC_DECLARE_DYNAMIC (BitmapFilterFamily)

Detailed Description

A filter for all bitmap file types. e.g. BMP, JPEG, PCX etc.

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

Definition at line 1108 of file filters.h.


Constructor & Destructor Documentation

BitmapFilterFamily::BitmapFilterFamily  ) 
 

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

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

Definition at line 5282 of file filters.cpp.

05283 {
05284     // This is the bitmap files filter, so we want *all* bitmap filters in it.
05285     pFilterType = CC_RUNTIME_CLASS(BitmapFilter);
05286 }


Member Function Documentation

BitmapFilterFamily::CC_DECLARE_DYNAMIC BitmapFilterFamily   )  [private]
 

BOOL BitmapFilterFamily::Init void   )  [virtual]
 

Set up a bitmap 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 5302 of file filters.cpp.

05303 {
05304     // Get the OILFilter object
05305     pOILFilter = new OILFilterFamily(this, _R(IDT_FILTERNAME_BITMAP));
05306     if (pOILFilter == NULL)
05307         return FALSE;
05308 
05309     // Load the description strings
05310     FilterName.Load(_R(IDT_BITMAP_FILTERNAME));
05311     FilterInfo.Load(_R(IDT_BITMAP_FILTERINFO));
05312     FilterID = FILTERID_BITMAP;
05313 
05314     // All ok
05315     return TRUE;
05316 }


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