Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <DAMDBDES.H>
Link against: damodl.lib
This item is not part of the S60 5th Edition SDK

Class CDaUserColSet

Interface status: deprecated

class CDaUserColSet : public CBase;

Description

Defines a set of columns that are suitable for displaying to the application's user.

Derivation

Members

Defined in CDaUserColSet:

Inherited from CBase:


Construction and destruction


NewL()

Interface status: deprecated Inherited from: CDaUserColSet

IMPORT_C static CDaUserColSet* NewL();

Description

Allocates and constructs a new database application column set.

Return value

CDaUserColSet *

New database application column set


~CDaUserColSet()

Interface status: deprecated Inherited from: CDaUserColSet

IMPORT_C ~CDaUserColSet();

Description

Destructor.

[Top]


Member functions


New()

Interface status: deprecated Inherited from: CDaUserColSet

IMPORT_C static CDaUserColSet* New();

Description

Return value

CDaUserColSet *


CloneL()const

Interface status: deprecated Inherited from: CDaUserColSet

IMPORT_C CDaUserColSet* CloneL() const;

Description

Allocates and constructs a new database application column set as a copy of the current object.

Return value

CDaUserColSet *

New database application column set


operator[](TDbColNo)const

Interface status: deprecated Inherited from: CDaUserColSet

inline const TDaUserCol& operator[](TDbColNo aCol) const;

Description

Gets a column by index (const overload).

Parameters

TDbColNo aCol

Column number

Return value

const TDaUserCol &

Column


operator[](TDbColNo)

Interface status: deprecated Inherited from: CDaUserColSet

inline TDaUserCol& operator[](TDbColNo aCol);

Description

Gets a column by index.

Parameters

TDbColNo aCol

Column number

Return value

TDaUserCol &

Column


Col(const TDesC &)const

Interface status: deprecated Inherited from: CDaUserColSet

IMPORT_C const TDaUserCol* Col(const TDesC &aColName) const;

Description

Gets a column by name.

Parameters

const TDesC16 &aColName

Column name

Return value

const TDaUserCol *

Column


ColNo(const TDesC &)const

Interface status: deprecated Inherited from: CDaUserColSet

IMPORT_C TDbColNo ColNo(const TDesC &aColName) const;

Description

Gets the number of a named column.

Parameters

const TDesC16 &aColName

Column name

Return value

TDbColNo

Column number


IncColNo()

Interface status: deprecated Inherited from: CDaUserColSet

inline TDbColNo IncColNo();

Description

Increments the maximum column number.

Return value

TDbColNo

Maximum column number


MaxColNo()const

Interface status: deprecated Inherited from: CDaUserColSet

inline TDbColNo MaxColNo() const;

Description

Gets the maximum column number.

Return value

TDbColNo

Maximum column number


Count()const

Interface status: deprecated Inherited from: CDaUserColSet

inline TInt Count() const;

Description

Gets the number of columns.

Return value

TInt

Number of columns


ColNoFromUId(TInt)const

Interface status: deprecated Inherited from: CDaUserColSet

IMPORT_C TInt ColNoFromUId(TInt aUId) const;

Description

Gets the column number for a column with the specified UID field.

Parameters

TInt aUId

UID field

Return value

TInt

Column number


Clear()

Interface status: deprecated Inherited from: CDaUserColSet

inline void Clear();

Description

Resets the column set.


Remove(const TDesC &)

Interface status: deprecated Inherited from: CDaUserColSet

IMPORT_C void Remove(const TDesC &aColName);

Description

Removes a specified column.

Parameters

const TDesC16 &aColName

Column name


AddL(const TDaUserCol &)

Interface status: deprecated Inherited from: CDaUserColSet

IMPORT_C CDaUserColSet& AddL(const TDaUserCol &aCol);

Description

Adds a new column.

Parameters

const TDaUserCol &aCol

Column to add

Return value

CDaUserColSet &

New column


MapToCDbColSetL()const

Interface status: deprecated Inherited from: CDaUserColSet

IMPORT_C CDbColSet* MapToCDbColSetL() const;

Description

Constructs a new CDbColSet from the user column set.

Return value

CDbColSet *

The new column set. The caller takes ownership.


ResizeL(TInt)

Interface status: deprecated Inherited from: CDaUserColSet

inline void ResizeL(TInt aCount);

Description

Changes the number of columns in the set.

Parameters

TInt aCount

Number of columns in the set

See also:


SetReserveL(TInt)

Interface status: deprecated Inherited from: CDaUserColSet

inline void SetReserveL(TInt aCount);

Description

Reserves space for the specified number of columns.

Parameters

TInt aCount

Number of columns

See also:

[Top]


Member enumerations


Enum TPanics

Interface status: deprecated

TPanics

Description

EDaInvalidColumn