IccMAX 2.1.27
Color Profile Tools
|
#include <IccMpeFactory.h>
Public Member Functions | |
virtual | ~IIccMpeFactory () |
virtual CIccMultiProcessElement * | CreateElement (icElemTypeSignature elemTypeSig)=0 |
virtual bool | GetElementSigName (std::string &elemName, icElemTypeSignature elemTypeSig)=0 |
Class: IIccMpeFactory
Purpose: IIccMpeFactory is a factory pattern interface for CIccProcessElement creation. This class is pure virtual.
|
inlinevirtual |
|
pure virtual |
Function: CreateElement(elemTypeSig) Create a element of type elemTypeSig.
Parameter(s): elemTypeSig = signature of the ICC element type for the element to be created
Returns a new CIccProcessElement object of the given signature type. If the element factory doesn't support creation of elements of type elemTypeSig then it should return NULL.
Implemented in CIccBasicMpeFactory, and CIccMpeXmlFactory.
Referenced by CIccMpeCreator::DoCreateElement().
|
pure virtual |
Function: GetElementSigName(elemTypeSig) Get display name of elemTypeSig.
Parameter(s): elemName = string to put element name into, elemTypeSig = signature of the ICC element type to get a name for
Returns true if element type is recognized by the factory, false if the factory doesn't create elemTypeSig elements.
Implemented in CIccBasicMpeFactory, and CIccMpeXmlFactory.
Referenced by CIccMpeCreator::DoGetElementSigName().