Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccTagColorantTable. More...
#include <IccTagBasic.h>
Public Member Functions | |
CIccTagColorantTable (const CIccTagColorantTable &ITCT) | |
Name: CIccTagColorantTable::CIccTagColorantTable. | |
CIccTagColorantTable (int nsize=1) | |
Name: CIccTagColorantTable::CIccTagColorantTable. | |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
Name: CIccTagColorantTable::Describe. | |
virtual const icChar * | GetClassName () const |
icColorantTableEntry * | GetEntry (icUInt32Number index) |
icColorSpaceSignature | GetPCS () const |
icUInt32Number | GetSize () const |
virtual icTagTypeSignature | GetType () const |
Function: GetType() | |
virtual CIccTag * | NewCopy () const |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function. | |
CIccTagColorantTable & | operator= (const CIccTagColorantTable &ColorantTableTag) |
Name: CIccTagColorantTable::operator=. | |
icColorantTableEntry & | operator[] (icUInt32Number index) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
Name: CIccTagColorantTable::Read. | |
void | SetPCS (icColorSpaceSignature sig) |
bool | SetSize (icUInt16Number nSize, bool bZeroNew=true) |
Name: CIccTagColorantTable::SetSize. | |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Name: CIccTagColorantTable::Validate. | |
virtual bool | Write (CIccIO *pIO) |
Name: CIccTagColorantTable::Write. | |
virtual | ~CIccTagColorantTable () |
Name: CIccTagColorantTable::~CIccTagColorantTable. | |
![]() | |
CIccTag () | |
Name: CIccTag::CIccTag. | |
virtual void | DetachIO () |
Function: ReadAll() - Read All sub data for tag from file. | |
virtual IIccExtensionTag * | GetExtension () |
virtual icArraySignature | GetTagArrayType () const |
virtual icStructSignature | GetTagStructType () const |
virtual bool | IsArrayType () |
virtual bool | IsMBBType () |
virtual bool | IsNumArrayType () const |
virtual bool | IsSupported () |
Function: IsSupported(size, pIO) - Check if tag fully supported for apply purposes. | |
virtual bool | Read (icUInt32Number size, CIccIO *pIO, CIccProfile *pProfile) |
Function: Read(size, pIO) - Read tag from file. | |
virtual bool | ReadAll () |
Function: ReadAll() - Read All sub data for tag from file. | |
virtual | ~CIccTag () |
Name: CIccTag::CIccTag. | |
Protected Attributes | |
icUInt32Number | m_nCount |
icColorSpaceSignature | m_PCS |
icColorantTableEntry * | m_pData |
Additional Inherited Members | |
![]() | |
static CIccTag * | Create (icTagTypeSignature sig) |
Name: CIccTag::Create. | |
![]() | |
icUInt32Number | m_nReserved |
Class: CIccTagColorantTable.
Purpose: Colorant Table Tag
Definition at line 1386 of file IccTagBasic.h.
CIccTagColorantTable::CIccTagColorantTable | ( | int | nSize = 1 | ) |
Name: CIccTagColorantTable::CIccTagColorantTable.
Purpose: Constructor
Args: nSize = number of entries
Definition at line 8552 of file IccTagBasic.cpp.
CIccTagColorantTable::CIccTagColorantTable | ( | const CIccTagColorantTable & | ITCT | ) |
Name: CIccTagColorantTable::CIccTagColorantTable.
Purpose: Copy Constructor
Args: ITCT = The CIccTagUnknown object to be copied
Definition at line 8572 of file IccTagBasic.cpp.
|
virtual |
Name: CIccTagColorantTable::~CIccTagColorantTable.
Purpose: Destructor
Definition at line 8617 of file IccTagBasic.cpp.
|
virtual |
Name: CIccTagColorantTable::Describe.
Purpose: Dump data associated with the tag to a string
Args: sDescription - string to concatenate tag dump to
Reimplemented from CIccTag.
Definition at line 8738 of file IccTagBasic.cpp.
References icLabFromPcs(), icSigXYZData, icU16toF(), and icUSFtoD().
|
inlinevirtual |
Reimplemented from CIccTag.
Reimplemented in CIccTagXmlColorantTable.
Definition at line 1396 of file IccTagBasic.h.
|
inline |
Definition at line 1404 of file IccTagBasic.h.
|
inline |
Definition at line 1409 of file IccTagBasic.h.
|
inline |
Definition at line 1405 of file IccTagBasic.h.
|
inlinevirtual |
Function: GetType()
Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.
Reimplemented from CIccTag.
Definition at line 1395 of file IccTagBasic.h.
References icSigColorantTableType.
|
inlinevirtual |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function.
Parameter(s): none
Returns a new CIccTag object that is a copy of this object.
Reimplemented from CIccTag.
Definition at line 1392 of file IccTagBasic.h.
CIccTagColorantTable & CIccTagColorantTable::operator= | ( | const CIccTagColorantTable & | ColorantTableTag | ) |
Name: CIccTagColorantTable::operator=.
Purpose: Copy Operator
Args: ColorantTableTag = The CIccTagColorantTable object to be copied
Definition at line 8592 of file IccTagBasic.cpp.
|
inline |
Definition at line 1403 of file IccTagBasic.h.
|
virtual |
Name: CIccTagColorantTable::Read.
Purpose: Read in the tag contents into a data block
Args: size - # of bytes in tag, pIO - IO object to read tag from
Return: true = successful, false = failure
Reimplemented from CIccTag.
Definition at line 8638 of file IccTagBasic.cpp.
References CIccIO::Read16(), CIccIO::Read32(), CIccIO::Read8(), and sig.
|
inline |
bool CIccTagColorantTable::SetSize | ( | icUInt16Number | nSize, |
bool | bZeroNew = true ) |
Name: CIccTagColorantTable::SetSize.
Purpose: Sets the size of the data array.
Args: nSize - number of entries, bZeroNew - flag to zero newly formed values
Definition at line 8797 of file IccTagBasic.cpp.
References icRealloc().
|
virtual |
Name: CIccTagColorantTable::Validate.
Purpose: Check tag data validity.
Args: sig = signature of tag being validated, sReport = String to add report information to
Return: icValidateStatusOK if valid, or other error status.
Reimplemented from CIccTag.
Definition at line 8832 of file IccTagBasic.cpp.
References CIccInfo::GetSigPathName(), icGetFirstSigPathSig(), icGetSpaceSamples(), icMaxStatus(), icMsgValidateNonCompliant, icMsgValidateWarning, icSigColorantTableOutTag, icSigLinkClass, icValidateNonCompliant, icValidateWarning, sig, and CIccTag::Validate().
|
virtual |
Name: CIccTagColorantTable::Write.
Purpose: Write the tag to a file
Args: pIO - The IO object to write tag to.
Return: true = succesful, false = failure
Reimplemented from CIccTag.
Definition at line 8697 of file IccTagBasic.cpp.
References sig, CIccIO::Write16(), CIccIO::Write32(), and CIccIO::Write8().
|
protected |
Definition at line 1413 of file IccTagBasic.h.
Referenced by CIccTagColorantTable(), and operator=().
|
protected |
Definition at line 1415 of file IccTagBasic.h.
Referenced by CIccTagColorantTable(), and operator=().
|
protected |
Definition at line 1414 of file IccTagBasic.h.
Referenced by CIccTagColorantTable(), and operator=().