IccMAX 2.1.27
Color Profile Tools
|
#include <IccTagBasic.h>
Public Member Functions | |
CIccProfileDescText () | |
CIccProfileDescText (const CIccProfileDescText &IPDC) | |
virtual | ~CIccProfileDescText () |
virtual void | Describe (std::string &sDescription, int nVerboseness) |
CIccTag * | GetTag () const |
virtual icTagTypeSignature | GetType () const |
CIccProfileDescText & | operator= (const CIccProfileDescText &ProfDescText) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
bool | SetType (icTagTypeSignature nType) |
virtual bool | Write (CIccIO *pIO) |
Data Fields | |
bool | m_bNeedsPading |
Protected Attributes | |
CIccTag * | m_pTag |
Data Class: CIccProfileDescText
Purpose: Private text class for CIccProfileDescStruct. Text can be either a CIccTagTextDescription or a CIccTagMultiLocalizedUnicode so this class provides a single interface to both.
CIccProfileDescText::CIccProfileDescText | ( | ) |
Name: CIccProfileDescText::CIccProfileDescText
Purpose: Constructor
References m_bNeedsPading, and m_pTag.
CIccProfileDescText::CIccProfileDescText | ( | const CIccProfileDescText & | IPDC | ) |
Name: CIccProfileDescText::CIccProfileDescText
Purpose: Copy Constructor
Args: IPDC = The CIccTagUnknown object to be copied
References m_bNeedsPading, m_pTag, and CIccTag::NewCopy().
|
virtual |
|
virtual |
Name: CIccProfileDescText::Describe
Purpose: Dump data associated with the tag to a string
Args: sDescription - string to concatenate tag dump to
References CIccTag::Describe(), and m_pTag.
Referenced by CIccTagProfileSeqDesc::Describe().
|
inline |
References m_pTag.
Referenced by icProfDescToXml(), icXmlParseProfDesc(), CDevLinkWriter::iterate(), and CIccTagProfileSeqDesc::Validate().
|
virtual |
Name: CIccProfileDescText::SetType
Purpose: Gets the type of the profile description text. Could be either a MultiLocalizedUnicodeType or a TextDescriptionType.
References CIccTag::GetType(), and m_pTag.
CIccProfileDescText & CIccProfileDescText::operator= | ( | const CIccProfileDescText & | ProfDescText | ) |
Name: CIccProfileDescText::operator=
Purpose: Copy Operator
Args: ProfDescText = The CIccProfileDescText object to be copied
References m_bNeedsPading, m_pTag, and CIccTag::NewCopy().
Referenced by CIccProfileDescStruct::CIccProfileDescStruct(), and CIccProfileDescStruct::operator=().
|
virtual |
Name: CIccProfileDescText::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
References icSeekSet, icSigTextDescriptionType, m_bNeedsPading, m_pTag, CIccTag::Read(), CIccIO::Read32(), CIccIO::Seek(), SetType(), CIccIO::Sync32(), and CIccIO::Tell().
Referenced by CIccTagProfileSeqDesc::Read().
bool CIccProfileDescText::SetType | ( | icTagTypeSignature | nType | ) |
Name: CIccProfileDescText::SetType
Purpose: Sets the type of the profile description text. Could be either a MultiLocalizedUnicodeType or a TextDescriptionType.
Args: nType = the tag type signature
Return: true = successful, false = failure
References CIccTag::Create(), CIccTag::GetType(), icSigMultiLocalizedUnicodeType, icSigTextDescriptionType, and m_pTag.
Referenced by icXmlParseProfDesc(), CDevLinkWriter::iterate(), and Read().
|
virtual |
Name: CIccProfileDescText::Write
Purpose: Write the tag to a file
Args: pIO - The IO object to write tag to.
Return: true = succesful, false = failure
References CIccIO::Align32(), CIccTag::GetType(), icSigTextDescriptionType, m_pTag, and CIccTag::Write().
Referenced by CIccTagProfileSeqDesc::Write().
bool CIccProfileDescText::m_bNeedsPading |
Referenced by CIccProfileDescText(), CIccProfileDescText(), operator=(), Read(), and CIccTagProfileSeqDesc::Validate().
|
protected |
Referenced by CIccProfileDescText(), CIccProfileDescText(), ~CIccProfileDescText(), Describe(), GetTag(), GetType(), operator=(), Read(), SetType(), and Write().