Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccTagTextDescription() More...
#include <IccTagBasic.h>
Public Member Functions | |
icUInt32Number | Capacity () const |
CIccTagTextDescription () | |
Name: CIccTagTextDescription::CIccTagTextDescription. | |
CIccTagTextDescription (const CIccTagTextDescription &ITTD) | |
Name: CIccTagTextDescription::CIccTagTextDescription. | |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
Name: CIccTagTextDescription::Describe. | |
icChar * | GetBuffer (icUInt32Number nSize) |
Name: CIccTagTextDescription::GetBuffer. | |
virtual const icChar * | GetClassName () const |
const icChar * | GetText () const |
virtual icTagTypeSignature | GetType () const |
Function: GetType() | |
icUInt16Number * | GetUnicodeBuffer (icUInt32Number nSize) |
Name: CIccTagTextDescription::GetUnicodeBuffer. | |
virtual CIccTag * | NewCopy () const |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function. | |
CIccTagTextDescription & | operator= (const CIccTagTextDescription &TextDescTag) |
Name: CIccTagTextDescription::operator=. | |
const icChar * | operator= (const icChar *szText) |
Name: CIccTagTextDescription::operator=. | |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
Name: CIccTagTextDescription::Read. | |
void | Release () |
Name: CIccTagTextDescription::Release. | |
void | ReleaseUnicode () |
Name: CIccTagTextDescription::ReleaseUnicode. | |
void | SetText (const icChar *szText) |
Name: CIccTagTextDescription::SetText. | |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Name: CIccTagTextDescription::Validate. | |
virtual bool | Write (CIccIO *pIO) |
Name: CIccTagTextDescription::Write. | |
virtual | ~CIccTagTextDescription () |
Name: CIccTagTextDescription::~CIccTagTextDescription. | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
static CIccTag * | Create (icTagTypeSignature sig) |
Name: CIccTag::Create. | |
![]() | |
icUInt32Number | m_nReserved |
Class: CIccTagTextDescription()
Purpose: The textType ICC tag
Definition at line 480 of file IccTagBasic.h.
CIccTagTextDescription::CIccTagTextDescription | ( | ) |
Name: CIccTagTextDescription::CIccTagTextDescription.
Purpose: Constructor
Definition at line 1899 of file IccTagBasic.cpp.
CIccTagTextDescription::CIccTagTextDescription | ( | const CIccTagTextDescription & | ITTD | ) |
Name: CIccTagTextDescription::CIccTagTextDescription.
Purpose: Copy Constructor
Args: ITTD = The CIccTagTextDescription object to be copied
Definition at line 1927 of file IccTagBasic.cpp.
References m_bInvalidScript, m_nASCIISize, m_nScriptCode, m_nScriptSize, m_nUnicodeLanguageCode, m_nUnicodeSize, m_szScriptText, m_szText, and m_uzUnicodeText.
|
virtual |
Name: CIccTagTextDescription::~CIccTagTextDescription.
Purpose: Destructor
Definition at line 2021 of file IccTagBasic.cpp.
|
inline |
Definition at line 503 of file IccTagBasic.h.
|
virtual |
Name: CIccTagTextDescription::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 2185 of file IccTagBasic.cpp.
References BRIEF_STRING_SIZE.
icChar * CIccTagTextDescription::GetBuffer | ( | icUInt32Number | nSize | ) |
Name: CIccTagTextDescription::GetBuffer.
Purpose: This function allocates room and returns pointer to data buffer to put string into
Args: nSize = Requested size of data buffer.
Return:
Definition at line 2272 of file IccTagBasic.cpp.
References icRealloc().
|
inlinevirtual |
Reimplemented from CIccTag.
Reimplemented in CIccTagXmlTextDescription.
Definition at line 490 of file IccTagBasic.h.
|
inline |
Definition at line 497 of file IccTagBasic.h.
Referenced by CIccProfileIdDesc::CIccProfileIdDesc(), icGetTagText(), and main().
|
inlinevirtual |
Function: GetType()
Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.
Reimplemented from CIccTag.
Definition at line 489 of file IccTagBasic.h.
References icSigTextDescriptionType.
icUInt16Number * CIccTagTextDescription::GetUnicodeBuffer | ( | icUInt32Number | nSize | ) |
Name: CIccTagTextDescription::GetUnicodeBuffer.
Purpose: This function allocates room and returns pointer to data buffer to put string into
Args: nSize = Requested size of data buffer.
Return:
Definition at line 2316 of file IccTagBasic.cpp.
References icRealloc().
|
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 CIccTagXmlTextDescription.
Definition at line 486 of file IccTagBasic.h.
CIccTagTextDescription & CIccTagTextDescription::operator= | ( | const CIccTagTextDescription & | TextDescTag | ) |
Name: CIccTagTextDescription::operator=.
Purpose: Copy Operator
Args: TextDescTag = The CIccTagTextDescription object to be copied
Definition at line 1971 of file IccTagBasic.cpp.
References m_bInvalidScript, m_nASCIISize, m_nScriptCode, m_nScriptSize, m_nUnicodeLanguageCode, m_nUnicodeSize, m_szScriptText, m_szText, and m_uzUnicodeText.
Name: CIccTagTextDescription::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.
Definition at line 2253 of file IccTagBasic.cpp.
|
virtual |
Name: CIccTagTextDescription::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 2041 of file IccTagBasic.cpp.
References CIccIO::Read16(), CIccIO::Read32(), CIccIO::Read8(), sig, and CIccIO::Tell().
void CIccTagTextDescription::Release | ( | ) |
Name: CIccTagTextDescription::Release.
Purpose: This will resize the buffer to fit the zero terminated string in the buffer.
Definition at line 2293 of file IccTagBasic.cpp.
References icRealloc().
void CIccTagTextDescription::ReleaseUnicode | ( | ) |
Name: CIccTagTextDescription::ReleaseUnicode.
Purpose: This will resize the buffer to fit the zero terminated string in the buffer.
Definition at line 2337 of file IccTagBasic.cpp.
References icRealloc().
void CIccTagTextDescription::SetText | ( | const icChar * | szText | ) |
Name: CIccTagTextDescription::SetText.
Purpose: Allows text data associated with the tag to be set.
Args: szText - zero terminated string to put in tag
Definition at line 2227 of file IccTagBasic.cpp.
|
virtual |
Name: CIccTagTextDescription::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 2365 of file IccTagBasic.cpp.
References CIccInfo::GetSigPathName(), icMaxStatus(), icMsgValidateNonCompliant, icValidateNonCompliant, and CIccTag::Validate().
|
virtual |
Name: CIccTagTextDescription::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 2134 of file IccTagBasic.cpp.
References sig, CIccIO::Write16(), CIccIO::Write32(), and CIccIO::Write8().
|
protected |
Definition at line 522 of file IccTagBasic.h.
Referenced by CIccTagTextDescription(), and operator=().
|
protected |
Definition at line 512 of file IccTagBasic.h.
Referenced by CIccTagTextDescription(), and operator=().
|
protected |
Definition at line 520 of file IccTagBasic.h.
Referenced by CIccTagTextDescription(), and operator=().
|
protected |
Definition at line 519 of file IccTagBasic.h.
Referenced by CIccTagTextDescription(), and operator=().
|
protected |
Definition at line 516 of file IccTagBasic.h.
Referenced by CIccTagTextDescription(), and operator=().
|
protected |
Definition at line 515 of file IccTagBasic.h.
Referenced by CIccTagTextDescription(), and operator=().
|
protected |
Definition at line 518 of file IccTagBasic.h.
Referenced by CIccTagTextDescription(), and operator=().
|
protected |
Definition at line 511 of file IccTagBasic.h.
Referenced by CIccTagTextDescription(), and operator=().
|
protected |
Definition at line 514 of file IccTagBasic.h.
Referenced by CIccTagTextDescription(), and operator=().