Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: damform.h
Link against: damodl.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CDaRow

class CDaRow : public CBase;

Description

A row in a data application model.

Derivation

Members

Defined in CDaRow:
CDaRow(), ConstructL(), EInvalidControl, GetColAsRichTextL(), GetColAsTextL(), MapColNo(), NewL(), RichText(), SetColFromRichTextL(), SetColFromTextL(), SetPictureFactory(), anonymous, ~CDaRow()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


~CDaRow()

IMPORT_C ~CDaRow();

Description

Destructor.


NewL()

static IMPORT_C CDaRow *NewL(CDaModel &aModel);

Description

Allocates and constructs a new row.

Parameters

CDaModel &aModel

Model to which the row relates

Return value

CDaRow *

New row


CDaRow()

protected: IMPORT_C CDaRow(CDaModel &aModel);

Description

Constructor.

Parameters

CDaModel &aModel

Model to which the row relates


ConstructL()

protected: IMPORT_C void ConstructL();

Description

Second phase constructor.

[Top]


Member functions


GetColAsTextL()

IMPORT_C void GetColAsTextL(TDbColNo aUserColNo, CBufBase *aBufBase);

Description

Gets the contents of a specified column in the row.

Parameters

TDbColNo aUserColNo

Column to get

CBufBase *aBufBase

On return, contains the contents


SetColFromTextL()

IMPORT_C void SetColFromTextL(TDbColNo aUserColNo, const TDesC &aFieldBuffer);

Description

Sets the contents of a specified column in the row.

Parameters

TDbColNo aUserColNo

Column to set

const TDesC &aFieldBuffer

Column value


GetColAsRichTextL()

IMPORT_C void GetColAsRichTextL(TDbColNo aUserColNo, CRichText &aRichText);

Description

Gets the contents of a specified column in the row as rich text.

Parameters

TDbColNo aUserColNo

Column to get

CRichText &aRichText

On return, contains the contents


SetColFromRichTextL()

IMPORT_C void SetColFromRichTextL(TDbColNo aUserColNo, CRichText &aRichText);

Description

Sets the contents of a specified column in the row as rich text.

Parameters

TDbColNo aUserColNo

Column to set

CRichText &aRichText

Column value


RichText()

inline CRichText *RichText() const;

Description

Gets the row contents.

Return value

CRichText *

Row contents


SetPictureFactory()

inline void SetPictureFactory(MPictureFactory *aPictureFactory);

Description

Sets a picture factory for the row.

Parameters

MPictureFactory *aPictureFactory

Picture factory


MapColNo()

protected: IMPORT_C TDbColNo MapColNo(TDbColNo aUserColNo);

Description

Converts a user column number to the corresponding column number.

Parameters

TDbColNo aUserColNo

User column number

Return value

TDbColNo

Column number

[Top]


Member enumerations


Enum anonymous

n/a

Description

Constant definition.

EInvalidControl

Unused.