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

Constructor & Destructor Documentation

CCenRepDatabaseProperty()

CCenRepDatabaseProperty ( ) [private]

C++ default constructor.

~CCenRepDatabaseProperty()

IMPORT_C ~CCenRepDatabaseProperty ( ) [virtual]

Destructors.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [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 TUint32 GetName ( ) const

Returns the name of this property

Since
S60 V3.2

GetValue(TInt &)

IMPORT_C TInt GetValue ( TInt & aValue ) const

Returns value of property

Since
S60 V3.2

Parameters

TInt & aValue on 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 void SetName ( TUint32 aPropertyname )

Sets the name for this property

Since
S60 V3.2

Parameters

TUint32 aPropertyname new property name

SetValue(TInt)

IMPORT_C TInt SetValue ( TInt aValue )

Sets value of property. Value must match to datatype.

Since
S60 V3.2

Parameters

TInt aValue new TInt value to be set

SetValue(const TDesC &)

IMPORT_C TInt SetValue ( const TDesC & aValue )

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

Since
S60 V3.2

Parameters

const TDesC & aValue new descriptor

operator==(const CCenRepDatabaseProperty &)

IMPORT_C TBool operator== ( const CCenRepDatabaseProperty & aProperty ) const

Compares data of this property to another.

Since
S60 V3.2

Parameters

const CCenRepDatabaseProperty & aProperty property to be compared

Member Data Documentation

TUint32 iPropertyName

TUint32 iPropertyName [private]

Name of property

RBuf iPropertyValue

RBuf iPropertyValue [private]

Descriptor of property value Own.