#include <IccTagBasic.h>
Inheritance diagram for CIccTagData:
Public Member Functions | |
CIccTagData (int nSize=1) | |
CIccTagData (const CIccTagData &ITD) | |
CIccTagData & | operator= (const CIccTagData &DataTag) |
virtual CIccTag * | NewCopy () const |
virtual | ~CIccTagData () |
virtual icTagTypeSignature | GetType () |
virtual const icChar * | GetClassName () |
virtual bool | IsArrayType () |
virtual void | Describe (std::string &sDescription) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
virtual bool | Write (CIccIO *pIO) |
icUInt32Number | GetSize () const |
void | SetSize (icUInt32Number nSize, bool bZeroNew=true) |
icUInt8Number & | operator[] (icUInt32Number index) |
icUInt8Number * | GetData (icUInt32Number index) |
void | SetTypeAscii (bool bIsAscii=true) |
bool | IsTypeAscii () |
virtual icValidateStatus | Validate (icTagSignature sig, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Protected Attributes | |
icUInt32Number | m_nDataFlag |
icUInt8Number * | m_pData |
icUInt32Number | m_nSize |
Purpose: The data type tag
|
Name: CIccTagData::CIccTagData Purpose: Constructor Args: nSize = number of data entries |
|
Name: CIccTagData::CIccTagData Purpose: Copy Constructor Args: ITD = The CIccTagData object to be copied |
|
Name: CIccTagData::~CIccTagData Purpose: Destructor |
|
Name: CIccTagData::Describe Purpose: Dump data associated with the tag to a string Args: sDescription - string to concatenate tag dump to Reimplemented from CIccTag. |
|
Reimplemented from CIccTag. |
|
|
|
|
|
Function: GetType() Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function. Reimplemented from CIccTag. |
|
Reimplemented from CIccTag. |
|
|
|
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. |
|
Name: CIccTagData::operator= Purpose: Copy Operator Args: DataTag = The CIccTagData object to be copied |
|
|
|
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. |
|
Name: CIccTagData::SetSize Purpose: Sets the size of the data array. Args: nSize - number of data entries, bZeroNew - flag to zero newly formed values |
|
|
|
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. |
|
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. |
|
|
|
|
|
|