CxSPViewData Class Reference

class CxSPViewData : public CBase

Inherits from

Constructor & Destructor Documentation

CxSPViewData()

CxSPViewData ( ) [private]

~CxSPViewData()

~CxSPViewData ( )

Destructor.

Member Functions Documentation

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aBuf ) [private]

Parameters

const TDesC8 & aBuf

EComId()

IMPORT_C TUint32 EComId ( ) const

Returns ECom Id. 0 if not set.

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const [private]

Parameters

RWriteStream & aStream

IconFile()

IMPORT_C const TDesC & IconFile ( ) const

Returns icon file. KNullDesC if not set.

IconId()

IMPORT_C TInt32 IconId ( ) const

Returns icon Id. KErrNotFound if not set.

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & aStream ) [private]

Parameters

RReadStream & aStream

MaskId()

IMPORT_C TInt32 MaskId ( ) const

Returns mask Id. KErrNotFound if not set.

NewL()

IMPORT_C CxSPViewData * NewL ( ) [static]

Creates a new instace of this class.

NewL(const TDesC8 &)

IMPORT_C CxSPViewData * NewL ( const TDesC8 & aBuf ) [static]

Creates a new instace of this class initialized from a buffer. CxSPViewData::PackL for constructing the buffer.

Parameters

const TDesC8 & aBuf Buffer to initialize this instance from.

OriginalViewId()

IMPORT_C TInt32 OriginalViewId ( ) const

Returns original view Id. KErrNotFound if not set.

PackL()

IMPORT_C HBufC8 * PackL ( ) const

Packages and returns this object in a buffer. Caller is responsible for deleting the buffer.

Reset()

IMPORT_C void Reset ( )

Reset data to an empty state.

SetEComId(TUint32)

IMPORT_C void SetEComId ( TUint32 aEComId )

Sets ECom Id.

Parameters

TUint32 aEComId The ECom Id to set.

SetIconFileL(const TDesC &)

IMPORT_C void SetIconFileL ( const TDesC & aIconFile )

Sets icon file.

Parameters

const TDesC & aIconFile The icon file to set.

SetIconId(TInt32)

IMPORT_C void SetIconId ( TInt32 aIconId )

Sets icon Id.

Parameters

TInt32 aIconId The icon Id to set.

SetMaskId(TInt32)

IMPORT_C void SetMaskId ( TInt32 aMaskId )

Sets mask Id.

Parameters

TInt32 aMaskId The mask Id to set.

SetOriginalViewId(TInt32)

IMPORT_C void SetOriginalViewId ( TInt32 aOriginalViewId )

Sets original view Id.

Parameters

TInt32 aOriginalViewId The original view Id to set.

SetViewNameL(const TDesC &)

IMPORT_C void SetViewNameL ( const TDesC & aViewName )

Sets view name.

Parameters

const TDesC & aViewName The view name to set.

UnpackL(const TDesC8 &)

IMPORT_C void UnpackL ( const TDesC8 & aPack )

Sets this view data from given packaged buffer.

Parameters

const TDesC8 & aPack Packaged view data buffer.

ViewName()

IMPORT_C const TDesC & ViewName ( ) const

Returns view name. KNullDesC if not set.

Member Data Documentation

TUint32 iEComId

TUint32 iEComId [private]

HBufC * iIconFile

HBufC * iIconFile [private]

TInt32 iIconId

TInt32 iIconId [private]

TInt32 iMaskId

TInt32 iMaskId [private]

TInt32 iOriginalViewId

TInt32 iOriginalViewId [private]

HBufC * iViewName

HBufC * iViewName [private]