#include <DAMDBDES.H>
Link against:
damodl.lib
This item is not part of the S60 5th Edition SDK
Interface status: |
deprecated |
|
class CDaUserDbDesc : public CBase;
Description
Database application engine helper.
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CDaUserDbDesc
- Database application engine helper.
Members
Defined in CDaUserDbDesc
:
Inherited from CBase
:
Construction and destruction
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
IMPORT_C static CDaUserDbDesc* NewL(CDaModel *aModel);
Description
Allocates and constructs a new database application engine helper.
Parameters
CDaModel *aModel |
Database application engine
|
|
Return value
NewL(const TFileName &,CDaUserColSet *,CDaModel *)
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
IMPORT_C static CDaUserDbDesc* NewL(const TFileName &aTableName, CDaUserColSet *aColSet, CDaModel *aModel);
Description
Allocates and constructs a new database application engine helper.
Parameters
const TBuf &aTableName |
Database table name
|
CDaUserColSet *aColSet |
Database application column set
|
CDaModel *aModel |
Database application engine
|
|
Return value
ExternalizeL(RWriteStream &)const
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
IMPORT_C void ExternalizeL(RWriteStream &aSink) const;
Description
Externalises the object's settings to a stream.
Parameters
InternalizeL(RReadStream &)
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
IMPORT_C void InternalizeL(RReadStream &aSource);
Description
Internalises the object's settings from a stream.
Parameters
CopyColSetL(const CDaUserColSet &)
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
IMPORT_C void CopyColSetL(const CDaUserColSet &aColSet);
Description
Sets the column definition set.
Parameters
SetDbColNo(const CDbColSet &)
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
inline void SetDbColNo(const CDbColSet &aColSet);
Description
Sets column numbers from a specified column set.
Parameters
TableName(const TFileName &)
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
inline void TableName(const TFileName &aTableName);
Description
Gets the table name.
Parameters
const TBuf &aTableName |
Table name
|
|
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
inline void SetReserveL(TInt aCount);
Description
Reserves space for columns to be added in future.
This ensures that out of memory errors will not occur when the columns are added.
Parameters
TInt aCount |
Number of columns to reserve space for
|
|
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
inline TInt ColumnCount() const;
Description
Gets the number of columns.
Return value
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
inline const TDaUserCol& Col(TDbColNo aColNo) const;
Description
Gets a column specified by number.
Parameters
Return value
Col(const TDbColName &)const
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
IMPORT_C const TDaUserCol& Col(const TDbColName &aUserColName) const;
Description
Gets a column specified by name.
Parameters
const TBuf &aUserColName |
Column number to get
|
|
Return value
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
IMPORT_C TDbColNo ColNoFromUId(TInt aUId) const;
Description
Gets a column specified by UID.
Parameters
Return value
UserColNo(const TDbColName &)const
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
IMPORT_C TDbColNo UserColNo(const TDbColName &aUserColName) const;
Description
Gets a column number for a named column.
Parameters
const TBuf &aUserColName |
Column name
|
|
Return value
DbColNo(TDbColNo,const CDbColSet *)const
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
IMPORT_C TDbColNo DbColNo(TDbColNo aUserColNo, const CDbColSet *aDbColSet) const;
Description
Gets the user column number of a specified column in a column definition set.
! only works for single table database
Parameters
Return value
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
inline const TDbColName ColName(TDbColNo aUserColNo) const;
Description
Gets the column name for a specified column number.
Parameters
Return value
DbColName(const TDbColName &)const
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
IMPORT_C TDbColName DbColName(const TDbColName &aUserColName) const;
Description
Gets a generated UID column name for a specified column.
Parameters
const TBuf &aUserColName |
Column
|
|
Return value
TBuf
|
Generated UID column name
|
|
DbColNameFromUId(TInt)const
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
IMPORT_C TDbColName DbColNameFromUId(TInt aUid) const;
Description
Gets a generated UID column name.
Parameters
Return value
TBuf
|
Generated UID column name
|
|
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
inline const TFileName& TableName() const;
Description
Gets the table name (const overload).
Return value
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
inline const CDaUserColSet& ColSet() const;
Description
Gets the column set.
Return value
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
IMPORT_C TInt UId(TDbColNo aUserColNo) const;
Description
Gets the UID field for a column specified by number.
Parameters
Return value
See also:
Interface status: |
deprecated |
Inherited from: CDaUserDbDesc |
IMPORT_C TInt UId(const TDesC &aColName) const;
Description
Gets the UID field for a column specified by name.
Parameters
const TDesC16 &aColName |
Column name
|
|
Return value
See also: