Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Class: CIccTagZipUtf8Text() More...
#include <IccTagBasic.h>
Public Member Functions | |
icUChar * | AllocBuffer (icUInt32Number nSize) |
Name: CIccTagZipUtf8Text::AllocBuffer. | |
icUInt32Number | BufferSize () const |
CIccTagZipUtf8Text () | |
Name: CIccTagZipUtf8Text::CIccTagZipUtf8Text. | |
CIccTagZipUtf8Text (const CIccTagZipUtf8Text &ITT) | |
Name: CIccTagZipUtf8Text::CIccTagZipUtf8Text. | |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
Name: CIccTagZipUtf8Text::Describe. | |
icUChar * | GetBuffer () const |
virtual const icChar * | GetClassName () const |
virtual bool | GetText (std::string &str) const |
Name: CIccTagZipUtf8Text::GetText. | |
virtual icTagTypeSignature | GetType () const |
Function: GetType() | |
virtual CIccTag * | NewCopy () const |
Function: NewCopy(sDescription) Each derived tag will implement it's own NewCopy() function. | |
CIccTagZipUtf8Text & | operator= (const CIccTagZipUtf8Text &TextTag) |
Name: CIccTagZipUtf8Text::operator=. | |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
Name: CIccTagZipUtf8Text::Read. | |
bool | SetText (const icChar *szText) |
virtual bool | SetText (const icUChar *szText) |
Name: CIccTagZipUtf8Text::SetText. | |
bool | SetText (const icUChar16 *szText) |
Name: CIccTagZipUtf8Text::SetText. | |
virtual icValidateStatus | Validate (std::string sigPath, std::string &sReport, const CIccProfile *pProfile=NULL) const |
Name: CIccTagZipUtf8Text::Validate. | |
virtual bool | Write (CIccIO *pIO) |
Name: CIccTagZipUtf8Text::Write. | |
virtual | ~CIccTagZipUtf8Text () |
Name: CIccTagZipUtf8Text::~CIccTagZipUtf8Text. | |
![]() | |
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 |
icUChar * | m_pZipBuf |
Additional Inherited Members | |
![]() | |
static CIccTag * | Create (icTagTypeSignature sig) |
Name: CIccTag::Create. | |
![]() | |
icUInt32Number | m_nReserved |
Class: CIccTagZipUtf8Text()
Purpose: The zipUtf8TextType ICC tag maintains compressed text data. Calls to GetText will uncompress, and SetText will compress. These functions may fail if macro ICC_USE_ZLIB is not defined.
Definition at line 366 of file IccTagBasic.h.
CIccTagZipUtf8Text::CIccTagZipUtf8Text | ( | ) |
Name: CIccTagZipUtf8Text::CIccTagZipUtf8Text.
Purpose: Constructor
Definition at line 1050 of file IccTagBasic.cpp.
|
virtual |
Name: CIccTagZipUtf8Text::~CIccTagZipUtf8Text.
Purpose: Destructor
Definition at line 1107 of file IccTagBasic.cpp.
CIccTagZipUtf8Text::CIccTagZipUtf8Text | ( | const CIccTagZipUtf8Text & | ITT | ) |
Name: CIccTagZipUtf8Text::CIccTagZipUtf8Text.
Purpose: Copy Constructor
Args: ITT = The CIccTagText object to be copied
Definition at line 1066 of file IccTagBasic.cpp.
References BufferSize(), and GetBuffer().
icUChar * CIccTagZipUtf8Text::AllocBuffer | ( | icUInt32Number | nSize | ) |
Name: CIccTagZipUtf8Text::AllocBuffer.
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 1410 of file IccTagBasic.cpp.
References icRealloc().
|
inline |
Definition at line 396 of file IccTagBasic.h.
Referenced by CIccTagZipUtf8Text(), and operator=().
|
virtual |
Name: CIccTagZipUtf8Text::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 1198 of file IccTagBasic.cpp.
References CIccTagCreator::GetTagTypeSigName(), icFaultyXmlZipData, and icMemDump().
|
inline |
Definition at line 395 of file IccTagBasic.h.
Referenced by CIccTagZipUtf8Text(), and operator=().
|
inlinevirtual |
Reimplemented from CIccTag.
Reimplemented in CIccTagXmlZipUtf8Text, CIccTagXmlZipXml, and CIccTagZipXml.
Definition at line 376 of file IccTagBasic.h.
|
virtual |
Name: CIccTagZipUtf8Text::GetText.
Purpose: Allows text data associated with the tag to be set.
Args: text - string to put uncompressed text into
Definition at line 1239 of file IccTagBasic.cpp.
References icFaultyXmlZipData.
Referenced by icGetTagText().
|
inlinevirtual |
Function: GetType()
Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function.
Reimplemented from CIccTag.
Reimplemented in CIccTagZipXml.
Definition at line 375 of file IccTagBasic.h.
References icSigZipUtf8TextType.
|
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 CIccTagXmlZipUtf8Text, CIccTagXmlZipXml, and CIccTagZipXml.
Definition at line 373 of file IccTagBasic.h.
CIccTagZipUtf8Text & CIccTagZipUtf8Text::operator= | ( | const CIccTagZipUtf8Text & | ITT | ) |
Name: CIccTagZipUtf8Text::operator=.
Purpose: Copy Operator
Args: TextTag = The CIccTagText object to be copied
Definition at line 1086 of file IccTagBasic.cpp.
References BufferSize(), and GetBuffer().
Referenced by CIccTagZipXml::operator=().
|
virtual |
Name: CIccTagZipUtf8Text::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 1127 of file IccTagBasic.cpp.
References CIccIO::Read32(), CIccIO::Read8(), and sig.
|
inline |
Definition at line 384 of file IccTagBasic.h.
References SetText().
Referenced by SetText().
|
virtual |
Name: CIccTagZipUtf8Text::SetText.
Purpose: Allows text data associated with the tag to be set.
Args: szText - zero terminated string to put in tag
Definition at line 1309 of file IccTagBasic.cpp.
bool CIccTagZipUtf8Text::SetText | ( | const icUChar16 * | szText | ) |
Name: CIccTagZipUtf8Text::SetText.
Purpose: Allows text data associated with the tag to be set.
Args: szText - zero terminated string to put in tag
Definition at line 1381 of file IccTagBasic.cpp.
References icConvertUTF16toUTF8(), and lenientConversion.
|
virtual |
Name: CIccTagZipUtf8Text::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 1448 of file IccTagBasic.cpp.
References CIccInfo::GetSigPathName(), CIccTagCreator::GetTagTypeSigName(), icFaultyXmlZipData, icMaxStatus(), icMsgValidateNonCompliant, icMsgValidateWarning, icValidateNonCompliant, icValidateWarning, and CIccTag::Validate().
|
virtual |
Name: CIccTagZipUtf8Text::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 1168 of file IccTagBasic.cpp.
References sig, CIccIO::Write32(), and CIccIO::Write8().
|
protected |
Definition at line 401 of file IccTagBasic.h.
|
protected |
Definition at line 400 of file IccTagBasic.h.