Alf::MulModelUtility Class Reference

class Alf::MulModelUtility
Public Member Functions
OSN_IMPORT UStringAlfStringToUString(const UString &)
boolCheckNamePrefix(UString)
OSN_IMPORT std::auto_ptr< MulVisualItem >ConvertMapToVisualItem(IAlfMap &)
OSN_IMPORT voidConvertTDes8ToUString(const TDesC8 &, UString &)
OSN_IMPORT voidConvertTDesToUString(const TDesC &, UString &)
OSN_IMPORT voidConvertUStringToTDes(const UString &, TDes &)
OSN_IMPORT voidConvertUStringToTDes8(const UString &, TDes8 &)
OSN_IMPORT std::auto_ptr< IAlfMap >ConvertVisualItemToMap(MulVisualItem &)
OSN_IMPORT IAlfVariantType *CreateVariantType(IAlfVariantType &)
OSN_IMPORT std::auto_ptr< MulVisualItem >CreateVisualItem(mulwidget::TLogicalTemplate)
OSN_IMPORT UStringIntToUString(int)
OSN_IMPORT UStringUStringToAlfString(const UString &)

Member Functions Documentation

AlfStringToUString(const UString &)

OSN_IMPORT UStringAlfStringToUString(const UString &aAlfString)[static]

Convsert CAlfString to UString

Parameters

const UString & aAlfString

CheckNamePrefix(UString)

boolCheckNamePrefix(UStringaName)[static]

Check the prefix of the name to see whether they can be added in alfmodel

Parameters

UString aNameName whose prefix is to be checked

ConvertMapToVisualItem(IAlfMap &)

OSN_IMPORT std::auto_ptr< MulVisualItem >ConvertMapToVisualItem(IAlfMap &aMap)[static]

Convert AlfMap to visual item

Parameters

IAlfMap & aMapIAlfMAP

ConvertTDes8ToUString(const TDesC8 &, UString &)

OSN_IMPORT voidConvertTDes8ToUString(const TDesC8 &aDes,
UString &aString
)[static]

Convert TDes8 to UString

Parameters

const TDesC8 & aDesa TDes8 type string to be converted
UString & aStringthe converted Ustring

ConvertTDesToUString(const TDesC &, UString &)

OSN_IMPORT voidConvertTDesToUString(const TDesC &aDes,
UString &aString
)[static]

Convert TDes to UString

Parameters

const TDesC & aDesa TDes type string to be converted
UString & aStringthe converted Ustring

ConvertUStringToTDes(const UString &, TDes &)

OSN_IMPORT voidConvertUStringToTDes(const UString &aString,
TDes &aDes
)[static]

Convert UString to TDes

Parameters

const UString & aStringa UString type string to be converted
TDes & aDesthe TDes type converted string

ConvertUStringToTDes8(const UString &, TDes8 &)

OSN_IMPORT voidConvertUStringToTDes8(const UString &aString,
TDes8 &aDes
)[static]

Convert UString to TDes8

Parameters

const UString & aStringa UString type string to be converted
TDes8 & aDesthe TDes8 type converted string

ConvertVisualItemToMap(MulVisualItem &)

OSN_IMPORT std::auto_ptr< IAlfMap >ConvertVisualItemToMap(MulVisualItem &aVisualItem)[static]

Convert map of visual item to map of alf map. Ite create new Map and while returning new map owner ship of map is transfered

Parameters

MulVisualItem & aVisualItemMap of visual item

CreateVariantType(IAlfVariantType &)

OSN_IMPORT IAlfVariantType *CreateVariantType(IAlfVariantType &aValue)[static]

Create new Variant data from existing variant data.

new variant data, Ownership is transferred

Parameters

IAlfVariantType & aValueExisting variant data;

CreateVisualItem(mulwidget::TLogicalTemplate)

OSN_IMPORT std::auto_ptr< MulVisualItem >CreateVisualItem(mulwidget::TLogicalTemplateaDefaultTemplate)[static]

Create a visualitem and set its default template

Parameters

mulwidget::TLogicalTemplate aDefaultTemplatedefaultTemplate for that visual item

IntToUString(int)

OSN_IMPORT UStringIntToUString(intaNumber)[static]

Covert integer to AlfString

Parameters

int aNumbernumber to convert

UStringToAlfString(const UString &)

OSN_IMPORT UStringUStringToAlfString(const UString &aUString)[static]

Convert UString to CAlfString

Parameters

const UString & aUStringUString instance to convert to CAlfSTring