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

CIccTag Class Reference

#include <IccTagBasic.h>

Inheritance diagram for CIccTag:

CIccCurve CIccMBB CIccTagChromaticity CIccTagColorantOrder CIccTagColorantTable CIccTagData CIccTagDateTime CIccTagFixedNum< T, Tsig > CIccTagMeasurement CIccTagMultiLocalizedUnicode CIccTagMultiProcessElement CIccTagNamedColor2 CIccTagNum< T, Tsig > CIccTagProfileSeqDesc CIccTagProfileSequenceId CIccTagResponseCurveSet16 CIccTagSignature CIccTagText CIccTagTextDescription CIccTagUnknown CIccTagViewingConditions CIccTagXYZ List of all members.

Public Member Functions

 CIccTag ()
virtual CIccTagNewCopy () const
virtual ~CIccTag ()
virtual icTagTypeSignature GetType ()
virtual bool IsArrayType ()
virtual bool IsMBBType ()
virtual const icCharGetClassName ()
virtual IIccExtensionTagGetExtension ()
virtual bool IsSupported ()
virtual bool Read (icUInt32Number size, CIccIO *pIO)
virtual bool Write (CIccIO *pIO)
virtual void Describe (std::string &sDescription)
virtual icValidateStatus Validate (icTagSignature sig, std::string &sReport, const CIccProfile *pProfile=NULL) const

Static Public Member Functions

CIccTagCreate (icTagTypeSignature sig)

Public Attributes

icUInt32Number m_nReserved

Detailed Description

Class: CIccTag

Purpose: CIccTag is the base class that all Icc Tags are derived from. It defines basic tag functionality, and provides a static function that acts as an object construction factory.


Constructor & Destructor Documentation

CIccTag::CIccTag  ) 
 

Name: CIccTag::CIccTag

Purpose: Constructor

CIccTag::~CIccTag  )  [virtual]
 

Name: CIccTag::CIccTag

Purpose: Destructor


Member Function Documentation

CIccTag * CIccTag::Create icTagTypeSignature  sig  )  [static]
 

Name: CIccTag::Create

Purpose: This is a static tag creator based upon tag signature type

Args: sig = tag type signature

Return: Pointer to Allocated tag

virtual void CIccTag::Describe std::string &  sDescription  )  [inline, virtual]
 

Function: Describe(sDescription) Each derived tag will implement it's own Describe() function.

Parameter(s): sDescription - A string to put the tag's description into.

Reimplemented in CIccTagUnknown, CIccTagText, CIccTagTextDescription, CIccTagSignature, CIccTagNamedColor2, CIccTagXYZ, CIccTagChromaticity, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, CIccTagMeasurement, CIccTagMultiLocalizedUnicode, CIccTagData, CIccTagDateTime, CIccTagColorantOrder, CIccTagColorantTable, CIccTagViewingConditions, CIccTagProfileSeqDesc, CIccTagResponseCurveSet16, CIccTagCurve, CIccTagParametricCurve, CIccMBB, CIccTagMultiProcessElement, and CIccTagProfileSequenceId.

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

Reimplemented in CIccTagUnknown, CIccTagText, CIccTagTextDescription, CIccTagSignature, CIccTagNamedColor2, CIccTagXYZ, CIccTagChromaticity, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, CIccTagMeasurement, CIccTagMultiLocalizedUnicode, CIccTagData, CIccTagDateTime, CIccTagColorantOrder, CIccTagColorantTable, CIccTagViewingConditions, CIccTagProfileSeqDesc, CIccTagResponseCurveSet16, CIccTagCurve, CIccTagParametricCurve, CIccTagMultiProcessElement, and CIccTagProfileSequenceId.

virtual IIccExtensionTag* CIccTag::GetExtension  )  [inline, virtual]
 

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

Function: GetType()

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

Reimplemented in CIccTagUnknown, CIccTagText, CIccTagTextDescription, CIccTagSignature, CIccTagNamedColor2, CIccTagXYZ, CIccTagChromaticity, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, CIccTagMeasurement, CIccTagMultiLocalizedUnicode, CIccTagData, CIccTagDateTime, CIccTagColorantOrder, CIccTagColorantTable, CIccTagViewingConditions, CIccTagProfileSeqDesc, CIccTagResponseCurveSet16, CIccTagCurve, CIccTagParametricCurve, CIccTagLutAtoB, CIccTagLutBtoA, CIccTagLut8, CIccTagLut16, CIccTagMultiProcessElement, and CIccTagProfileSequenceId.

