Alf::MulModelUtility Class Reference

class Alf::MulModelUtility
Public Member Functions
OSN_IMPORT UString AlfStringToUString (const UString &)
bool CheckNamePrefix ( UString )
OSN_IMPORT std::auto_ptr< MulVisualItem > ConvertMapToVisualItem ( IAlfMap &)
OSN_IMPORT void ConvertTDes8ToUString (const TDesC8 &, UString &)
OSN_IMPORT void ConvertTDesToUString (const TDesC &, UString &)
OSN_IMPORT void ConvertUStringToTDes (const UString &, TDes &)
OSN_IMPORT void ConvertUStringToTDes8 (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 UString IntToUString (int)
OSN_IMPORT UString UStringToAlfString (const UString &)

Member Functions Documentation

AlfStringToUString(const UString &)

OSN_IMPORT UString AlfStringToUString ( const UString & aAlfString ) [static]

Convsert CAlfString to UString

Parameters

const UString & aAlfString

CheckNamePrefix(UString)

bool CheckNamePrefix ( UString aName ) [static]

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

Parameters

UString aName Name 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 & aMap IAlfMAP

ConvertTDes8ToUString(const TDesC8 &, UString &)

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

Convert TDes8 to UString

Parameters

const TDesC8 & aDes a TDes8 type string to be converted
UString & aString the converted Ustring

ConvertTDesToUString(const TDesC &, UString &)

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

Convert TDes to UString

Parameters

const TDesC & aDes a TDes type string to be converted
UString & aString the converted Ustring

ConvertUStringToTDes(const UString &, TDes &)

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

Convert UString to TDes

Parameters

const UString & aString a UString type string to be converted
TDes & aDes the TDes type converted string

ConvertUStringToTDes8(const UString &, TDes8 &)

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

Convert UString to TDes8

Parameters

const UString & aString a UString type string to be converted
TDes8 & aDes the 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 & aVisualItem Map 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 & aValue Existing variant data;

CreateVisualItem(mulwidget::TLogicalTemplate)

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

Create a visualitem and set its default template

Parameters

mulwidget::TLogicalTemplate aDefaultTemplate defaultTemplate for that visual item

IntToUString(int)

OSN_IMPORT UString IntToUString ( int aNumber ) [static]

Covert integer to AlfString

Parameters

int aNumber number to convert

UStringToAlfString(const UString &)

OSN_IMPORT UString UStringToAlfString ( const UString & aUString ) [static]

Convert UString to CAlfString

Parameters

const UString & aUString UString instance to convert to CAlfSTring