Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccTagChromaticity. More...
#include <IccTagBasic.h>
Public Member Functions | |
CIccTagChromaticity (const CIccTagChromaticity &ITCh) | |
Name: CIccTagChromaticity::CIccTagChromaticity. | |
CIccTagChromaticity (int nSize=3) | |
Name: CIccTagChromaticity::CIccTagChromaticity. | |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
Name: CIccTagChromaticity::Describe. | |
virtual const icChar * | GetClassName () const |
icUInt32Number | GetSize () const |
virtual icTagTypeSignature | GetType () const |
Function: GetType() | |
icChromaticityNumber * | Getxy (icUInt32Number index) |
virtual bool | IsArrayType () |
virtual CIccTag * | NewCopy () const |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function. | |
CIccTagChromaticity & | operator= (const CIccTagChromaticity &ChromTag) |
Name: CIccTagChromaticity::operator=. | |
icChromaticityNumber & | operator[] (icUInt32Number index) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
Name: CIccTagChromaticity::Read. | |
bool | SetSize (icUInt16Number nSize, bool bZeroNew=true) |
Name: CIccTagChromaticity::SetSize. | |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Name: CIccTagChromaticity::Validate. | |
virtual bool | Write (CIccIO *pIO) |
Name: CIccTagChromaticity::Write. | |
virtual | ~CIccTagChromaticity () |
Name: CIccTagChromaticity::~CIccTagChromaticity. | |
![]() | |
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 | 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. | |
Public Attributes | |
icUInt16Number | m_nColorantType |
![]() | |
icUInt32Number | m_nReserved |
Protected Attributes | |
icUInt16Number | m_nChannels |
icChromaticityNumber * | m_xy |
Additional Inherited Members | |
![]() | |
static CIccTag * | Create (icTagTypeSignature sig) |
Name: CIccTag::Create. | |
Class: CIccTagChromaticity.
Purpose: the chromaticity tag - xy chromaticity values for each channel
Definition at line 704 of file IccTagBasic.h.
CIccTagChromaticity::CIccTagChromaticity | ( | int | nSize = 3 | ) |
Name: CIccTagChromaticity::CIccTagChromaticity.
Purpose: Constructor
Args: nSize = number of xy entries
Definition at line 3753 of file IccTagBasic.cpp.
CIccTagChromaticity::CIccTagChromaticity | ( | const CIccTagChromaticity & | ITCh | ) |
Name: CIccTagChromaticity::CIccTagChromaticity.
Purpose: Copy Constructor
Args: ITCh = The CIccTagChromaticity object to be copied
Definition at line 3772 of file IccTagBasic.cpp.
References m_nChannels, and m_xy.
|
virtual |
Name: CIccTagChromaticity::~CIccTagChromaticity.
Purpose: Destructor
Definition at line 3815 of file IccTagBasic.cpp.
|
virtual |
Name: CIccTagChromaticity::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 3932 of file IccTagBasic.cpp.
References CIccInfo::GetColorantEncoding(), and icUFtoD().
|
inlinevirtual |
Reimplemented from CIccTag.
Reimplemented in CIccTagXmlChromaticity.
Definition at line 716 of file IccTagBasic.h.
|
inline |
Definition at line 725 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 715 of file IccTagBasic.h.
References icSigChromaticityType.
|
inline |
Definition at line 724 of file IccTagBasic.h.
|
inlinevirtual |
|
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 710 of file IccTagBasic.h.
CIccTagChromaticity & CIccTagChromaticity::operator= | ( | const CIccTagChromaticity & | ChromTag | ) |
Name: CIccTagChromaticity::operator=.
Purpose: Copy Operator
Args: ChromTag = The CIccTagChromaticity object to be copied
Definition at line 3791 of file IccTagBasic.cpp.
References m_nChannels, and m_xy.
|
inline |
Definition at line 723 of file IccTagBasic.h.
|
virtual |
Name: CIccTagChromaticity::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 3836 of file IccTagBasic.cpp.
References CIccIO::Read16(), CIccIO::Read32(), and sig.
bool CIccTagChromaticity::SetSize | ( | icUInt16Number | nSize, |
bool | bZeroNew = true ) |
Name: CIccTagChromaticity::SetSize.
Purpose: Sets the size of the xy chromaticity array.
Args: nSize - number of xy entries, bZeroNew - flag to zero newly formed values
Definition at line 3963 of file IccTagBasic.cpp.
References icRealloc().
|
virtual |
Name: CIccTagChromaticity::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 3998 of file IccTagBasic.cpp.
References CIccInfo::GetSigPathName(), icColorantEBU, icColorantITU, icColorantP22, icColorantSMPTE, icDtoUF(), icMaxStatus(), icMsgValidateCriticalError, icMsgValidateNonCompliant, icValidateCriticalError, icValidateNonCompliant, and CIccTag::Validate().
|
virtual |
Name: CIccTagChromaticity::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 3894 of file IccTagBasic.cpp.
References sig, CIccIO::Write16(), and CIccIO::Write32().
|
protected |
Definition at line 733 of file IccTagBasic.h.
Referenced by CIccTagChromaticity(), and operator=().
icUInt16Number CIccTagChromaticity::m_nColorantType |
Definition at line 728 of file IccTagBasic.h.
|
protected |
Definition at line 734 of file IccTagBasic.h.
Referenced by CIccTagChromaticity(), and operator=().