CXmppSettingsColumn Class Reference

class CXmppSettingsColumn : public CBase

This class handles columns.

This class contains all methods needed to read and write columns table.

jabbersettings.lib
Since
S60 5.0

Inherits from

Constructor & Destructor Documentation

CXmppSettingsColumn(CRepository &)

CXmppSettingsColumn(CRepository &aRepository)[private]

Default Contructor

Parameters

CRepository & aRepository

~CXmppSettingsColumn()

~CXmppSettingsColumn()[virtual]

Destructor

Member Functions Documentation

ConstructL()

voidConstructL()[private]

FindByNameL(const TDesC &, TUint32 &)

voidFindByNameL(const TDesC &aColumnName,
TUint32 &aColumnKey
)

Tries to find columns key by it is name (value).

Since
S60 5.0

Parameters

const TDesC & aColumnNameName of the column.
TUint32 & aColumnKeyon return contains the columns key.

GetColumnKeyL(const TDesC &, TBool, TUint32 &)

voidGetColumnKeyL(const TDesC &aAttrName,
TBoolaCreateColumnIfNotExist,
TUint32 &aColKey
)

This method checks that does this column exist. If it does not, it creates it (if requested. Otherwise it leaves.

Since
S60 5.0

Parameters

const TDesC & aAttrNameColumn name.
TBool aCreateColumnIfNotExistShould new column be created if it is not found.
TUint32 & aColKeyonn return contains the key of the column.

NewL(CRepository &)

CXmppSettingsColumn *NewL(CRepository &aRepository)[static]

Two-phased constructor.

Parameters

CRepository & aRepository

NewLC(CRepository &)

CXmppSettingsColumn *NewLC(CRepository &aRepository)[static]

Parameters

CRepository & aRepository

NextFreeSlotL(TUint32 &)

voidNextFreeSlotL(TUint32 &aColKey)[private]

This method resolves next free key to be used as column key.

Since
S60 5.0

Parameters

TUint32 & aColKeyOn return contains next free column key.

Member Data Documentation

CRepository & iRepository

CRepository &iRepository[private]

Handle to the Central Repository. Doesnt Own.