CCenRepDatabaseProperty Class Reference

class CCenRepDatabaseProperty : public CBase

central repository property class

This class represent one property in central repository

cenrepdatabase.lib
Since
S60 V3.2

Inherits from

  • CCenRepDatabaseProperty

Constructor & Destructor Documentation

CCenRepDatabaseProperty()

CCenRepDatabaseProperty()[private]

C++ default constructor.

~CCenRepDatabaseProperty()

IMPORT_C~CCenRepDatabaseProperty()[virtual]

Destructors.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

GetDesValue()

IMPORT_C const TDesC &GetDesValue()const

Returns value of property

Since
S60 V3.2

GetName()

IMPORT_C TUint32GetName()const

Returns the name of this property

Since
S60 V3.2

GetValue(TInt &)

IMPORT_C TIntGetValue(TInt &aValue)const

Returns value of property

Since
S60 V3.2

Parameters

TInt & aValueon return, TInt value

NewL()

IMPORT_C CCenRepDatabaseProperty *NewL()[static]

Two-phased constructor.

NewLC()

IMPORT_C CCenRepDatabaseProperty *NewLC()[static]

Two-phased constructor.

SetName(TUint32)

IMPORT_C voidSetName(TUint32aPropertyname)

Sets the name for this property

Since
S60 V3.2

Parameters

TUint32 aPropertynamenew property name

SetValue(TInt)

IMPORT_C TIntSetValue(TIntaValue)

Sets value of property. Value must match to datatype.

Since
S60 V3.2

Parameters

TInt aValuenew TInt value to be set

SetValue(const TDesC &)

IMPORT_C TIntSetValue(const TDesC &aValue)

Sets the value of property. Value must match to datatype.

Since
S60 V3.2

Parameters

const TDesC & aValuenew descriptor

operator==(const CCenRepDatabaseProperty &)

IMPORT_C TBooloperator==(const CCenRepDatabaseProperty &aProperty)const

Compares data of this property to another.

Since
S60 V3.2

Parameters

const CCenRepDatabaseProperty & aPropertyproperty to be compared

Member Data Documentation

TUint32 iPropertyName

TUint32 iPropertyName[private]

Name of property

RBuf iPropertyValue

RBuf iPropertyValue[private]

Descriptor of property value Own.