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 TIntConfigurationUid()const
Gets value of the iConfigurationUid member
Since
S60 5.0

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalizes ChspsResource-object's member data.

Since
S60 5.0

Parameters

RWriteStream & aStreamis 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 voidInternalizeL(RReadStream &aStream)

Internalizes ChspsResource-object's member data.

Since
S60 5.0

Parameters

RReadStream & aStreamis data read stream given.

Language()

IMPORT_C const TLanguage &Language()const

Gets value of iLanguage data member.

Since
S60 5.0

LockingPolicy()

IMPORT_C ThspsLockingPolicyLockingPolicy()const

Gets value of iLockingPolicy data member.

Since
S60 5.0

MimeType()

IMPORT_C TDataTypeMimeType()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 ThspsResourceTypeResourceType()const

Gets value of iResourceType data member.

Since
S60 5.0

SetConfigurationUid(const TInt)

IMPORT_C voidSetConfigurationUid(const TIntaConfUid)
Sets value of the iConfigurationUid member
Since
S60 5.0

Parameters

const TInt aConfUidConfiguration UID

SetFileNameL(const TDesC &)

IMPORT_C voidSetFileNameL(const TDesC &aFileName)

Sets value of iFileName data member.

Since
S60 5.0

Parameters

const TDesC & aFileNameis new iFileName value.

SetLanguage(const TLanguage &)

IMPORT_C voidSetLanguage(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 & aLanguageis new value of iLanguage data member.

SetLockingPolicy(ThspsLockingPolicy)

IMPORT_C voidSetLockingPolicy(ThspsLockingPolicyaLockingPolicy)

Sets value of iLockingPolicy data member.

Since
S60 5.0

Parameters

ThspsLockingPolicy aLockingPolicyis new value for iLockingPolicy data member.

SetMimeTypeL(const TDataType)

IMPORT_C voidSetMimeTypeL(const TDataTypeaDataType)

Sets value of iMimeType data member.

Since
S60 5.0

Parameters

const TDataType aDataTypeis a new value of iMimeType.

SetResourceIdL(const TDesC &)

IMPORT_C voidSetResourceIdL(const TDesC &aResourceId)

Sets value of iResourceId data member.

Since
S60 5.0

Parameters

const TDesC & aResourceIdis new value of iResourceId data member.

SetResourceType(ThspsResourceType)

IMPORT_C voidSetResourceType(ThspsResourceTypeaResourceType)

Sets value of iResourceType data member.

Since
S60 5.0

Parameters

ThspsResourceType aResourceTypeis new value of iResourceType data member.

SetTagsL(const TDesC &)

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

Parameters

const TDesC & aTagTags

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]