Alf::IMulVariantType Class Reference

class Alf::IMulVariantType

Application should implement this interface if application needs to provide custom data type to model.

Public Member Functions
~IMulVariantType()
std::auto_ptr< IMulVariantType >Clone()
const TDesC &DesC()
IAlfMap &Map()
TMulType Type()
boolboolean()
intinteger()
doublereal()
uint uinteger()
Public Member Enumerations
enumTMulType {
EUnknown, EBool, EInt, EUint, EReal, EDes, EMap, ECustomData
}

Constructor & Destructor Documentation

~IMulVariantType()

~IMulVariantType()[inline, virtual]

Destructor

Member Functions Documentation

Clone()

std::auto_ptr< IMulVariantType >Clone()[pure virtual]

Create copy of variant type

DesC()

const TDesC &DesC()const [pure virtual]

Get data as symbian descriptior

Map()

IAlfMap &Map()const [pure virtual]

Get the data value as a map interface.

Exceptions
osncore:AlfDataException

Thrown if type() is not EMap.

Since
S60 ?S60_version

Type()

TMulType Type()const [pure virtual]

Type of data

boolean()

boolboolean()const [pure virtual]

Get the data value as an bool .

Exceptions
osncore:AlfDataException

Thrown if type() is not EBool.

integer()

intinteger()const [pure virtual]

Get the data value as an integer.

Exceptions
osncore:AlfDataException

Thrown if type() is not EInt.

real()

doublereal()const [pure virtual]

Get the data value as a real number.

Exceptions
osncore:AlfDataException

Thrown if type() is not EReal.

uinteger()

uint uinteger()const [pure virtual]

Get the data value as an unsigned integer.

Exceptions
osncore:AlfDataException

Thrown if type() is not EUInt.

Member Enumerations Documentation

Enum TMulType

Enumerators

EUnknown
EBool
EInt
EUint
EReal
EDes
EMap
ECustomData