Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
#include <IccUtilXml.h>
Public Member Functions | |
const icUInt16Number * | c_str () |
CIccUTF16String () | |
CIccUTF16String (const char *szStr) | |
CIccUTF16String (const CIccUTF16String &str) | |
CIccUTF16String (const icUInt16Number *uzStr) | |
void | Clear () |
bool | FromUtf8 (const char *szStr, size_t sizeSrc=0) |
CIccUTF16String & | operator= (const char *szStr) |
CIccUTF16String & | operator= (const CIccUTF16String &wstr) |
CIccUTF16String & | operator= (const icUInt16Number *uzStr) |
icUInt16Number | operator[] (size_t m_nIndex) |
bool | Resize (size_t len) |
size_t | Size () |
const char * | ToUtf8 (std::string &buf) |
const wchar_t * | ToWString (std::wstring &buf) |
virtual | ~CIccUTF16String () |
Static Public Member Functions | |
static size_t | WStrlen (const icUInt16Number *uzStr) |
Static Protected Member Functions | |
static size_t | AllocSize (size_t n) |
Protected Attributes | |
size_t | m_alloc |
size_t | m_len |
icUInt16Number * | m_str |
Definition at line 74 of file IccUtilXml.h.
CIccUTF16String::CIccUTF16String | ( | ) |
Definition at line 80 of file IccUtilXml.cpp.
CIccUTF16String::CIccUTF16String | ( | const icUInt16Number * | uzStr | ) |
Definition at line 87 of file IccUtilXml.cpp.
References AllocSize(), m_alloc, m_len, m_str, and WStrlen().
CIccUTF16String::CIccUTF16String | ( | const char * | szStr | ) |
Definition at line 96 of file IccUtilXml.cpp.
References AllocSize(), icConvertUTF8toUTF16(), lenientConversion, m_alloc, m_len, m_str, and WStrlen().
CIccUTF16String::CIccUTF16String | ( | const CIccUTF16String & | str | ) |
Definition at line 120 of file IccUtilXml.cpp.
|
virtual |
|
inlinestaticprotected |
Definition at line 102 of file IccUtilXml.h.
Referenced by CIccUTF16String(), CIccUTF16String(), FromUtf8(), operator=(), and Resize().
|
inline |
Definition at line 93 of file IccUtilXml.h.
References m_str.
Referenced by icUtf8ToUtf16(), CIccTagXmlDict::ParseXml(), CIccTagXmlMultiLocalizedUnicode::ParseXml(), and CIccTagXmlProfileSequenceId::ParseXml().
void CIccUTF16String::Clear | ( | ) |
bool CIccUTF16String::FromUtf8 | ( | const char * | szStr, |
size_t | sizeSrc = 0 ) |
Definition at line 223 of file IccUtilXml.cpp.
References AllocSize(), icConvertUTF8toUTF16(), icRealloc(), lenientConversion, m_alloc, m_len, m_str, and WStrlen().
Referenced by icUtf8ToUtf16(), and operator=().
CIccUTF16String & CIccUTF16String::operator= | ( | const char * | szStr | ) |
Definition at line 191 of file IccUtilXml.cpp.
References FromUtf8().
CIccUTF16String & CIccUTF16String::operator= | ( | const CIccUTF16String & | wstr | ) |
Definition at line 170 of file IccUtilXml.cpp.
References icRealloc(), m_alloc, m_len, and m_str.
CIccUTF16String & CIccUTF16String::operator= | ( | const icUInt16Number * | uzStr | ) |
Definition at line 198 of file IccUtilXml.cpp.
References AllocSize(), icRealloc(), m_alloc, m_len, m_str, and WStrlen().
|
inline |
bool CIccUTF16String::Resize | ( | size_t | len | ) |
Definition at line 140 of file IccUtilXml.cpp.
References AllocSize(), icRealloc(), m_alloc, m_len, and m_str.
|
inline |
Definition at line 84 of file IccUtilXml.h.
References m_len.
Referenced by CIccTagXmlTextDescription::ParseXml().
const char * CIccUTF16String::ToUtf8 | ( | std::string & | buf | ) |
Definition at line 258 of file IccUtilXml.cpp.
References icUtf16ToUtf8(), m_len, and m_str.
const wchar_t * CIccUTF16String::ToWString | ( | std::wstring & | buf | ) |
Definition at line 263 of file IccUtilXml.cpp.
Referenced by CIccTagXmlDict::ParseXml().
|
static |
Definition at line 162 of file IccUtilXml.cpp.
Referenced by CIccUTF16String(), CIccUTF16String(), FromUtf8(), icUtf16ToUtf8(), and operator=().
|
protected |
Definition at line 103 of file IccUtilXml.h.
Referenced by CIccUTF16String(), CIccUTF16String(), CIccUTF16String(), CIccUTF16String(), FromUtf8(), operator=(), operator=(), and Resize().
|
protected |
Definition at line 104 of file IccUtilXml.h.
Referenced by CIccUTF16String(), CIccUTF16String(), CIccUTF16String(), CIccUTF16String(), Clear(), FromUtf8(), operator=(), operator=(), Resize(), Size(), ToUtf8(), and ToWString().
|
protected |
Definition at line 105 of file IccUtilXml.h.
Referenced by c_str(), CIccUTF16String(), CIccUTF16String(), CIccUTF16String(), CIccUTF16String(), Clear(), FromUtf8(), operator=(), operator=(), operator[](), Resize(), ToUtf8(), ToWString(), and ~CIccUTF16String().