Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccBasicStructFactory. More...
#include <IccStructFactory.h>
Public Member Functions | |
virtual IIccStruct * | CreateStruct (icStructSignature structSig, CIccTagStruct *pTagStruct=NULL) |
Function: CreateStruct(structTypeSig) Create a struct object of type structTypeSig. | |
virtual icStructSignature | GetStructSig (const icChar *structName) |
Function: GetStructSig(structName) Get signature of structure from display name. | |
virtual bool | GetStructSigName (std::string &structName, icStructSignature structTypeSig, bool bFindUnknown=false) |
Function: GetStructSigName(structTypeSig) Get display name of structTypeSig. | |
Public Member Functions inherited from IIccStructFactory | |
virtual | ~IIccStructFactory () |
Class: CIccBasicStructFactory.
Purpose: CIccBasicStructFactory provides creation of CIccProcessStruct's defined by the ICC profile specification. The CIccStructCreator always creates a CIccBasicElemFactory.
Definition at line 164 of file IccStructFactory.h.
|
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.
Definition at line 83 of file IccStructFactory.cpp.
References 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.
Definition at line 151 of file IccStructFactory.cpp.
References g_icStructNames, and szStructName.
|
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.
Definition at line 128 of file IccStructFactory.cpp.
References g_icStructNames, icGetSigStr(), and sig.