Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
Loading...
Searching...
No Matches
IIccStructFactory Class Referenceabstract

Class: IIccStructFactory. More...

#include <IccStructFactory.h>

+ Inheritance diagram for IIccStructFactory:
+ Collaboration diagram for IIccStructFactory:

Public Member Functions

virtual IIccStructCreateStruct (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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~IIccStructFactory()

virtual IIccStructFactory::~IIccStructFactory ( )
inlinevirtual

Definition at line 105 of file IccStructFactory.h.

105{}

Member Function Documentation

◆ CreateStruct()

virtual IIccStruct * IIccStructFactory::CreateStruct ( icStructSignature structTypeSig,
CIccTagStruct * pTagStruct = NULL )
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.

◆ GetStructSig()

virtual icStructSignature IIccStructFactory::GetStructSig ( const icChar * structName)
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.

◆ GetStructSigName()

virtual bool IIccStructFactory::GetStructSigName ( std::string & structName,
icStructSignature structTypeSig,
bool bFindUnknown )
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.


The documentation for this class was generated from the following file: