IccMAX 2.1.27
Color Profile Tools
|
#include <IccTagBasic.h>
Data Fields | |
icCountryCode | m_nCountryCode |
icLanguageCode | m_nLanguageCode |
Protected Attributes | |
icUInt32Number | m_nLength |
icUInt16Number * | m_pBuf |
Data Class: CIccLocalizedUnicode
Purpose: Implementation of a unicode string with language and region identifiers.
CIccLocalizedUnicode::CIccLocalizedUnicode | ( | ) |
Name: CIccLocalizedUnicode::CIccLocalizedUnicode
Purpose: Constructor
CIccLocalizedUnicode::CIccLocalizedUnicode | ( | const CIccLocalizedUnicode & | ILU | ) |
Name: CIccLocalizedUnicode::CIccLocalizedUnicode
Purpose: Copy Constructor
Args: ILU = The CIccLocalizedUnicode object to be copied
References GetBuf(), GetLength(), m_nCountryCode, m_nLanguageCode, m_nLength, and m_pBuf.
|
virtual |
|
inline |
References m_pBuf.
Referenced by CIccLocalizedUnicode(), operator=(), CIccTagMultiLocalizedUnicode::Read(), CIccTagXmlMultiLocalizedUnicode::ToXml(), CIccTagXmlProfileSequenceId::ToXml(), CIccTagXmlDict::ToXml(), and CIccTagMultiLocalizedUnicode::Write().
|
inline |
References m_nLength.
Referenced by CIccLocalizedUnicode(), operator=(), CIccTagXmlMultiLocalizedUnicode::ToXml(), CIccTagXmlProfileSequenceId::ToXml(), CIccTagXmlDict::ToXml(), and CIccTagMultiLocalizedUnicode::Write().
bool CIccLocalizedUnicode::GetText | ( | std::string & | sText | ) |
Name: CIccLocalizedUnicode::GetText
Purpose: Gets text as a UTF-8 string
Args: sText - string to put results in
References m_pBuf.
Referenced by CIccTagMultiLocalizedUnicode::Describe(), GetUtf8(), GetUtf8Size(), icGetTagText(), and main().
const icChar * CIccLocalizedUnicode::GetUtf8 | ( | icChar * | szBuf, |
icUInt32Number | nBufSize | ||
) |
Name: CIccLocalizedUnicode::GetUtf8
Purpose: Extracts the ANSI data buffer (from UTF-16BE)
Args: szBuf = pointer where the returned string buffer is to be stored nBufSize = size of the buffer to be extracted
Return: Pointer to the ANSI data string
References GetText().
icUInt32Number CIccLocalizedUnicode::GetUtf8Size | ( | ) |
Name: CIccLocalizedUnicode::GetUtf8Size
Purpose: Returns the size of the ANSI data buffer
References GetText().
CIccLocalizedUnicode & CIccLocalizedUnicode::operator= | ( | const CIccLocalizedUnicode & | UnicodeText | ) |
Name: CIccLocalizedUnicode::operator=
Purpose: Copy Operator
Args: UnicodeText = The CIccLocalizedUnicode object to be copied
References GetBuf(), GetLength(), m_nCountryCode, m_nLanguageCode, m_nLength, m_pBuf, and SetSize().
References SetText().
|
inline |
|
inline |
bool CIccLocalizedUnicode::SetSize | ( | icUInt32Number | nSize | ) |
Name: CIccLocalizedUnicode::SetSize
Purpose: Sets the size of the string buffer.
Args: nSize - length of the string
References icRealloc(), m_nLength, and m_pBuf.
Referenced by operator=(), CIccTagMultiLocalizedUnicode::Read(), SetText(), SetText(), and SetText().
bool CIccLocalizedUnicode::SetText | ( | const icChar * | szText, |
icLanguageCode | nLanguageCode = icLanguageCodeEnglish , |
||
icCountryCode | nRegionCode = icCountryCodeUSA |
||
) |
Name: CIccLocalizedUnicode::SetText
Purpose: Allows text data associated with the tag to be set.
Args: szText = zero terminated utf8 string to put in tag, nLanguageCode = the language code type as defined by icLanguageCode, nRegionCode = the region code type as defined by icCountryCode
References m_nCountryCode, m_nLanguageCode, m_pBuf, and SetSize().
Referenced by operator=(), and CIccTagMultiLocalizedUnicode::SetText().
bool CIccLocalizedUnicode::SetText | ( | const icUInt16Number * | sszUnicode16Text, |
icLanguageCode | nLanguageCode = icLanguageCodeEnglish , |
||
icCountryCode | nRegionCode = icCountryCodeUSA |
||
) |
Name: CIccLocalizedUnicode::SetText
Purpose: Allows text data associated with the tag to be set.
Args: sszUnicode16Text = Unicode16 text to be set, nLanguageCode = the language code type as defined by icLanguageCode, nRegionCode = the region code type as defined by icCountryCode
References m_nCountryCode, m_nLanguageCode, m_pBuf, and SetSize().
Referenced by operator=(), and CIccTagMultiLocalizedUnicode::SetText().
bool CIccLocalizedUnicode::SetText | ( | const icUInt32Number * | sszUnicode32Text, |
icLanguageCode | nLanguageCode = icLanguageCodeEnglish , |
||
icCountryCode | nRegionCode = icCountryCodeUSA |
||
) |
Name: CIccLocalizedUnicode::SetText
Purpose: Allows text data associated with the tag to be set.
Args: sszUnicode32Text = Unicode32 text to be set, nLanguageCode = the language code type as defined by icLanguageCode, nRegionCode = the region code type as defined by icCountryCode
References icConvertUTF32toUTF16(), lenientConversion, m_nCountryCode, m_nLanguageCode, m_pBuf, and SetSize().
Referenced by operator=(), and CIccTagMultiLocalizedUnicode::SetText().
icCountryCode CIccLocalizedUnicode::m_nCountryCode |
Referenced by CIccLocalizedUnicode(), CIccTagMultiLocalizedUnicode::Describe(), CIccTagMultiLocalizedUnicode::Find(), operator=(), CIccTagMultiLocalizedUnicode::Read(), SetText(), SetText(), SetText(), CIccTagXmlMultiLocalizedUnicode::ToXml(), CIccTagXmlProfileSequenceId::ToXml(), CIccTagXmlDict::ToXml(), and CIccTagMultiLocalizedUnicode::Write().
icLanguageCode CIccLocalizedUnicode::m_nLanguageCode |
Referenced by CIccLocalizedUnicode(), CIccTagMultiLocalizedUnicode::Describe(), CIccTagMultiLocalizedUnicode::Find(), operator=(), CIccTagMultiLocalizedUnicode::Read(), SetText(), SetText(), SetText(), CIccTagXmlMultiLocalizedUnicode::ToXml(), CIccTagXmlProfileSequenceId::ToXml(), CIccTagXmlDict::ToXml(), and CIccTagMultiLocalizedUnicode::Write().
|
protected |
Referenced by CIccLocalizedUnicode(), CIccLocalizedUnicode(), GetLength(), operator=(), and SetSize().
|
protected |
Referenced by CIccLocalizedUnicode(), CIccLocalizedUnicode(), ~CIccLocalizedUnicode(), GetBuf(), GetText(), operator=(), SetSize(), SetText(), SetText(), and SetText().