Alf::MulVariantType Class Reference

class Alf::MulVariantType : public Alf::IMulVariantType

Inherits from

Nested Classes and Structures

Public Member Functions
MulVariantType ()
MulVariantType (const TDesC &)
MulVariantType (const int &)
MulVariantType (const uint &)
MulVariantType (const double &)
MulVariantType (const bool &)
MulVariantType ( IAlfMap &)
~MulVariantType ()
OSN_IMPORT std::auto_ptr< IMulVariantType > Clone ()
OSN_IMPORT const TDesC & DesC ()
OSN_IMPORT IAlfMap & Map ()
OSN_IMPORT TMulType Type ()
OSN_IMPORT bool boolean ()
OSN_IMPORT int integer ()
OSN_IMPORT double real ()
OSN_IMPORT uint uinteger ()
Private Member Functions
void Construct ( TMulType )
Inherited Functions
Alf::IMulVariantType::~IMulVariantType()
Inherited Enumerations
Alf::IMulVariantType:TMulType
Private Attributes
std::auto_ptr< MulVariantTypeImpl > mVarData

Constructor & Destructor Documentation

MulVariantType()

OSN_IMPORT MulVariantType ( )

The default constructor.

MulVariantType(const TDesC &)

OSN_IMPORT MulVariantType ( const TDesC & aDes )

Constructor for Descriptor

Parameters

const TDesC & aDes Descriptor

MulVariantType(const int &)

OSN_IMPORT MulVariantType ( const int & aValue )

Constructor for variant data type creation for a integer type of data

Parameters

const int & aValue - integer to be assigned for the variant data

MulVariantType(const uint &)

OSN_IMPORT MulVariantType ( const uint & aValue )

Constructor for variant data type creation for a Unsigned integer type of data

Parameters

const uint & aValue - unsigned integer to be assigned for the variant data

MulVariantType(const double &)

OSN_IMPORT MulVariantType ( const double & aValue )

Constructor for variant data type creation for a real type of data

Parameters

const double & aValue - Real value to be assigned for the variant data

MulVariantType(const bool &)

OSN_IMPORT MulVariantType ( const bool & aValue )

Constructor for variant data type creation for a bool type of data

Parameters

const bool & aValue - Boolean value to be assigned for the variant data

MulVariantType(IAlfMap &)

OSN_IMPORT MulVariantType ( IAlfMap & aData )

Constructor for variant data type creation for a Alf Variant type of data

Parameters

IAlfMap & aData -the variant data

~MulVariantType()

OSN_IMPORT ~MulVariantType ( )

Destructor

Member Functions Documentation

Clone()

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

Create copy of variant type

Construct(TMulType)

void Construct ( TMulType aType ) [private]

Parameters

TMulType aType

DesC()

OSN_IMPORT const TDesC & DesC ( ) const [virtual]

Get data as symbian descriptior

Map()

OSN_IMPORT IAlfMap & Map ( ) const [virtual]

Get the data value as a map interface.

Exceptions
osncore:AlfDataException

Thrown if type() is not EMap.

Since
S60 ?S60_version

Type()

OSN_IMPORT TMulType Type ( ) const [virtual]

Type of data

boolean()

OSN_IMPORT bool boolean ( ) const [virtual]

Get the data value as an bool .

Exceptions
osncore:AlfDataException

Thrown if type() is not EBool.

integer()

OSN_IMPORT int integer ( ) const [virtual]

Get the data value as an integer.

Exceptions
osncore:AlfDataException

Thrown if type() is not EInt.

real()

OSN_IMPORT double real ( ) const [virtual]

Get the data value as a real number.

Exceptions
osncore:AlfDataException

Thrown if type() is not EReal.

uinteger()

OSN_IMPORT uint uinteger ( ) const [virtual]

Get the data value as an unsigned integer.

Exceptions
osncore:AlfDataException

Thrown if type() is not EUInt.

Member Data Documentation

std::auto_ptr< MulVariantTypeImpl > mVarData

std::auto_ptr< MulVariantTypeImpl > mVarData [private]