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 *)

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

Parameters

const TDesC8 & aName
CRsfwDirEntAttr * aAttr

ConstructL(const TDesC &, CRsfwDirEntAttr *)

void ConstructL ( 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 void GetName ( TDes & aName ) const

Gets the name of the filesystem object

Parameters

TDes & aName name

GetName(TDes8 &)

IMPORT_C void GetName ( TDes8 & aName ) const

Gets the name of the filesystem object

Parameters

TDes8 & aName name

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 & aName name of the entry
CRsfwDirEntAttr * aAttr attributes - 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 & aName name of the entry
CRsfwDirEntAttr * aAttr attributes - 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 & aName name of the entry
CRsfwDirEntAttr * aAttr attributes - 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 & aName name of the entry
CRsfwDirEntAttr * aAttr attributes - 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 void SetAttrL ( 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 void SetNameL ( const TDesC & aName )

Sets the name of the filesystem object

Parameters

const TDesC & aName name

SetNameL(const TDesC8 &)

IMPORT_C void SetNameL ( const TDesC8 & aName )

Sets the name of the filesystem object

Parameters

const TDesC8 & aName name

Member Data Documentation

CRsfwDirEntAttr * iAttr

CRsfwDirEntAttr * iAttr [private]

HBufC * iName

HBufC * iName [private]

TBool iNotOwnAttr

TBool iNotOwnAttr [private]