SampleICC Main srcforge
Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CIccTagResponseCurveSet16 Class Reference

#include <IccTagBasic.h>

Inheritance diagram for CIccTagResponseCurveSet16:

CIccTag List of all members.

Public Member Functions

 CIccTagResponseCurveSet16 ()
 CIccTagResponseCurveSet16 (const CIccTagResponseCurveSet16 &ITRCS)
CIccTagResponseCurveSet16operator= (const CIccTagResponseCurveSet16 &RespCurveSet16Tag)
virtual CIccTagNewCopy () const
virtual ~CIccTagResponseCurveSet16 ()
virtual icTagTypeSignature GetType ()
virtual const icCharGetClassName ()
virtual bool Read (icUInt32Number size, CIccIO *pIO)
virtual bool Write (CIccIO *pIO)
virtual void Describe (std::string &sDescription)
void SetNumChannels (icUInt16Number nChannels)
icUInt16Number GetNumChannels () const
CIccResponseCurveStructNewResponseCurves (icMeasurementUnitSig sig)
CIccResponseCurveStructGetResponseCurves (icMeasurementUnitSig sig)
CIccResponseCurveStructGetFirstCurves ()
CIccResponseCurveStructGetNextCurves ()
icUInt16Number GetNumResponseCurveTypes () const
virtual icValidateStatus Validate (icTagSignature sig, std::string &sReport, const CIccProfile *pProfile=NULL) const

Protected Attributes

icUInt16Number m_nChannels

Detailed Description

Class: CIccTagResponseCurveSet16

Purpose: The responseCurveSet16 Tag type

Constructor & Destructor Documentation

CIccTagResponseCurveSet16::CIccTagResponseCurveSet16  ) 

Name: CIccTagResponseCurveSet16::CIccTagResponseCurveSet16

Purpose: Constructor

CIccTagResponseCurveSet16::CIccTagResponseCurveSet16 const CIccTagResponseCurveSet16 ITRCS  ) 

Name: CIccTagResponseCurveSet16::CIccTagResponseCurveSet16

Purpose: Copy Constructor

Args: ITRCS = The CIccTagResponseCurveSet16 object to be copied

CIccTagResponseCurveSet16::~CIccTagResponseCurveSet16  )  [virtual]

Name: CIccTagResponseCurveSet16::~CIccTagResponseCurveSet16

Purpose: Destructor

Member Function Documentation

void CIccTagResponseCurveSet16::Describe std::string &  sDescription  )  [virtual]

Name: CIccTagResponseCurveSet16::Describe

Purpose: Dump data associated with the tag to a string

Args: sDescription - string to concatenate tag dump to

Reimplemented from CIccTag.

virtual const icChar* CIccTagResponseCurveSet16::GetClassName  )  [inline, virtual]

Reimplemented from CIccTag.

CIccResponseCurveStruct * CIccTagResponseCurveSet16::GetFirstCurves  ) 

Name: CIccTagResponseCurveSet16::GetFirstCurves

Purpose: Returns pointer to the first set of response curves in the list.

CIccResponseCurveStruct * CIccTagResponseCurveSet16::GetNextCurves  ) 

Name: CIccTagResponseCurveSet16::GetNextCurves

Purpose: Serves as an iterator for the list containing response curves. GetFirstCurves() must be called before calling this function.

icUInt16Number CIccTagResponseCurveSet16::GetNumChannels  )  const [inline]

icUInt16Number CIccTagResponseCurveSet16::GetNumResponseCurveTypes  )  const

Name: CIccTagResponseCurveSet16::GetNumResponseCurveTypes

Purpose: Get the number of response curve types.

CIccResponseCurveStruct * CIccTagResponseCurveSet16::GetResponseCurves icMeasurementUnitSig  sig  ) 

Name: CIccTagResponseCurveSet16::GetResponseCurves

Purpose: Returns pointer to the requested set of response curves

Args: sig = measurement unit signature of the response curve set desired

virtual icTagTypeSignature CIccTagResponseCurveSet16::GetType  )  [inline, virtual]

Function: GetType()

Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.

Reimplemented from CIccTag.

virtual CIccTag* CIccTagResponseCurveSet16::NewCopy  )  const [inline, virtual]

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.

CIccResponseCurveStruct * CIccTagResponseCurveSet16::NewResponseCurves icMeasurementUnitSig  sig  ) 

Name: CIccTagResponseCurveSet16::NewResponseCurves

Purpose: Creates and adds a new set of response curves to the list. SetNumChannels() must be called before calling this function.

Args: sig = measurement unit signature

CIccTagResponseCurveSet16 & CIccTagResponseCurveSet16::operator= const CIccTagResponseCurveSet16 RespCurveSet16Tag  ) 

Name: CIccTagResponseCurveSet16::operator=

Purpose: Copy Operator

Args: RespCurveSet16Tag = The CIccTagResponseCurveSet16 object to be copied

bool CIccTagResponseCurveSet16::Read icUInt32Number  size,

Name: CIccTagResponseCurveSet16::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.

void CIccTagResponseCurveSet16::SetNumChannels icUInt16Number  nChannels  ) 

Name: CIccTagResponseCurveSet16::SetNumChannels

Purpose: Sets the number of channels. This will delete any prior Response curves from the set.

Args: nChannels = number of channels

icValidateStatus CIccTagResponseCurveSet16::Validate icTagSignature  sig,
std::string &  sReport,
const CIccProfile pProfile = NULL
const [virtual]

Name: CIccTagResponseCurveSet16::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.

bool CIccTagResponseCurveSet16::Write CIccIO pIO  )  [virtual]

Name: CIccTagResponseCurveSet16::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.

Member Data Documentation

CIccResponseCurveSetIter* CIccTagResponseCurveSet16::m_Curve [protected]

icUInt16Number CIccTagResponseCurveSet16::m_nChannels [protected]

CIccResponseCurveSet* CIccTagResponseCurveSet16::m_ResponseCurves [protected]

The documentation for this class was generated from the following files:
Generated on Tue Jun 26 17:51:46 2007 for IccProfLib by  doxygen