CPropertyList Class Reference

class CPropertyList : public CRepositoryAccessor

The database holds a set of registered custom properties. Each folder, bookmark and the database itself has a list of custom property values. This class represents one of these lists of values.

Inherits from

Public Member Functions
~CPropertyList()
TInt GetCustomProperty(TUid, TInt &)
TInt GetCustomProperty(TUid, TReal &)
TInt GetCustomProperty(TUid, TDes &)
TInt GetCustomProperty(TUid, TDes8 &)
TUint32 IndexBase()
CPropertyList *NewL(CRepository &, CPropertyReg &, CPropertyReg::TPropertyGroup, TUint32)
voidReset()
voidSetCustomPropertyL(TUid, TInt)
voidSetCustomPropertyL(TUid, TReal)
voidSetCustomPropertyL(TUid, const TDesC &)
voidSetCustomPropertyL(TUid, const TDesC8 &)
voidSetIdFromIndexBase(TUint32)
voidTransLoadL()
voidTransNewL()
voidTransRemoveL()
voidTransSaveL()
Private Member Functions
CPropertyList(CRepository &, CPropertyReg &, CPropertyReg::TPropertyGroup, TUint32)
voidConstructL()
TInt PropertyIndex(TUid, Bookmark::TPropertyType)
voidUpdateValueListItemL(TInt, Bookmark::TPropertyType, const TAny *)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CRepositoryAccessor::CRepositoryAccessor()
CRepositoryAccessor::CommitL()
CRepositoryAccessor::DeleteL()
CRepositoryAccessor::NextIndexL()
CRepositoryAccessor::SetClean()
CRepositoryAccessor::SetDirty()
CRepositoryAccessor::SetRepository(CRepository &)
CRepositoryAccessor::TransactionL(TTransType)
Inherited Enumerations
CRepositoryAccessor:TBkmrkStatus
CRepositoryAccessor:TTransType
Private Attributes
CPropertyReg::TPropertyGroup iGroup
TUint32 iIndexBase
CPropertyReg &iPropertyRegister
TCustomPropertyList iPropertyValues
Inherited Attributes
CRepositoryAccessor::iRepository
CRepositoryAccessor::iStatus

Constructor & Destructor Documentation

CPropertyList(CRepository &, CPropertyReg &, CPropertyReg::TPropertyGroup, TUint32)

CPropertyList(CRepository &aRepository,
CPropertyReg &aPropertyRegister,
CPropertyReg::TPropertyGroupaGroup,
TUint32aIndexBase
)[private]

Parameters

CRepository & aRepository
CPropertyReg & aPropertyRegister
CPropertyReg::TPropertyGroup aGroup
TUint32 aIndexBase

~CPropertyList()

~CPropertyList()

Member Functions Documentation

ConstructL()

voidConstructL()[private]

GetCustomProperty(TUid, TInt &)

TInt GetCustomProperty(TUidaPropertyId,
TInt &aValue
)const

Parameters

TUid aPropertyId
TInt & aValue

GetCustomProperty(TUid, TReal &)

TInt GetCustomProperty(TUidaPropertyId,
TReal &aValue
)const

Parameters

TUid aPropertyId
TReal & aValue

GetCustomProperty(TUid, TDes &)

TInt GetCustomProperty(TUidaPropertyId,
TDes &aValue
)const

Parameters

TUid aPropertyId
TDes & aValue

GetCustomProperty(TUid, TDes8 &)

TInt GetCustomProperty(TUidaPropertyId,
TDes8 &aValue
)const

Parameters

TUid aPropertyId
TDes8 & aValue

IndexBase()

TUint32 IndexBase()[virtual]

NewL(CRepository &, CPropertyReg &, CPropertyReg::TPropertyGroup, TUint32)

CPropertyList *NewL(CRepository &aRepository,
CPropertyReg &aPropertyRegister,
CPropertyReg::TPropertyGroupaGroup,
TUint32aIndexBase
)[static]

Parameters

CRepository & aRepository
CPropertyReg & aPropertyRegister
CPropertyReg::TPropertyGroup aGroup
TUint32 aIndexBase

PropertyIndex(TUid, Bookmark::TPropertyType)

TInt PropertyIndex(TUidaPropertyId,
Bookmark::TPropertyTypeaType
)const [private]

Parameters

TUid aPropertyId
Bookmark::TPropertyType aType

Reset()

voidReset()

SetCustomPropertyL(TUid, TInt)

voidSetCustomPropertyL(TUidaPropertyId,
TIntaValue
)

Parameters

TUid aPropertyId
TInt aValue

SetCustomPropertyL(TUid, TReal)

voidSetCustomPropertyL(TUidaPropertyId,
TRealaValue
)

Parameters

TUid aPropertyId
TReal aValue

SetCustomPropertyL(TUid, const TDesC &)

voidSetCustomPropertyL(TUidaPropertyId,
const TDesC &aValue
)

Parameters

TUid aPropertyId
const TDesC & aValue

SetCustomPropertyL(TUid, const TDesC8 &)

voidSetCustomPropertyL(TUidaPropertyId,
const TDesC8 &aValue
)

Parameters

TUid aPropertyId
const TDesC8 & aValue

SetIdFromIndexBase(TUint32)

voidSetIdFromIndexBase(TUint32aIndexBase)[virtual]

Parameters

TUint32 aIndexBase

TransLoadL()

voidTransLoadL()[virtual]

TransNewL()

voidTransNewL()[virtual]

TransRemoveL()

voidTransRemoveL()[virtual]

TransSaveL()

voidTransSaveL()[virtual]

UpdateValueListItemL(TInt, Bookmark::TPropertyType, const TAny *)

voidUpdateValueListItemL(TIntaIndex,
Bookmark::TPropertyTypeaType,
const TAny *aValue
)[private]

Parameters

TInt aIndex
Bookmark::TPropertyType aType
const TAny * aValue

Member Data Documentation

CPropertyReg::TPropertyGroup iGroup

CPropertyReg::TPropertyGroup iGroup[private]

TUint32 iIndexBase

TUint32 iIndexBase[private]

CPropertyReg & iPropertyRegister

CPropertyReg &iPropertyRegister[private]

TCustomPropertyList iPropertyValues

TCustomPropertyList iPropertyValues[private]