#include <IccStructBasic.h>
Class: CIccStructColorEncodingParams
Purpose: The colorEncodingParamsStructure handler
◆ CIccStructColorEncodingParams()
CIccStructColorEncodingParams::CIccStructColorEncodingParams |
( |
CIccTagStruct * |
pTagStruct = NULL | ) |
|
◆ ~CIccStructColorEncodingParams()
CIccStructColorEncodingParams::~CIccStructColorEncodingParams |
( |
| ) |
|
|
virtual |
◆ Describe()
void CIccStructUnknown::Describe |
( |
std::string & |
sDescription, |
|
|
int |
nVerboseness |
|
) |
| const |
|
virtualinherited |
Reimplemented from IIccStruct.
116{
117 char buf[256];
119 int n;
120
123 TagEntryList::iterator i;
124
125 for (n=0, i=entries->begin(); i!=entries->end(); n++, i++) {
126 if (i->pTag) {
127 if (n)
128 sDescription += "\n";
129 sprintf(buf,
"Begin SubTag(%s)\n",
GetElemName(i->TagInfo.sig).c_str());
130 sDescription += buf;
131 i->pTag->Describe(sDescription, nVerboseness);
132 sprintf(buf,
"End SubTag(%s)\n",
GetElemName(i->TagInfo.sig).c_str());
133 sDescription += buf;
134 }
135 }
136 }
137}
virtual std::string GetElemName(icSignature sigElem) const
Definition IccStructBasic.cpp:140
TagEntryList * GetElemList()
Definition IccTagComposite.h:181
References CIccTag::Describe(), CIccTagStruct::GetElemList(), CIccStructUnknown::GetElemName(), IIccStruct::m_pTagStruct, and icTag::sig.
Referenced by CIccTagStruct::Describe().
◆ GetClassName()
virtual const icChar * CIccStructColorEncodingParams::GetClassName |
( |
| ) |
const |
|
inlinevirtual |
◆ GetDisplayName()
virtual const icChar * CIccStructColorEncodingParams::GetDisplayName |
( |
| ) |
const |
|
inlinevirtual |
◆ GetElem()
◆ GetElemName()
std::string CIccStructUnknown::GetElemName |
( |
icSignature |
sigElem | ) |
const |
|
virtualinherited |
◆ GetElemSig()
◆ getTagEntries()
TagEntryList * IIccStruct::getTagEntries |
( |
| ) |
const |
|
protectedinherited |
◆ GetTagStruct()
◆ NewCopy()
◆ Validate()
Implements IIccStruct.
Reimplemented in CIccStructNamedColor, CIccStructBRDF, and CIccStructColorantInfo.
182{
184
186 if (pList) {
187
188 TagEntryList::iterator i;
189 for (i = pList->begin(); i != pList->end(); i++) {
190 if (i->pTag)
192 }
193 }
194 else {
195 sReport += "Struct Handler not connected to CIccTagStruct object with valid sub-tags!";
196
198 }
199
200 return rv;
201}
icValidateStatus
Definition IccDefs.h:119
@ icValidateOK
Definition IccDefs.h:120
@ icValidateWarning
Definition IccDefs.h:121
ICCPROFLIB_API std::string icGetSigPath(icUInt32Number sig)
Definition IccUtil.cpp:1191
ICCPROFLIB_API icValidateStatus icMaxStatus(icValidateStatus s1, icValidateStatus s2)
Definition IccUtil.cpp:244
TagEntryList * getTagEntries() const
Definition IccTagComposite.cpp:110
References IIccStruct::getTagEntries(), icGetSigPath(), icMaxStatus(), icValidateOK, icValidateWarning, icTag::sig, and CIccTag::Validate().
Referenced by CIccStructNamedColor::Validate(), CIccStructBRDF::Validate(), and CIccStructColorantInfo::Validate().
◆ m_pElemNameSigTable
◆ m_pTagStruct
Referenced by CIccStructBRDF::CIccStructBRDF(), CIccStructColorantInfo::CIccStructColorantInfo(), CIccStructColorEncodingParams(), CIccStructMeasurementInfo::CIccStructMeasurementInfo(), CIccStructNamedColor::CIccStructNamedColor(), CIccStructProfileInfo::CIccStructProfileInfo(), CIccStructTintZero::CIccStructTintZero(), CIccStructUnknown::CIccStructUnknown(), CIccStructUnknown::Describe(), IIccStruct::Describe(), CIccStructUnknown::GetElem(), CIccStructNamedColor::getName(), IIccStruct::getTagEntries(), IIccStruct::GetTagStruct(), CIccStructNamedColor::Validate(), CIccStructBRDF::Validate(), and CIccStructColorantInfo::Validate().
The documentation for this class was generated from the following files: