#include <IccTagBasic.h>
Inheritance diagram for CIccTag:
Public Member Functions | |
CIccTag () | |
virtual CIccTag * | NewCopy () const |
virtual | ~CIccTag () |
virtual icTagTypeSignature | GetType () |
virtual bool | IsArrayType () |
virtual bool | IsMBBType () |
virtual const icChar * | GetClassName () |
virtual IIccExtensionTag * | GetExtension () |
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 | |
CIccTag * | Create (icTagTypeSignature sig) |
Public Attributes | |
icUInt32Number | m_nReserved |
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.
|
Name: CIccTag::CIccTag Purpose: Constructor |
|
Name: CIccTag::CIccTag Purpose: Destructor |
|
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 |
|
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. |
|
|
|
|
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. |
|
Reimplemented in CIccTagXYZ, CIccTagChromaticity, CIccTagFixedNum< T, Tsig >, CIccTagNum< T, Tsig >, and CIccTagData. |
|
Reimplemented in CIccMBB. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
|