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

Class: IIccStruct. More...

#include <IccTagComposite.h>

+ Inheritance diagram for IIccStruct:
+ Collaboration diagram for IIccStruct:

Public Member Functions

virtual void Describe (std::string &sDescription, int nVerboseness) const
 
virtual const icCharGetClassName () const =0
 
virtual const icCharGetDisplayName () const =0
 
virtual std::string GetElemName (icSignature sigElem) const =0
 
virtual icSignature GetElemSig (const icChar *szElemName) const =0
 
CIccTagStructGetTagStruct ()
 
virtual IIccStructNewCopy (CIccTagStruct *pNewTagStruct) const =0
 
virtual icValidateStatus Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const =0
 
virtual ~IIccStruct ()
 

Protected Member Functions

TagEntryList * getTagEntries () const
 

Protected Attributes

CIccTagStructm_pTagStruct
 

Detailed Description

Class: IIccStruct.

Purpose: The interface for Tag Struct handler

Definition at line 96 of file IccTagComposite.h.

Constructor & Destructor Documentation

◆ ~IIccStruct()

virtual IIccStruct::~IIccStruct ( )
inlinevirtual

Definition at line 99 of file IccTagComposite.h.

99{}

Member Function Documentation

◆ Describe()

void IIccStruct::Describe ( std::string & sDescription,
int nVerboseness ) const
virtual

Reimplemented in CIccStructUnknown.

Definition at line 86 of file IccTagComposite.cpp.

87{
88 if (m_pTagStruct) {
89 char buf[256];
90 CIccInfo info;
91
92 sprintf(buf, "BEGIN UNKNOWN_TAG_STRUCT ");
93 sDescription += buf;
94 sDescription += info.GetStructSigName(m_pTagStruct->GetTagStructType());
95 sDescription += "\n\n";
96
97 TagEntryList::iterator i;
98 TagEntryList *pList = m_pTagStruct->GetElemList();
99 for (i=pList->begin(); i!=pList->end(); i++) {
100 i->pTag->Describe(sDescription, nVerboseness);
101 }
102
103 sDescription += "\n";
104 sprintf(buf, "END TAG_STRUCT\n");
105 sDescription += buf;
106 sDescription += "\n";
107 }
108}
Type: Class.
Definition IccUtil.h:303
const icChar * GetStructSigName(icStructSignature sig)
Definition IccUtil.cpp:1504
TagEntryList * GetElemList()
virtual icStructSignature GetTagStructType() const
CIccTagStruct * m_pTagStruct

References CIccTagStruct::GetElemList(), CIccInfo::GetStructSigName(), CIccTagStruct::GetTagStructType(), and m_pTagStruct.

Referenced by CIccTagStruct::Describe().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetClassName()

◆ GetDisplayName()

virtual const icChar * IIccStruct::GetDisplayName ( ) const
pure virtual

Implemented in CIccStructBRDF, CIccStructColorantInfo, CIccStructColorEncodingParams, CIccStructMeasurementInfo, CIccStructNamedColor, CIccStructProfileInfo, CIccStructTintZero, and CIccStructUnknown.

Referenced by CIccTagXmlStruct::ToXml().

+ Here is the caller graph for this function:

◆ GetElemName()

virtual std::string IIccStruct::GetElemName ( icSignature sigElem) const
pure virtual

Implemented in CIccStructUnknown.

Referenced by CIccTagXmlStruct::ToXml().

+ Here is the caller graph for this function:

◆ GetElemSig()

virtual icSignature IIccStruct::GetElemSig ( const icChar * szElemName) const
pure virtual

Implemented in CIccStructUnknown.

◆ getTagEntries()

TagEntryList * IIccStruct::getTagEntries ( ) const
protected

Definition at line 110 of file IccTagComposite.cpp.

111{
112 if (m_pTagStruct)
114
115 return NULL;
116}
TagEntryList * m_ElemEntries

References CIccTagStruct::m_ElemEntries, and m_pTagStruct.

◆ GetTagStruct()

CIccTagStruct * IIccStruct::GetTagStruct ( )
inline

Definition at line 107 of file IccTagComposite.h.

107{ return m_pTagStruct; }

◆ NewCopy()

virtual IIccStruct * IIccStruct::NewCopy ( CIccTagStruct * pNewTagStruct) const
pure virtual

Implemented in CIccStructBRDF, CIccStructColorantInfo, CIccStructColorEncodingParams, CIccStructMeasurementInfo, CIccStructNamedColor, CIccStructProfileInfo, CIccStructTintZero, and CIccStructUnknown.

Referenced by CIccTagStruct::CIccTagStruct(), and CIccTagStruct::operator=().

+ Here is the caller graph for this function:

◆ Validate()

virtual icValidateStatus IIccStruct::Validate ( std::string sigPath,
std::string & sReport,
const CIccProfile * pProfile = NULL ) const
pure virtual

Implemented in CIccStructBRDF, CIccStructColorantInfo, CIccStructNamedColor, and CIccStructUnknown.

Referenced by CIccTagStruct::Validate().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_pTagStruct

CIccTagStruct* IIccStruct::m_pTagStruct
protected

Definition at line 118 of file IccTagComposite.h.

Referenced by Describe(), and getTagEntries().


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