SampleICC Main srcforge
Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CIccLocalizedUnicode Class Reference

#include <IccTagBasic.h>

List of all members.

Public Member Functions

 CIccLocalizedUnicode ()
 CIccLocalizedUnicode (const CIccLocalizedUnicode &ILU)
CIccLocalizedUnicodeoperator= (const CIccLocalizedUnicode &UnicodeText)
virtual ~CIccLocalizedUnicode ()
icUInt32Number GetLength () const
icUInt16NumberGetBuf () const
icUInt32Number GetAnsiSize ()
const icCharGetAnsi (icChar *szBuf, icUInt32Number nBufSize)
void SetSize (icUInt32Number)
void SetText (const icChar *szText, icLanguageCode nLanguageCode=icLanguageCodeEnglish, icCountryCode nRegionCode=icCountryCodeUSA)
void SetText (const icUInt16Number *sszUnicodeText, icLanguageCode nLanguageCode=icLanguageCodeEnglish, icCountryCode nRegionCode=icCountryCodeUSA)
const icCharoperator= (const icChar *szText)
const icUInt16Numberoperator= (const icUInt16Number *sszText)

Public Attributes

icLanguageCode m_nLanguageCode
icCountryCode m_nCountryCode

Protected Attributes

icUInt32Number m_nLength
icUInt16Numberm_pBuf


Detailed Description

Data Class: CIccLocalizedUnicode

Purpose: Implementation of a unicode string with language and region identifiers.


Constructor & Destructor Documentation

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

CIccLocalizedUnicode::~CIccLocalizedUnicode  )  [virtual]
 

Name: CIccLocalizedUnicode::~CIccLocalizedUnicode

Purpose: Destructor


Member Function Documentation

const icChar * CIccLocalizedUnicode::GetAnsi icChar szBuf,
icUInt32Number  nBufSize
 

Name: CIccLocalizedUnicode::GetAnsi

Purpose: Extracts the ANSI data buffer

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

icUInt32Number CIccLocalizedUnicode::GetAnsiSize  ) 
 

Name: CIccLocalizedUnicode::GetAnsiSize

Purpose: Returns the size of the ANSI data buffer

icUInt16Number* CIccLocalizedUnicode::GetBuf  )  const [inline]
 

icUInt32Number CIccLocalizedUnicode::GetLength  )  const [inline]
 

const icUInt16Number* CIccLocalizedUnicode::operator= const icUInt16Number sszText  )  [inline]
 

const icChar* CIccLocalizedUnicode::operator= const icChar szText  )  [inline]
 

CIccLocalizedUnicode & CIccLocalizedUnicode::operator= const CIccLocalizedUnicode UnicodeText  ) 
 

Name: CIccLocalizedUnicode::operator=

Purpose: Copy Operator

Args: UnicodeText = The CIccLocalizedUnicode object to be copied

void CIccLocalizedUnicode::SetSize icUInt32Number  nSize  ) 
 

Name: CIccLocalizedUnicode::SetSize

Purpose: Sets the size of the string buffer.

Args: nSize - length of the string

void CIccLocalizedUnicode::SetText const icUInt16Number sszUnicodeText,
icLanguageCode  nLanguageCode = icLanguageCodeEnglish,
icCountryCode  nRegionCode = icCountryCodeUSA
 

Name: CIccLocalizedUnicode::SetText

Purpose: Allows text data associated with the tag to be set.

Args: sszUnicodeText = Unicode text to be set, nLanguageCode = the language code type as defined by icLanguageCode, nRegionCode = the region code type as defined by icCountryCode

void 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 string to put in tag, nLanguageCode = the language code type as defined by icLanguageCode, nRegionCode = the region code type as defined by icCountryCode


Member Data Documentation

icCountryCode CIccLocalizedUnicode::m_nCountryCode
 

icLanguageCode CIccLocalizedUnicode::m_nLanguageCode
 

icUInt32Number CIccLocalizedUnicode::m_nLength [protected]
 

icUInt16Number* CIccLocalizedUnicode::m_pBuf [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 26 17:51:44 2007 for IccProfLib by  doxygen 1.3.9.1