ChspsResource Class Reference

class ChspsResource : public CBase

ChspsResource is HSPS-utility class defining resource-structure.

hspsResource.lib
Since
S60 5.0

Inherits from

Constructor & Destructor Documentation

ChspsResource()

ChspsResource ( ) [private]

C++ default constructor.

~ChspsResource()

~ChspsResource ( ) [virtual]

Destructor.

Member Functions Documentation

CloneL()

IMPORT_C ChspsResource * CloneL ( )

Makes a clone of this class.

Since
S60 5.0

ConfigurationUid()

IMPORT_C TInt ConfigurationUid ( ) const
Gets value of the iConfigurationUid member
Since
S60 5.0

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Externalizes ChspsResource-object's member data.

Since
S60 5.0

Parameters

RWriteStream & aStream is a write stream given.

FileName()

IMPORT_C const TDesC & FileName ( ) const

Gets value of iFileName data member.

Since
S60 5.0

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Internalizes ChspsResource-object's member data.

Since
S60 5.0

Parameters

RReadStream & aStream is data read stream given.

Language()

IMPORT_C const TLanguage & Language ( ) const

Gets value of iLanguage data member.

Since
S60 5.0

LockingPolicy()

IMPORT_C ThspsLockingPolicy LockingPolicy ( ) const

Gets value of iLockingPolicy data member.

Since
S60 5.0

MimeType()

IMPORT_C TDataType MimeType ( ) const

Get iMimeType of this ChspsResource-object.

Since
S60 5.0

NewL()

IMPORT_C ChspsResource * NewL ( ) [static]

Two-phased constructor.

Since
S60 5.0

ResourceId()

IMPORT_C const TDesC & ResourceId ( ) const

Gets value of iResourceId data member.

Since
S60 5.0

ResourceType()

IMPORT_C ThspsResourceType ResourceType ( ) const

Gets value of iResourceType data member.

Since
S60 5.0

SetConfigurationUid(const TInt)

IMPORT_C void SetConfigurationUid ( const TInt aConfUid )
Sets value of the iConfigurationUid member
Since
S60 5.0

Parameters

const TInt aConfUid Configuration UID

SetFileNameL(const TDesC &)

IMPORT_C void SetFileNameL ( const TDesC & aFileName )

Sets value of iFileName data member.

Since
S60 5.0

Parameters

const TDesC & aFileName is new iFileName value.

SetLanguage(const TLanguage &)

IMPORT_C void SetLanguage ( const TLanguage & aLanguage )

Set to ELangNone if the resource is common to all locales, otherwise it's language specific.

Since
S60 5.0

Parameters

const TLanguage & aLanguage is new value of iLanguage data member.

SetLockingPolicy(ThspsLockingPolicy)

IMPORT_C void SetLockingPolicy ( ThspsLockingPolicy aLockingPolicy )

Sets value of iLockingPolicy data member.

Since
S60 5.0

Parameters

ThspsLockingPolicy aLockingPolicy is new value for iLockingPolicy data member.

SetMimeTypeL(const TDataType)

IMPORT_C void SetMimeTypeL ( const TDataType aDataType )

Sets value of iMimeType data member.

Since
S60 5.0

Parameters

const TDataType aDataType is a new value of iMimeType.

SetResourceIdL(const TDesC &)

IMPORT_C void SetResourceIdL ( const TDesC & aResourceId )

Sets value of iResourceId data member.

Since
S60 5.0

Parameters

const TDesC & aResourceId is new value of iResourceId data member.

SetResourceType(ThspsResourceType)

IMPORT_C void SetResourceType ( ThspsResourceType aResourceType )

Sets value of iResourceType data member.

Since
S60 5.0

Parameters

ThspsResourceType aResourceType is new value of iResourceType data member.

SetTagsL(const TDesC &)

IMPORT_C void SetTagsL ( const TDesC & aTag )
Sets value of the iTags member
Since
S60 5.0

Parameters

const TDesC & aTag Tags

Tags()

IMPORT_C const TDesC & Tags ( ) const
Gets value of the iTags member
Since
S60 5.0

Member Data Documentation

TInt iConfigurationUid

TInt iConfigurationUid [private]

HBufC * iFileName

HBufC * iFileName [private]

TLanguage iLanguage

TLanguage iLanguage [private]

ThspsLockingPolicy iLockingPolicy

ThspsLockingPolicy iLockingPolicy [private]

TDataType iMimeType

TDataType iMimeType [private]

TAny * iReserved

TAny * iReserved [private]

HBufC * iResourceID

HBufC * iResourceID [private]

ThspsResourceType iResourceType

ThspsResourceType iResourceType [private]

HBufC * iTags

HBufC * iTags [private]