CPsClientData Class Reference

class CPsClientData : public CBase

This is a client side class to hold the results of search

PsServerClientAPI.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CPsClientData()

CPsClientData()[private]

Default Constructor

~CPsClientData()

IMPORT_C~CPsClientData()

Destructor

Member Functions Documentation

CloneL()

IMPORT_C CPsClientData *CloneL()const

Makes a clone of the current object

ConstructL()

voidConstructL()[private]

Second phase constructor

ConstructL(const CPsClientData &)

voidConstructL(const CPsClientData &aRhs)[private]

Second phase constructor

Parameters

const CPsClientData & aRhs

Data(TInt)

IMPORT_C HBufC *Data(TIntaIndex)const

Pointer to the data element at the specified location

Parameters

TInt aIndexIndex of data element

DataElementCount()

IMPORT_C TIntDataElementCount()const

Returns the number of data elements

DataExtension()

IMPORT_C TAny *DataExtension()const

Returns the data extension

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const [virtual]

Writes 'this' to the stream

Parameters

RWriteStream & aStreamWriteStream with externalized contents

FieldMatch()

IMPORT_C TUint8FieldMatch()const

Returns the Field match attribute

Id()

IMPORT_C TIntId()const

Provides the unique identifier of this object

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)[virtual]

Initializes 'this' from stream

Parameters

RReadStream & aStreamReadStream with data contents to be internalized

IsMarked()

IMPORT_C TBoolIsMarked()const

Returns ETrue if the contact is bookmarked, else EFalse

NewL()

IMPORT_C CPsClientData *NewL()[static]

Two phase construction

SetDataExtensionL(TAny *)

IMPORT_C voidSetDataExtensionL(TAny *aDataExt)

Set the data extension

Parameters

TAny * aDataExtData Extension for this object

SetDataL(const TInt, const TDesC &)

IMPORT_C voidSetDataL(const TIntaIndex,
const TDesC &aData
)

Sets the data at the specified location

Parameters

const TInt aIndexIndex of data element
const TDesC & aDataData descriptor to be searched

SetFieldMatch(TUint8)

IMPORT_C voidSetFieldMatch(TUint8aFieldMatch)

Sets FieldMatch attribute

Parameters

TUint8 aFieldMatch

SetId(const TInt)

IMPORT_C voidSetId(const TIntaId)

Sets the unique identifier of this object

Parameters

const TInt aIdThe unique identifier

SetMark()

IMPORT_C voidSetMark()

Sets the contact as bookmarked

SetUriL(const TDesC &)

IMPORT_C voidSetUriL(const TDesC &aUri)

Sets the unique URI of this object

Parameters

const TDesC & aUriThe unique URI

Uri()

IMPORT_C HBufC *Uri()const

Provides the URI of this object

Member Data Documentation

RPointerArray< HBufC > * iData

RPointerArray< HBufC > *iData[private]

Data fields

TAny * iDataExtension

TAny *iDataExtension[private]

Extended Data field

TUint8 iFiledMatches

TUint8 iFiledMatches[private]

Indicates in bit positions, what data fields are matched for predictive search

TInt iId

TInt iId[private]

Unique id

TBool iMarked

TBool iMarked[private]

Field to indicate if a contact is bookmarked or not

HBufC * iUri

HBufC *iUri[private]

URI. Indicates the data source.