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()

void ConstructL ( ) [private]

FindByNameL(const TDesC &, TUint32 &)

void FindByNameL ( const TDesC & aColumnName,
TUint32 & aColumnKey
)

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

Since
S60 5.0

Parameters

const TDesC & aColumnName Name of the column.
TUint32 & aColumnKey on return contains the columns key.

GetColumnKeyL(const TDesC &, TBool, TUint32 &)

void GetColumnKeyL ( const TDesC & aAttrName,
TBool aCreateColumnIfNotExist,
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 & aAttrName Column name.
TBool aCreateColumnIfNotExist Should new column be created if it is not found.
TUint32 & aColKey onn 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 &)

void NextFreeSlotL ( TUint32 & aColKey ) [private]

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

Since
S60 5.0

Parameters

TUint32 & aColKey On return contains next free column key.

Member Data Documentation

CRepository & iRepository

CRepository & iRepository [private]

Handle to the Central Repository. Doesnt Own.