IccMAX 2.1.27
Color Profile Tools
|
#include <IccTagBasic.h>
Public Member Functions | |
CIccResponseCurveStruct (const CIccResponseCurveStruct &IRCS) | |
CIccResponseCurveStruct (icMeasurementUnitSig sig, icUInt16Number nChannels=0) | |
CIccResponseCurveStruct (icUInt16Number nChannels=0) | |
virtual | ~CIccResponseCurveStruct () |
void | Describe (std::string &sDescription, int nVerboseness) |
icMeasurementUnitSig | GetMeasurementType () const |
icUInt16Number | GetNumChannels () const |
CIccResponse16List * | GetResponseList (icUInt16Number nChannel) |
CIccResponseCurveStruct * | GetThis () |
icXYZNumber * | GetXYZ (icUInt32Number index) |
CIccResponseCurveStruct & | operator= (const CIccResponseCurveStruct &RespCurveStruct) |
bool | Read (icUInt32Number size, CIccIO *pIO) |
icValidateStatus | Validate (std::string &sReport) |
bool | Write (CIccIO *pIO) |
Protected Attributes | |
icXYZNumber * | m_maxColorantXYZ |
icMeasurementUnitSig | m_measurementUnitSig |
icUInt16Number | m_nChannels |
CIccResponse16List * | m_Response16ListArray |
Data Class: CIccResponseCurveStruct
Purpose: The base class for response curve structure
CIccResponseCurveStruct::CIccResponseCurveStruct | ( | icMeasurementUnitSig | sig, |
icUInt16Number | nChannels = 0 |
||
) |
Name: CIccResponseCurveStruct::CIccResponseCurveStruct
Purpose: Constructor
Args: sig = measurement unit signature indicating the type of measurement data, nChannels = number of channels
References m_maxColorantXYZ, m_measurementUnitSig, m_nChannels, and m_Response16ListArray.
Referenced by CIccTagResponseCurveSet16::NewResponseCurves(), and CIccTagXmlResponseCurveSet16::ParseXml().
CIccResponseCurveStruct::CIccResponseCurveStruct | ( | icUInt16Number | nChannels = 0 | ) |
Name: CIccResponseCurveStruct::CIccResponseCurveStruct
Purpose: Constructor
Args: nChannels = number of channels
References m_maxColorantXYZ, m_nChannels, and m_Response16ListArray.
Referenced by CIccTagResponseCurveSet16::Read().
CIccResponseCurveStruct::CIccResponseCurveStruct | ( | const CIccResponseCurveStruct & | IRCS | ) |
Name: CIccResponseCurveStruct::CIccResponseCurveStruct
Purpose: Copy Constructor
Args: IRCS = The CIccTagUnknown object to be copied
References m_maxColorantXYZ, m_measurementUnitSig, m_nChannels, and m_Response16ListArray.
|
virtual |
Name: CIccResponseCurveStruct::~CIccResponseCurveStruct
Purpose: Destructor
References m_maxColorantXYZ, and m_Response16ListArray.
void CIccResponseCurveStruct::Describe | ( | std::string & | sDescription, |
int | nVerboseness | ||
) |
Name: CIccResponseCurveStruct::Describe
Purpose: Dump data associated with the tag to a string
Args: sDescription - string to concatenate tag dump to
References icResponse16Number::deviceCode, GetMeasurementType(), CIccInfo::GetMeasurementUnit(), icFtoD(), m_maxColorantXYZ, m_nChannels, m_Response16ListArray, icResponse16Number::measurementValue, icXYZNumber::X, icXYZNumber::Y, and icXYZNumber::Z.
Referenced by CIccTagResponseCurveSet16::Describe().
|
inline |
References m_measurementUnitSig.
Referenced by Describe(), CIccTagResponseCurveSet16::GetResponseCurves(), CIccTagXmlResponseCurveSet16::ToXml(), and Write().
|
inline |
References m_nChannels.
Referenced by CIccTagXmlResponseCurveSet16::ToXml().
|
inline |
References m_Response16ListArray.
Referenced by CIccTagXmlResponseCurveSet16::ParseXml(), and CIccTagXmlResponseCurveSet16::ToXml().
|
inline |
Referenced by CIccTagResponseCurveSet16::GetFirstCurves(), CIccTagResponseCurveSet16::GetNextCurves(), and CIccTagResponseCurveSet16::GetResponseCurves().
|
inline |
References m_maxColorantXYZ.
Referenced by CIccTagXmlResponseCurveSet16::ParseXml(), and CIccTagXmlResponseCurveSet16::ToXml().
CIccResponseCurveStruct & CIccResponseCurveStruct::operator= | ( | const CIccResponseCurveStruct & | RespCurveStruct | ) |
Name: CIccResponseCurveStruct::operator=
Purpose: Copy Operator
Args: RespCurveStruct = The CIccResponseCurveStruct object to be copied
References m_maxColorantXYZ, m_measurementUnitSig, m_nChannels, and m_Response16ListArray.
Referenced by CIccTagResponseCurveSet16::NewResponseCurves(), and CIccTagResponseCurveSet16::Read().
bool CIccResponseCurveStruct::Read | ( | icUInt32Number | size, |
CIccIO * | pIO | ||
) |
Name: CIccResponseCurveStruct::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
References icResponse16Number::deviceCode, m_maxColorantXYZ, m_measurementUnitSig, m_nChannels, m_Response16ListArray, icResponse16Number::measurementValue, CIccIO::Read16(), CIccIO::Read32(), and icResponse16Number::reserved.
Referenced by CIccTagResponseCurveSet16::Read().
icValidateStatus CIccResponseCurveStruct::Validate | ( | std::string & | sReport | ) |
Name: CIccResponseCurveStruct::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.
References CIccInfo::CheckData(), CIccInfo::GetSigName(), icMaxStatus(), icMsgValidateNonCompliant, icSigDN, icSigDNN, icSigDNNP, icSigDNP, icSigStatusA, icSigStatusE, icSigStatusI, icSigStatusM, icSigStatusT, icValidateNonCompliant, icValidateOK, m_maxColorantXYZ, m_measurementUnitSig, and m_nChannels.
Referenced by CIccTagResponseCurveSet16::Validate().
bool CIccResponseCurveStruct::Write | ( | CIccIO * | pIO | ) |
Name: CIccResponseCurveStruct::Write
Purpose: Write the tag to a file
Args: pIO - The IO object to write tag to.
Return: true = succesful, false = failure
References icResponse16Number::deviceCode, GetMeasurementType(), m_maxColorantXYZ, m_nChannels, m_Response16ListArray, icResponse16Number::measurementValue, icResponse16Number::reserved, CIccIO::Write16(), and CIccIO::Write32().
Referenced by CIccTagResponseCurveSet16::Write().
|
protected |
|
protected |
Referenced by CIccResponseCurveStruct(), CIccResponseCurveStruct(), GetMeasurementType(), operator=(), Read(), and Validate().
|
protected |
Referenced by CIccResponseCurveStruct(), CIccResponseCurveStruct(), CIccResponseCurveStruct(), Describe(), GetNumChannels(), operator=(), Read(), Validate(), and Write().
|
protected |