Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccTagData. More...
#include <IccTagBasic.h>
Public Member Functions | |
CIccTagData (const CIccTagData &ITD) | |
Name: CIccTagData::CIccTagData. | |
CIccTagData (int nSize=1) | |
Name: CIccTagData::CIccTagData. | |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
Name: CIccTagData::Describe. | |
virtual const icChar * | GetClassName () const |
icUInt8Number * | GetData (icUInt32Number index=0) |
icUInt32Number | GetSize () const |
virtual icTagTypeSignature | GetType () const |
Function: GetType() | |
virtual bool | IsArrayType () |
virtual bool | IsTypeAscii () |
virtual bool | IsTypeBinary () |
virtual bool | IsTypeCompressed () |
virtual bool | IsTypeUtf () |
virtual CIccTag * | NewCopy () const |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function. | |
CIccTagData & | operator= (const CIccTagData &DataTag) |
Name: CIccTagData::operator=. | |
icUInt8Number & | operator[] (icUInt32Number index) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
Name: CIccTagData::Read. | |
virtual void | SetDataType (icDataBlockType dataType=icAsciiData) |
bool | SetSize (icUInt32Number nSize, bool bZeroNew=true) |
Name: CIccTagData::SetSize. | |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Name: CIccTagData::Validate. | |
virtual bool | Write (CIccIO *pIO) |
Name: CIccTagData::Write. | |
virtual | ~CIccTagData () |
Name: CIccTagData::~CIccTagData. | |
![]() | |
CIccTag () | |
Name: CIccTag::CIccTag. | |
virtual void | DetachIO () |
Function: ReadAll() - Read All sub data for tag from file. | |
virtual IIccExtensionTag * | GetExtension () |
virtual icArraySignature | GetTagArrayType () const |
virtual icStructSignature | GetTagStructType () const |
virtual bool | IsMBBType () |
virtual bool | IsNumArrayType () const |
virtual bool | IsSupported () |
Function: IsSupported(size, pIO) - Check if tag fully supported for apply purposes. | |
virtual bool | Read (icUInt32Number size, CIccIO *pIO, CIccProfile *pProfile) |
Function: Read(size, pIO) - Read tag from file. | |
virtual bool | ReadAll () |
Function: ReadAll() - Read All sub data for tag from file. | |
virtual | ~CIccTag () |
Name: CIccTag::CIccTag. | |
Protected Attributes | |
icDataBlockType | m_nDataFlag |
icUInt32Number | m_nSize |
icUInt8Number * | m_pData |
Additional Inherited Members | |
![]() | |
static CIccTag * | Create (icTagTypeSignature sig) |
Name: CIccTag::Create. | |
![]() | |
icUInt32Number | m_nReserved |
CIccTagData::CIccTagData | ( | int | nSize = 1 | ) |
Name: CIccTagData::CIccTagData.
Purpose: Constructor
Args: nSize = number of data entries
Definition at line 7745 of file IccTagBasic.cpp.
CIccTagData::CIccTagData | ( | const CIccTagData & | ITD | ) |
Name: CIccTagData::CIccTagData.
Purpose: Copy Constructor
Args: ITD = The CIccTagData object to be copied
Definition at line 7764 of file IccTagBasic.cpp.
References m_nDataFlag, m_nSize, and m_pData.
|
virtual |
Name: CIccTagData::~CIccTagData.
Purpose: Destructor
Definition at line 7809 of file IccTagBasic.cpp.
|
virtual |
Name: CIccTagData::Describe.
Purpose: Dump data associated with the tag to a string
Args: sDescription - string to concatenate tag dump to
Reimplemented from CIccTag.
Definition at line 7925 of file IccTagBasic.cpp.
References icMemDump().
|
inlinevirtual |
Reimplemented from CIccTag.
Reimplemented in CIccTagXmlTagData.
Definition at line 1285 of file IccTagBasic.h.
|
inline |
Definition at line 1297 of file IccTagBasic.h.
|
inline |
Definition at line 1294 of file IccTagBasic.h.
|
inlinevirtual |
Function: GetType()
Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.
Reimplemented from CIccTag.
Definition at line 1284 of file IccTagBasic.h.
References icSigDataType.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
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.
Definition at line 1281 of file IccTagBasic.h.
CIccTagData & CIccTagData::operator= | ( | const CIccTagData & | DataTag | ) |
Name: CIccTagData::operator=.
Purpose: Copy Operator
Args: DataTag = The CIccTagData object to be copied
Definition at line 7784 of file IccTagBasic.cpp.
References m_nDataFlag, m_nSize, and m_pData.
|
inline |
Definition at line 1296 of file IccTagBasic.h.
|
virtual |
Name: CIccTagData::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.
Definition at line 7830 of file IccTagBasic.cpp.
References CIccIO::Read32(), CIccIO::Read8(), and sig.
|
inlinevirtual |
Definition at line 1299 of file IccTagBasic.h.
bool CIccTagData::SetSize | ( | icUInt32Number | nSize, |
bool | bZeroNew = true ) |
Name: CIccTagData::SetSize.
Purpose: Sets the size of the data array.
Args: nSize - number of data entries, bZeroNew - flag to zero newly formed values
Definition at line 7979 of file IccTagBasic.cpp.
References icRealloc().
|
virtual |
Name: CIccTagData::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.
Definition at line 8014 of file IccTagBasic.cpp.
References CIccInfo::GetSigPathName(), icAsciiData, icBinaryData, icCompressedAsciiData, icCompressedBinaryData, icCompressedData, icCompressedUtfData, icDataTypeMask, icMaxStatus(), icMsgValidateNonCompliant, icMsgValidateWarning, icUtfData, icValidateNonCompliant, icValidateWarning, and CIccTag::Validate().
|
virtual |
Name: CIccTagData::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.
Definition at line 7882 of file IccTagBasic.cpp.
References sig, CIccIO::Write32(), and CIccIO::Write8().
|
protected |
Definition at line 1308 of file IccTagBasic.h.
Referenced by CIccTagData(), and operator=().
|
protected |
Definition at line 1310 of file IccTagBasic.h.
Referenced by CIccTagData(), and operator=().
|
protected |
Definition at line 1309 of file IccTagBasic.h.
Referenced by CIccTagData(), and operator=().