CSearchDocumentId Class Reference

class CSearchDocumentId : public CBase

This class references to a unique document matching the search criteria

searchutilities.lib

Inherits from

Constructor & Destructor Documentation

CSearchDocumentId(TUid)

CSearchDocumentId(TUidaPluginId)[private]

Default Constructor

Parameters

TUid aPluginId

~CSearchDocumentId()

~CSearchDocumentId()[virtual]

Destructor

Member Functions Documentation

ConstructL(const TInt)

voidConstructL(const TIntaDocumentId)[private]

ConstructL function that sets document id and repository ids that are taken as args.

Parameters

const TInt aDocumentId- Document id

ConstructL(const TInt32, const TInt)

voidConstructL(const TInt32aRepositoryId,
const TIntaDocumentId
)[private]

ConstructL function that sets document id and repository ids that are taken as args.

Parameters

const TInt32 aRepositoryId- Repository id
const TInt aDocumentId- Document id

ConstructL(RReadStream &)

voidConstructL(RReadStream &aStream)[private]

ConstructL function that initializes the RepositoryId and DocumentId of the class read from aStream which is passed as an argument

Parameters

RReadStream & aStream- Stream from where to read

DocumentId()

IMPORT_C const TIntDocumentId()const

Getter function for the DocumentId of the CSearchDocumentId

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalizes the CSearchDocumentId class to the stream

Parameters

RWriteStream & aStream- Stream to which to write the class data to

NewL(const TInt, TUid)

IMPORT_C CSearchDocumentId *NewL(const TIntaDocumentId,
TUidaPluginId
)[static]

Two phased constructor

Parameters

const TInt aDocumentId- Document id of the Document
TUid aPluginId- Plugin id of the Document

NewL(const CSearchDocumentId &)

IMPORT_C CSearchDocumentId *NewL(const CSearchDocumentId &aDocumentId)[static]

Two phased constructor

Parameters

const CSearchDocumentId & aDocumentId- CSearchDocument from which the CSearchDocument is to be instantiated

NewL(RReadStream &)

IMPORT_C CSearchDocumentId *NewL(RReadStream &aStream)[static]

Two phased constructor

Parameters

RReadStream & aStream- Stream from which to construct the CSearchDocumentId object

PluginId()

IMPORT_C TUidPluginId()const

Getter function for the pluginId of the CSearchDocumentId

RepositoryId()

IMPORT_C const TInt32RepositoryId()const

Getter function for the RepositoryId of the CSearchDocumentId

SetRepositoryIdL(const TInt32)

IMPORT_C voidSetRepositoryIdL(const TInt32aRepositoryId)

Sets the repository id

Parameters

const TInt32 aRepositoryId

Member Data Documentation

TInt iDocumentId

TInt iDocumentId[private]

Document Id Own

TUid iPluginId

TUid iPluginId[private]

Plugin Id

TInt32 iRepositoryId

TInt32 iRepositoryId[private]

Repository Id