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 TUint Att ( ) const

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

ConstructL()

void ConstructL ( ) [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 TTime Modified ( ) 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 void ResetAttFlags ( TUint aFlags )

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

Parameters

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

SetAtt(TUint)

IMPORT_C void SetAtt ( TUint aAtt )

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

Parameters

TUint aAtt attribute bits

SetAttFlags(TUint)

IMPORT_C void SetAttFlags ( TUint aFlags )

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

Parameters

TUint aFlags attribute bits

SetETagL(const TDesC8 &)

IMPORT_C void SetETagL ( const TDesC8 & aETag )

Sets the ETag type

Parameters

const TDesC8 & aETag ETag type string

SetMimeTypeL(const TDesC8 &)

IMPORT_C void SetMimeTypeL ( const TDesC8 & aMimeType )

Sets the MIME type

Parameters

const TDesC8 & aMimeType MIME type string

SetModified(const TTime &)

IMPORT_C void SetModified ( const TTime & aModified )

Sets the last modified time of the filesystem object

Parameters

const TTime & aModified last modified time

SetSize(TInt)

IMPORT_C void SetSize ( TInt aSize )

Sets the size of the filesystem object

Parameters

TInt aSize size in bytes

SetStringValueL(TInt, const TDesC8 &)

IMPORT_C void SetStringValueL ( TInt aIndex,
const TDesC8 & aString
)

Sets a string value at the given index

Parameters

TInt aIndex index
const TDesC8 & aString

SetUid(TUid)

IMPORT_C void SetUid ( TUid aUid )

Sets the UID3 time of the filesystem object

Parameters

TUid aUid UID value

Size()

IMPORT_C TInt Size ( ) const

Returns the size of the filesystem object

StringValue(TInt)

IMPORT_C const TDesC8 * StringValue ( TInt aIndex ) const

Returns a string value at the given index

Parameters

TInt aIndex index

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]