IccMAX 2.1.27
Color Profile Tools
|
#include <IccStructFactory.h>
Public Member Functions | |
virtual IIccStruct * | CreateStruct (icStructSignature structSig, CIccTagStruct *pTagStruct=NULL) |
virtual icStructSignature | GetStructSig (const icChar *structName) |
virtual bool | GetStructSigName (std::string &structName, icStructSignature structTypeSig, bool bFindUnknown=false) |
Class: CIccBasicStructFactory
Purpose: CIccBasicStructFactory provides creation of CIccProcessStruct's defined by the ICC profile specification. The CIccStructCreator always creates a CIccBasicElemFactory.
|
virtual |
Function: CreateStruct(structTypeSig) Create a struct object of type structTypeSig.
Parameter(s): structTypeSig = signature of the ICC struct type for the struct to be created
Returns a new CIccProcessStruct object of the given signature type. Unrecognized structTypeSig's will be created as a CIccStructUnknown object.
Implements IIccStructFactory.
References CIccStructBRDF::CIccStructBRDF(), CIccStructColorantInfo::CIccStructColorantInfo(), CIccStructColorEncodingParams::CIccStructColorEncodingParams(), CIccStructMeasurementInfo::CIccStructMeasurementInfo(), CIccStructNamedColor::CIccStructNamedColor(), CIccStructProfileInfo::CIccStructProfileInfo(), CIccStructTintZero::CIccStructTintZero(), CIccStructUnknown::CIccStructUnknown(), icSigBRDFStruct, icSigColorantInfoStruct, icSigColorEncodingParamsSruct, icSigMeasurementInfoStruct, icSigNamedColorStruct, icSigProfileInfoStruct, and icSigTintZeroStruct.
|
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.
Implements IIccStructFactory.
|
virtual |
Function: GetStructSigName(structTypeSig) Get display name of structTypeSig.
Parameter(s): structName = string to put struct name into, structTypeSig = signature of the ICC struct type to get a name for
Returns true if struct type is recognized by the factory, false if the factory doesn't create structTypeSig structs.
Implements IIccStructFactory.
References icGetSigStr().