Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccTagText() More...
#include <IccTagBasic.h>
Public Member Functions | |
icUInt32Number | Capacity () const |
CIccTagText () | |
Name: CIccTagText::CIccTagText. | |
CIccTagText (const CIccTagText &ITT) | |
Name: CIccTagText::CIccTagText. | |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
Name: CIccTagText::Describe. | |
icChar * | GetBuffer (icUInt32Number nSize) |
Name: CIccTagText::GetBuffer. | |
virtual const icChar * | GetClassName () const |
const icChar * | GetText () const |
virtual icTagTypeSignature | GetType () const |
Function: GetType() | |
virtual CIccTag * | NewCopy () const |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function. | |
CIccTagText & | operator= (const CIccTagText &TextTag) |
Name: CIccTagText::operator=. | |
const icChar * | operator= (const icChar *szText) |
Name: *CIccTagTextoperator=. | |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
Name: CIccTagText::Read. | |
void | Release () |
Name: CIccTagText::Release. | |
void | SetText (const icChar *szText) |
Name: CIccTagText::SetText. | |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Name: CIccTagText::Validate. | |
virtual bool | Write (CIccIO *pIO) |
Name: CIccTagText::Write. | |
virtual | ~CIccTagText () |
Name: CIccTagText::~CIccTagText. | |
![]() | |
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 | IsArrayType () |
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 | |
icUInt32Number | m_nBufSize |
icChar * | m_szText |
Additional Inherited Members | |
![]() | |
static CIccTag * | Create (icTagTypeSignature sig) |
Name: CIccTag::Create. | |
![]() | |
icUInt32Number | m_nReserved |
CIccTagText::CIccTagText | ( | ) |
Name: CIccTagText::CIccTagText.
Purpose: Constructor
Definition at line 363 of file IccTagBasic.cpp.
CIccTagText::CIccTagText | ( | const CIccTagText & | ITT | ) |
Name: CIccTagText::CIccTagText.
Purpose: Copy Constructor
Args: ITT = The CIccTagText object to be copied
Definition at line 380 of file IccTagBasic.cpp.
References m_szText.
|
virtual |
Name: CIccTagText::~CIccTagText.
Purpose: Destructor
Definition at line 419 of file IccTagBasic.cpp.
|
inline |
Definition at line 306 of file IccTagBasic.h.
|
virtual |
Name: CIccTagText::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 516 of file IccTagBasic.cpp.
References BRIEF_STRING_SIZE.
icChar * CIccTagText::GetBuffer | ( | icUInt32Number | nSize | ) |
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
Definition at line 600 of file IccTagBasic.cpp.
References icRealloc().
|
inlinevirtual |
Reimplemented from CIccTag.
Reimplemented in CIccTagXmlText.
Definition at line 293 of file IccTagBasic.h.
|
inline |
Definition at line 300 of file IccTagBasic.h.
Referenced by CIccProfileIdDesc::CIccProfileIdDesc(), and icGetTagText().
|
inlinevirtual |
Function: GetType()
Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.
Reimplemented from CIccTag.
Definition at line 292 of file IccTagBasic.h.
References icSigTextType.
|
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.
Reimplemented in CIccTagXmlText.
Definition at line 289 of file IccTagBasic.h.
CIccTagText & CIccTagText::operator= | ( | const CIccTagText & | TextTag | ) |
Name: CIccTagText::operator=.
Purpose: Copy Operator
Args: TextTag = The CIccTagText object to be copied
Definition at line 398 of file IccTagBasic.cpp.
References m_szText.
Name: *CIccTagTextoperator=.
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.
Definition at line 581 of file IccTagBasic.cpp.
|
virtual |
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.
Definition at line 438 of file IccTagBasic.cpp.
References CIccIO::Read32(), CIccIO::Read8(), and sig.
void CIccTagText::Release | ( | ) |
Name: CIccTagText::Release.
Purpose: This will resize the buffer to fit the zero terminated string in the buffer.
Definition at line 624 of file IccTagBasic.cpp.
References icRealloc().
void CIccTagText::SetText | ( | const icChar * | szText | ) |
Name: CIccTagText::SetText.
Purpose: Allows text data associated with the tag to be set.
Args: szText - zero terminated string to put in tag
Definition at line 557 of file IccTagBasic.cpp.
|
virtual |
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.
Definition at line 649 of file IccTagBasic.cpp.
References CIccInfo::GetSigPathName(), icGetFirstSigPathSig(), icMaxStatus(), icMsgValidateNonCompliant, icMsgValidateWarning, icSigCharTargetTag, icSigCopyrightTag, icValidateNonCompliant, icValidateWarning, sig, and CIccTag::Validate().
|
virtual |
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.
Definition at line 482 of file IccTagBasic.cpp.
References sig, CIccIO::Write32(), and CIccIO::Write8().
|
protected |
Definition at line 311 of file IccTagBasic.h.
|
protected |
Definition at line 310 of file IccTagBasic.h.
Referenced by CIccTagText(), and operator=().