»
Symbian OS v9.3 »
Symbian OS reference »
C++ component reference »
Application Engines DAMODEL »
CDaUserColSet
Location:
DAMDBDES.H
Link against: damodl.lib
This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.
class CDaUserColSet : public CBase;
Description
Defines a set of columns that are suitable for displaying to the application's user.
Derivation
CBase
- Base class for all classes to be instantiated on the heap
CDaUserColSet
- Defines a set of columns that are suitable for displaying to the application's user
Members
Defined in CDaUserColSet
:
AddL()
, Clear()
, CloneL()
, Col()
, ColNo()
, ColNoFromUId()
, Count()
, EDaInvalidColumn
, IncColNo()
, MapToCDbColSetL()
, MaxColNo()
, New()
, NewL()
, Remove()
, ResizeL()
, SetReserveL()
, TPanics
, operator[]()
, operator[]()
, ~CDaUserColSet()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Construction and destruction
static IMPORT_C CDaUserColSet *NewL();
Description
Allocates and constructs a new database application column set.
Return value
IMPORT_C ~CDaUserColSet();
Description
Destructor.
static IMPORT_C CDaUserColSet *New();
Description
Return value
IMPORT_C CDaUserColSet *CloneL() const;
Description
Allocates and constructs a new database application column set as a copy of the current object.
Return value
inline const TDaUserCol &operator[](TDbColNo aCol) const;
Description
Gets a column by index (const overload).
Parameters
Return value
inline TDaUserCol &operator[](TDbColNo aCol);
Description
Gets a column by index.
Parameters
Return value
IMPORT_C const TDaUserCol *Col(const TDesC &aColName) const;
Description
Gets a column by name.
Parameters
const TDesC &aColName |
Column name
|
|
Return value
IMPORT_C TDbColNo ColNo(const TDesC &aColName) const;
Description
Gets the number of a named column.
Parameters
const TDesC &aColName |
Column name
|
|
Return value
inline TDbColNo IncColNo();
Description
Increments the maximum column number.
Return value
inline TDbColNo MaxColNo() const;
Description
Gets the maximum column number.
Return value
inline TInt Count() const;
Description
Gets the number of columns.
Return value
IMPORT_C TInt ColNoFromUId(TInt aUId) const;
Description
Gets the column number for a column with the specified UID field.
Parameters
Return value
inline void Clear();
Description
Resets the column set.
IMPORT_C void Remove(const TDesC &aColName);
Description
Removes a specified column.
Parameters
const TDesC &aColName |
Column name
|
|
IMPORT_C CDaUserColSet &AddL(const TDaUserCol &aCol);
Description
Adds a new column.
Parameters
Return value
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.
|
|
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:
inline void SetReserveL(TInt aCount);
Description
Reserves space for the specified number of columns.
Parameters
TInt aCount |
Number of columns
|
|
See also: