77#ifndef _ICCSTRUCTFACTORY_H
78#define _ICCSTRUCTFACTORY_H
85#ifdef USEREFICCMAXNAMESPACE
190 virtual bool GetStructSigName(std::string &structName,
icStructSignature structTypeSig,
bool bFindUnknown=
false);
322 bool DoGetStructSigName(std::string &structName,
icStructSignature structTypeSig,
bool bFillUnknown=
true);
332#ifdef USEREFICCMAXNAMESPACE
std::unique_ptr< CIccStructCreator > CIccStructCreatorPtr
std::list< IIccStructFactory * > CIccStructFactoryList
Class: CIccBasicStructFactory.
Class: CIccStructCreator.
static bool GetStructSigName(std::string &structName, icStructSignature structTypeSig, bool bFillUnknown=true)
Function: GetStructSigName(structTypeSig) Get display name of structTypeSig.
IIccStructFactory * DoPopFactory(bool bAll=false)
CIccStructCreator()
Only GetInstance() can create the singleton.
static CIccStructCreator * GetInstance()
Function: GetInstance() Private static function to access singleton CiccStructCreator Object.
static CIccStructCreatorPtr theStructCreator
static icStructSignature GetStructSig(const icChar *structName)
Function: GetStructSig(structName) Get signature of structure from display name.
icStructSignature DoGetStructSig(const char *structName)
static IIccStruct * CreateStruct(icStructSignature structTypeSig, CIccTagStruct *pTagStruct)
Function: CreateStruct(structTypeSig) Create a element of type structTypeSig.
CIccStructFactoryList factoryStack
IIccStruct * DoCreateStruct(icStructSignature structTypeSig, CIccTagStruct *pTagStruct=NULL)
bool DoGetStructSigName(std::string &structName, icStructSignature structTypeSig, bool bFillUnknown=true)
static void PushFactory(IIccStructFactory *pFactory)
Function: PushFactory(pFactory) Add an IIccStructFactory to the stack of element factories tracked by...
static IIccStructFactory * PopFactory()
Function: PopFactory() Remove the top IIccStructFactory from the stack of element factories tracked b...
Class: IIccStructFactory.
virtual ~IIccStructFactory()
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.