Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Data Class: CIccLocalizedUnicode. More...
#include <IccTagBasic.h>
Public Attributes | |
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.
Definition at line 1168 of file IccTagBasic.h.
CIccLocalizedUnicode::CIccLocalizedUnicode | ( | ) |
Name: CIccLocalizedUnicode::CIccLocalizedUnicode.
Purpose: Constructor
Definition at line 6903 of file IccTagBasic.cpp.
CIccLocalizedUnicode::CIccLocalizedUnicode | ( | const CIccLocalizedUnicode & | ILU | ) |
Name: CIccLocalizedUnicode::CIccLocalizedUnicode.
Purpose: Copy Constructor
Args: ILU = The CIccLocalizedUnicode object to be copied
Definition at line 6921 of file IccTagBasic.cpp.
References GetBuf(), GetLength(), m_nCountryCode, and m_nLanguageCode.
|
virtual |
Name: CIccLocalizedUnicode::~CIccLocalizedUnicode.
Purpose: Destructor
Definition at line 6966 of file IccTagBasic.cpp.
|
inline |
Definition at line 1177 of file IccTagBasic.h.
Referenced by CIccLocalizedUnicode(), operator=(), and CIccTagMultiLocalizedUnicode::Read().
|
inline |
Definition at line 1176 of file IccTagBasic.h.
Referenced by CIccLocalizedUnicode(), and operator=().
bool CIccLocalizedUnicode::GetText | ( | std::string & | sText | ) |
Name: CIccLocalizedUnicode::GetText.
Purpose: Gets text as a UTF-8 string
Args: sText - string to put results in
Definition at line 7032 of file IccTagBasic.cpp.
Referenced by icGetTagText().
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
Definition at line 7002 of file IccTagBasic.cpp.
icUInt32Number CIccLocalizedUnicode::GetUtf8Size | ( | ) |
Name: CIccLocalizedUnicode::GetUtf8Size.
Purpose: Returns the size of the ANSI data buffer
Definition at line 6980 of file IccTagBasic.cpp.
CIccLocalizedUnicode & CIccLocalizedUnicode::operator= | ( | const CIccLocalizedUnicode & | UnicodeText | ) |
Name: CIccLocalizedUnicode::operator=.
Purpose: Copy Operator
Args: UnicodeText = The CIccLocalizedUnicode object to be copied
Definition at line 6943 of file IccTagBasic.cpp.
References GetBuf(), GetLength(), m_nCountryCode, and m_nLanguageCode.
Definition at line 1196 of file IccTagBasic.h.
|
inline |
Definition at line 1197 of file IccTagBasic.h.
|
inline |
Definition at line 1198 of file IccTagBasic.h.
bool CIccLocalizedUnicode::SetSize | ( | icUInt32Number | nSize | ) |
Name: CIccLocalizedUnicode::SetSize.
Purpose: Sets the size of the string buffer.
Args: nSize - length of the string
Definition at line 7090 of file IccTagBasic.cpp.
References icRealloc().
Referenced by CIccTagMultiLocalizedUnicode::Read().
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
Definition at line 7121 of file IccTagBasic.cpp.
Referenced by CIccTagMultiLocalizedUnicode::SetText(), CIccTagMultiLocalizedUnicode::SetText(), 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
Definition at line 7243 of file IccTagBasic.cpp.
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
Definition at line 7274 of file IccTagBasic.cpp.
References icConvertUTF32toUTF16(), and lenientConversion.
icCountryCode CIccLocalizedUnicode::m_nCountryCode |
Definition at line 1202 of file IccTagBasic.h.
Referenced by CIccLocalizedUnicode(), operator=(), and CIccTagMultiLocalizedUnicode::Read().
icLanguageCode CIccLocalizedUnicode::m_nLanguageCode |
Definition at line 1201 of file IccTagBasic.h.
Referenced by CIccLocalizedUnicode(), operator=(), and CIccTagMultiLocalizedUnicode::Read().
|
protected |
Definition at line 1205 of file IccTagBasic.h.
|
protected |
Definition at line 1207 of file IccTagBasic.h.