Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: IIccStructFactory. More...
#include <IccStructFactory.h>
Public Member Functions | |
virtual IIccStruct * | CreateStruct (icStructSignature structTypeSig, CIccTagStruct *pTagStruct=NULL)=0 |
Function: CreateStruct(structTypeSig) Create a element of type structTypeSig. | |
virtual icStructSignature | GetStructSig (const icChar *structName)=0 |
Function: GetStructSig(structName) Get signature of structure from display name. | |
virtual bool | GetStructSigName (std::string &structName, icStructSignature structTypeSig, bool bFindUnknown)=0 |
Function: GeStructSigName(structTypeSig) Get display name of structTypeSig. | |
virtual | ~IIccStructFactory () |
Class: IIccStructFactory.
Purpose: IIccStructFactory is a factory pattern interface for CIccProcessStruct creation. This class is pure virtual.
Definition at line 102 of file IccStructFactory.h.
|
inlinevirtual |
Definition at line 105 of file IccStructFactory.h.
|
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.
|
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.
|
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.