CRsfwDirEntAttr Class Reference

class CRsfwDirEntAttr : public CBase

Filesystem object attribute container The attribute setting operations on this class do not affect any external objects - only the internal state of the object will be changed. Similarily, attribute getting operations only reflect the state of the object.

rsfwcommon.lib
Since
Series 60 3.1

Inherits from

Constructor & Destructor Documentation

CRsfwDirEntAttr()

CRsfwDirEntAttr()

~CRsfwDirEntAttr()

IMPORT_C~CRsfwDirEntAttr()

Member Functions Documentation

Att()

IMPORT_C TUintAtt()const

Gets file or directory attribute bits (for SymbianOS standard bit definitions, see f32file.h)

ConstructL()

voidConstructL()[private]

ETag()

IMPORT_C const TDesC8 *ETag()const

Gets the ETag

MimeType()

IMPORT_C const TDesC8 *MimeType()const

Gets the MIME type

Modified()

IMPORT_C TTimeModified()const

Returns the last modified time of the filesystem object

NewL()

IMPORT_C CRsfwDirEntAttr *NewL()[static]

Two-phased constructor. The attribute values are zeroed

NewLC()

IMPORT_C CRsfwDirEntAttr *NewLC()[static]

Two-phased constructor

ResetAttFlags(TUint)

IMPORT_C voidResetAttFlags(TUintaFlags)

Resets the given file or directory attribute bits to 0 (for SymbianOS standard bit definitions, see f32file.h)

Parameters

TUint aFlagsattribute bits (those bits are cleared that are set in aFlags)

SetAtt(TUint)

IMPORT_C voidSetAtt(TUintaAtt)

Sets file or directory attribute bits (for SymbianOS standard bit definitions, see f32file.h)

Parameters

TUint aAttattribute bits

SetAttFlags(TUint)

IMPORT_C voidSetAttFlags(TUintaFlags)

Sets the given file or directory attribute bits to 1 (for SymbianOS standard bit definitions, see f32file.h)

Parameters

TUint aFlagsattribute bits

SetETagL(const TDesC8 &)

IMPORT_C voidSetETagL(const TDesC8 &aETag)

Sets the ETag type

Parameters

const TDesC8 & aETagETag type string

SetMimeTypeL(const TDesC8 &)

IMPORT_C voidSetMimeTypeL(const TDesC8 &aMimeType)

Sets the MIME type

Parameters

const TDesC8 & aMimeTypeMIME type string

SetModified(const TTime &)

IMPORT_C voidSetModified(const TTime &aModified)

Sets the last modified time of the filesystem object

Parameters

const TTime & aModifiedlast modified time

SetSize(TInt)

IMPORT_C voidSetSize(TIntaSize)

Sets the size of the filesystem object

Parameters

TInt aSizesize in bytes

SetStringValueL(TInt, const TDesC8 &)

IMPORT_C voidSetStringValueL(TIntaIndex,
const TDesC8 &aString
)

Sets a string value at the given index

Parameters

TInt aIndexindex
const TDesC8 & aString

SetUid(TUid)

IMPORT_C voidSetUid(TUidaUid)

Sets the UID3 time of the filesystem object

Parameters

TUid aUidUID value

Size()

IMPORT_C TIntSize()const

Returns the size of the filesystem object

StringValue(TInt)

IMPORT_C const TDesC8 *StringValue(TIntaIndex)const

Returns a string value at the given index

Parameters

TInt aIndexindex

Uid()

IMPORT_C const TUid &Uid()

Returns the UID3 of the filesystem object

Member Enumerations Documentation

Enum TDirEntAttrString

Enumerators

EDirEntAttrStringMimeType = 0
EDirEntAttrStringETag
EDirEntAttrStringReserved
EDirEntAttrStringCount

Member Data Documentation

TUint iAtt

TUint iAtt[private]

TTime iModified

TTime iModified[private]

TInt iSize

TInt iSize[private]

HBufC8 * iStringValues

HBufC8 *iStringValues[private]

TUid iUid

TUid iUid[private]