#include <IccTagBasic.h>
Inheritance diagram for CIccTagChromaticity:
Public Member Functions | |
CIccTagChromaticity (int nSize=3) | |
CIccTagChromaticity (const CIccTagChromaticity &ITCh) | |
CIccTagChromaticity & | operator= (const CIccTagChromaticity &ChromTag) |
virtual CIccTag * | NewCopy () const |
virtual | ~CIccTagChromaticity () |
virtual bool | IsArrayType () |
virtual icTagTypeSignature | GetType () |
virtual const icChar * | GetClassName () |
virtual void | Describe (std::string &sDescription) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
virtual bool | Write (CIccIO *pIO) |
icChromaticityNumber & | operator[] (icUInt32Number index) |
icChromaticityNumber * | Getxy (icUInt32Number index) |
icUInt32Number | GetSize () const |
void | SetSize (icUInt16Number nSize, bool bZeroNew=true) |
virtual icValidateStatus | Validate (icTagSignature sig, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Public Attributes | |
icUInt16Number | m_nColorantType |
Protected Attributes | |
icUInt16Number | m_nChannels |
icChromaticityNumber * | m_xy |
Purpose: the chromaticity tag - xy chromaticity values for each channel
|
Name: CIccTagChromaticity::CIccTagChromaticity Purpose: Constructor Args: nSize = number of xy entries |
|
Name: CIccTagChromaticity::CIccTagChromaticity Purpose: Copy Constructor Args: ITCh = The CIccTagChromaticity object to be copied |
|
Name: CIccTagChromaticity::~CIccTagChromaticity Purpose: Destructor |
|
Name: CIccTagChromaticity::Describe Purpose: Dump data associated with the tag to a string Args: sDescription - string to concatenate tag dump to Reimplemented from CIccTag. |
|
Reimplemented from CIccTag. |
|
|
|
Function: GetType() Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function. Reimplemented from CIccTag. |
|
|
|
Reimplemented from CIccTag. |
|
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. |
|
Name: CIccTagChromaticity::operator= Purpose: Copy Operator Args: ChromTag = The CIccTagChromaticity object to be copied |
|
|
|
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. |
|
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 |
|
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. |
|
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. |
|
|
|
|
|
|