CRsfwDirEnt Class Reference

class CRsfwDirEnt : public CBase

Directory entry container

rsfwcommon.lib
Since
Series 60 3.1

Inherits from

Constructor & Destructor Documentation

CRsfwDirEnt()

CRsfwDirEnt()

~CRsfwDirEnt()

IMPORT_C~CRsfwDirEnt()

Member Functions Documentation

Attr()

IMPORT_C CRsfwDirEntAttr *Attr()const

Returns a pointer to the filesystem object's attributes

Construct8L(const TDesC8 &, CRsfwDirEntAttr *)

voidConstruct8L(const TDesC8 &aName,
CRsfwDirEntAttr *aAttr
)[private]

Parameters

const TDesC8 & aName
CRsfwDirEntAttr * aAttr

ConstructL(const TDesC &, CRsfwDirEntAttr *)

voidConstructL(const TDesC &aName,
CRsfwDirEntAttr *aAttr
)[private]

Parameters

const TDesC & aName
CRsfwDirEntAttr * aAttr

ExtractAttr()

IMPORT_C CRsfwDirEntAttr *ExtractAttr()

Returns a pointer to the filesystem object's attributes The ownership to the attribute object is transferred to the caller

GetName(TDes &)

IMPORT_C voidGetName(TDes &aName)const

Gets the name of the filesystem object

Parameters

TDes & aNamename

GetName(TDes8 &)

IMPORT_C voidGetName(TDes8 &aName)const

Gets the name of the filesystem object

Parameters

TDes8 & aNamename

Name()

IMPORT_C const HBufC *Name()const

Gets the name of the filesystem object

NewL(const TDesC &, CRsfwDirEntAttr *)

IMPORT_C CRsfwDirEnt *NewL(const TDesC &aName,
CRsfwDirEntAttr *aAttr
)[static]

Two-phased constructor.

Parameters

const TDesC & aNamename of the entry
CRsfwDirEntAttr * aAttrattributes - if this parameter is NULL, an attribute object with attribute values set to zero will be created. The entry takes ownership of the attribute object.

NewL(const TDesC8 &, CRsfwDirEntAttr *)

IMPORT_C CRsfwDirEnt *NewL(const TDesC8 &aName,
CRsfwDirEntAttr *aAttr
)[static]

Two-phased constructor.

Parameters

const TDesC8 & aNamename of the entry
CRsfwDirEntAttr * aAttrattributes - if this parameter is NULL, an attribute object with attribute values set to zero will be created. The entry takes ownership of the attribute object.

NewLC(const TDesC &, CRsfwDirEntAttr *)

IMPORT_C CRsfwDirEnt *NewLC(const TDesC &aName,
CRsfwDirEntAttr *aAttr
)[static]

Two-phased constructor

Parameters

const TDesC & aNamename of the entry
CRsfwDirEntAttr * aAttrattributes - if this parameter is NULL, an attribute object with attribute values set to zero will be created. The entry takes ownership of the attribute object.

NewLC(const TDesC8 &, CRsfwDirEntAttr *)

IMPORT_C CRsfwDirEnt *NewLC(const TDesC8 &aName,
CRsfwDirEntAttr *aAttr
)[static]

Two-phased constructor

Parameters

const TDesC8 & aNamename of the entry
CRsfwDirEntAttr * aAttrattributes - if this parameter is NULL, an attribute object with attribute values set to zero will be created. The entry takes ownership of the attribute object.

SetAttrL(CRsfwDirEntAttr *)

IMPORT_C voidSetAttrL(CRsfwDirEntAttr *aAttr)

Sets the attribute object for the directory entry. The pre-existing attribute object is deleted (if owned by the entry). The directory entry gets ownership of the new attribute object. If the aAttr parameter is NULL, an attribute object with default values is created.

Parameters

CRsfwDirEntAttr * aAttr

SetNameL(const TDesC &)

IMPORT_C voidSetNameL(const TDesC &aName)

Sets the name of the filesystem object

Parameters

const TDesC & aNamename

SetNameL(const TDesC8 &)

IMPORT_C voidSetNameL(const TDesC8 &aName)

Sets the name of the filesystem object

Parameters

const TDesC8 & aNamename

Member Data Documentation

CRsfwDirEntAttr * iAttr

CRsfwDirEntAttr *iAttr[private]

HBufC * iName

HBufC *iName[private]

TBool iNotOwnAttr

TBool iNotOwnAttr[private]