#include <IccTagBasic.h>
Inheritance diagram for CIccTagText:
Public Member Functions | |
CIccTagText () | |
CIccTagText (const CIccTagText &ITT) | |
CIccTagText & | operator= (const CIccTagText &TextTag) |
virtual CIccTag * | NewCopy () const |
virtual | ~CIccTagText () |
virtual icTagTypeSignature | GetType () |
virtual const icChar * | GetClassName () |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
virtual bool | Write (CIccIO *pIO) |
virtual void | Describe (std::string &sDescription) |
const icChar * | GetText () const |
void | SetText (const icChar *szText) |
const icChar * | operator= (const icChar *szText) |
icChar * | GetBuffer (icUInt32Number nSize) |
void | Release () |
icUInt32Number | Capacity () const |
virtual icValidateStatus | Validate (icTagSignature sig, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Protected Attributes | |
icChar * | m_szText |
icUInt32Number | m_nBufSize |
Purpose: The textType ICC tag
|
Name: CIccTagText::CIccTagText Purpose: Constructor |
|
Name: CIccTagText::CIccTagText Purpose: Copy Constructor Args: ITT = The CIccTagText object to be copied |
|
Name: CIccTagText::~CIccTagText Purpose: Destructor |
|
|
|
Name: CIccTagText::Describe Purpose: Dump data associated with the tag to a string Args: sDescription - string to concatenate tag dump to Reimplemented from CIccTag. |
|
Name: CIccTagText::GetBuffer Purpose: This function allocates room and returns pointer to data buffer to put string into Args: nSize = Requested size of data buffer. Return: The character buffer array |
|
Reimplemented from CIccTag. |
|
|
|
Function: GetType() Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function. 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: *CIccTagText::operator= Purpose: Define assignment operator to associate text with tag. Args: szText - zero terminated string to put in the tag Return: A pointer to the string assigned to the tag. |
|
Name: CIccTagText::operator= Purpose: Copy Operator Args: TextTag = The CIccTagText object to be copied |
|
Name: CIccTagText::Read Purpose: Read in a text type tag 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: CIccTagText::Release Purpose: This will resize the buffer to fit the zero terminated string in the buffer. |
|
Name: CIccTagText::SetText Purpose: Allows text data associated with the tag to be set. Args: szText - zero terminated string to put in tag |
|
Name: CIccTagText::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: CIccTagText::Write Purpose: Write a text type tag to a file Args: pIO - The IO object to write tag to. Return: true = succesful, false = failure Reimplemented from CIccTag. |
|
|
|
|