virtual bool CIccTag::IsArrayType  )  [inline, virtual]
 

Reimplemented in CIccTagXYZ, CIccTagChromaticity, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, and CIccTagData.

virtual bool CIccTag::IsMBBType  )  [inline, virtual]
 

Reimplemented in CIccMBB.

virtual bool CIccTag::IsSupported  )  [inline, virtual]
 

Function: IsSupported(size, pIO) - Check if tag fully supported for apply purposes. By Default inherited classes are supported. Unknown tag types are not supported.

Returns true if tag type is supported.

Reimplemented in CIccTagMultiProcessElement.

virtual CIccTag* CIccTag::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 in CIccTagUnknown, CIccTagText, CIccTagTextDescription, CIccTagSignature, CIccTagNamedColor2, CIccTagXYZ, CIccTagChromaticity, CIccTagMeasurement, CIccTagMultiLocalizedUnicode, CIccTagData, CIccTagDateTime, CIccTagColorantOrder, CIccTagColorantTable, CIccTagViewingConditions, CIccTagProfileSeqDesc, CIccTagResponseCurveSet16, CIccCurve, CIccTagCurve, CIccTagParametricCurve, CIccMBB, CIccTagLut8, CIccTagLut16, CIccTagMultiProcessElement, and CIccTagProfileSequenceId.

virtual bool CIccTag::Read icUInt32Number  size,
CIccIO pIO
[inline, virtual]
 

Function: Read(size, pIO) - Read tag from file. Each derived tag will implement it's own Read() function.

Parameter(s): size - number of bytes in tag including the type signature. pIO - IO object used to read in tag. The IO object should already be initialized to point to the begining of the tag.

Returns true if Read is successful.

Reimplemented in CIccTagUnknown, CIccTagText, CIccTagTextDescription, CIccTagSignature, CIccTagNamedColor2, CIccTagXYZ, CIccTagChromaticity, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, CIccTagMeasurement, CIccTagMultiLocalizedUnicode, CIccTagData, CIccTagDateTime, CIccTagColorantOrder, CIccTagColorantTable, CIccTagViewingConditions, CIccTagProfileSeqDesc, CIccTagResponseCurveSet16, CIccTagCurve, CIccTagParametricCurve, CIccTagLutAtoB, CIccTagLut8, CIccTagLut16, CIccTagMultiProcessElement, and CIccTagProfileSequenceId.

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

Function: Validate Each derived tag will implement it's own IsValid() function

Parameter(s): sig - signature of tag being validated, sDescription - A string to put tag validation report.

Reimplemented in CIccTagText, CIccTagTextDescription, CIccTagSignature, CIccTagNamedColor2, CIccTagXYZ, CIccTagChromaticity, CIccTagMeasurement, CIccTagMultiLocalizedUnicode, CIccTagData, CIccTagDateTime, CIccTagColorantOrder, CIccTagColorantTable, CIccTagViewingConditions, CIccTagProfileSeqDesc, CIccTagResponseCurveSet16, CIccTagCurve, CIccTagMultiProcessElement, and CIccTagProfileSequenceId.

virtual bool CIccTag::Write CIccIO pIO  )  [inline, virtual]
 

Function: Write(pIO) Each derived tag will implement it's own Write() function.

Parameter(s): pIO - IO object used to write a tag. The IO object should already be initialized to point to the begining of the tag.

Returns true if Write is successful.

Reimplemented in CIccTagUnknown, CIccTagText, CIccTagTextDescription, CIccTagSignature, CIccTagNamedColor2, CIccTagXYZ, CIccTagChromaticity, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, CIccTagMeasurement, CIccTagMultiLocalizedUnicode, CIccTagData, CIccTagDateTime, CIccTagColorantOrder, CIccTagColorantTable, CIccTagViewingConditions, CIccTagProfileSeqDesc, CIccTagResponseCurveSet16, CIccTagCurve, CIccTagParametricCurve, CIccTagLutAtoB, CIccTagLut8, CIccTagLut16, CIccTagMultiProcessElement, and CIccTagProfileSequenceId.


Member Data Documentation

icUInt32Number CIccTag::m_nReserved
 


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