IccMAX 2.1.27
Color Profile Tools
|
#include <IccStructFactory.h>
Public Member Functions | |
virtual | ~IIccStructFactory () |
virtual IIccStruct * | CreateStruct (icStructSignature structTypeSig, CIccTagStruct *pTagStruct=NULL)=0 |
virtual icStructSignature | GetStructSig (const icChar *structName)=0 |
virtual bool | GetStructSigName (std::string &structName, icStructSignature structTypeSig, bool bFindUnknown)=0 |
Class: IIccStructFactory
Purpose: IIccStructFactory is a factory pattern interface for CIccProcessStruct creation. This class is pure virtual.
|
inlinevirtual |
|
pure virtual |
Function: CreateStruct(structTypeSig) Create a element of type structTypeSig.
Parameter(s): structTypeSig = signature of the ICC element type for the element to be created
Returns a new IIStructObject object of the given signature type. If the element factory doesn't support creation of structs of type structTypeSig then it should return NULL.
Implemented in CIccBasicStructFactory.
Referenced by CIccStructCreator::DoCreateStruct().
|
pure virtual |
Function: GetStructSig(structName) Get signature of structure from display name.
Parameter(s): structName = struct display name
Returns signature of structure if it is recognized by the factory, 0 if the factory doesn't create structures with such a display name.
Implemented in CIccBasicStructFactory.
Referenced by CIccStructCreator::DoGetStructSig().
|
pure virtual |
Function: GeStructSigName(structTypeSig) Get display name of structTypeSig.
Parameter(s): structName = string to put element name into, structTypeSig = signature of the ICC element type to get a name for bFindUnknown = flag to indicate structName should be filled with unknown_sig name, (empty if false)
Returns true if struct type is recognized by the factory, false if the factory doesn't create structTypeSig elements.
Implemented in CIccBasicStructFactory.
Referenced by CIccStructCreator::DoGetStructSigName().